diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,6 +2,8 @@ description = "nipsy's NixOS configuration"; inputs = { + agenix.url = "github:ryantm/agenix"; + disko.url = "github:nix-community/disko"; disko.inputs.nixpkgs.follows = "nixpkgs-unstable"; @@ -21,13 +23,14 @@ nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; }; - outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, ... }: rec { + outputs = inputs@{ agenix, home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, ... }: rec { nixosConfigurations = { darkstar = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; system = "x86_64-linux"; modules = [ ./hosts/darkstar + agenix.nixosModules.default home-manager-unstable.nixosModules.home-manager { home-manager.users.root = import ./home/root/ginaz.nix; home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; @@ -40,11 +43,12 @@ system = "x86_64-linux"; modules = [ ./hosts/ginaz - nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu + agenix.nixosModules.default home-manager-unstable.nixosModules.home-manager { home-manager.users.root = import ./home/root/ginaz.nix; home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } + nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu ]; }; |