mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 03:17:18 +02:00
This commit is contained in:
parent
cc43754cbc
commit
a7b87a8cb1
4 changed files with 29 additions and 10 deletions
|
@ -33,14 +33,4 @@
|
|||
enable = true;
|
||||
flake = "github:Stunkymonkey/nixos";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-index
|
||||
nix-init
|
||||
nix-prefetch
|
||||
nix-update
|
||||
nixfmt-rfc-style
|
||||
nixpkgs-hammering
|
||||
nixpkgs-review
|
||||
];
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ _: {
|
|||
media.enable = true;
|
||||
meeting.enable = true;
|
||||
nautilus.enable = true;
|
||||
nix.enable = true;
|
||||
powersave.enable = true;
|
||||
printing.enable = true;
|
||||
sway.enable = true;
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
./media
|
||||
./meeting
|
||||
./nautilus
|
||||
./nix
|
||||
./powersave
|
||||
./printing
|
||||
./sway
|
||||
|
|
27
profiles/nix/default.nix
Normal file
27
profiles/nix/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.profiles.nix;
|
||||
in
|
||||
{
|
||||
options.my.profiles.nix = with lib; {
|
||||
enable = mkEnableOption "nix profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-index
|
||||
nix-init
|
||||
nix-prefetch
|
||||
nix-update
|
||||
nixfmt-rfc-style
|
||||
nixpkgs-hammering
|
||||
nixpkgs-review
|
||||
shh
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue