profile/nix: init and add shh
Some checks failed
/ Build Nix targets (push) Has been cancelled

This commit is contained in:
Felix Buehler 2025-10-05 17:13:23 +02:00
parent cc43754cbc
commit a7b87a8cb1
4 changed files with 29 additions and 10 deletions

View file

@ -33,14 +33,4 @@
enable = true; enable = true;
flake = "github:Stunkymonkey/nixos"; flake = "github:Stunkymonkey/nixos";
}; };
environment.systemPackages = with pkgs; [
nix-index
nix-init
nix-prefetch
nix-update
nixfmt-rfc-style
nixpkgs-hammering
nixpkgs-review
];
} }

View file

@ -13,6 +13,7 @@ _: {
media.enable = true; media.enable = true;
meeting.enable = true; meeting.enable = true;
nautilus.enable = true; nautilus.enable = true;
nix.enable = true;
powersave.enable = true; powersave.enable = true;
printing.enable = true; printing.enable = true;
sway.enable = true; sway.enable = true;

View file

@ -14,6 +14,7 @@
./media ./media
./meeting ./meeting
./nautilus ./nautilus
./nix
./powersave ./powersave
./printing ./printing
./sway ./sway

27
profiles/nix/default.nix Normal file
View 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
];
};
}