diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 10:17:03 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 10:17:03 -0700 |
commit | 8f8dc7cc9b62ff8965df3faee05e5ff04c622155 (patch) | |
tree | 20c5693c3441f338f01f1aaeb7e0f7d299db2c3f /flake.nix | |
parent | 4df56ba095e0eacfd509238842a4ec5077967407 (diff) | |
download | nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar.gz nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar.bz2 nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar.lz nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar.xz nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.tar.zst nix-8f8dc7cc9b62ff8965df3faee05e5ff04c622155.zip |
Add agenix
Diffstat (limited to 'flake.nix')
-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 ]; }; |