aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files 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
];
};