This commit is contained in:
2026-04-23 16:10:32 -05:00
parent 0a26675f7c
commit ac32833239

View File

@@ -1,18 +1,18 @@
{ self, inputs, ... }: { { self, inputs, ... }: {
flake.nixosModules.user-nathan = { config, lib, pkgs, ... }: let flake.nixosModules.user-nathan = { config, lib, pkgs, ... }: let
laptop = [ "laptop" ]; laptop = [ "laptop" ];
homebox = [ "homebox" ]; homebox = [ "homebox" ];
iso = [ "iso" ]; iso = [ "iso" ];
useWith = x: y: (lib.mkIf (builtins.any (z: z == config.networking.hostName) x) y); useWith = x: y: (lib.mkIf (builtins.any (z: z == config.networking.hostName) x) y);
in { in {
imports = [
inputs.sops-nix.nixosModules.sops
];
config = { config = {
imports = [
inputs.sops-nix.nixosModules.sops
];
sops.secrets."nathan/pass" = { sops.secrets."nathan/pass" = {
neededForUsers = true; neededForUsers = true;
sopsFile = ./secrets.yaml; sopsFile = ./secrets.yaml;