From 8f8dc7cc9b62ff8965df3faee05e5ff04c622155 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 15 May 2024 10:17:03 -0700 Subject: Add agenix --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index a8c1b60..6cbd2ad 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; -- cgit v1.2.3