Added sops support

This commit is contained in:
FredzyW 2024-04-24 14:52:47 +02:00
parent 52dfd1fbdf
commit 2e06ef806d
8 changed files with 114 additions and 4 deletions

View file

@ -10,6 +10,7 @@
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = "github:fufexan/nix-gaming";
sops-nix.url = "github:Mic92/sops-nix";
# TODO: Add any other flake you might need
# hardware.url = "github:nixos/nixos-hardware";
@ -20,6 +21,7 @@
nixpkgs,
home-manager,
nixpkgs-unstable,
sops-nix,
...
} @ inputs: let
inherit (self) outputs;
@ -39,7 +41,10 @@
inherit inputs outputs;
myhostname = "laptop";
};
modules = [./maskiner/laptop/configuration.nix];
modules = [
./maskiner/laptop/configuration.nix
sops-nix.nixosModules.sops
];
};
desktop = nixpkgs.lib.nixosSystem {
specialArgs = {