test iso
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user