host<name>/default.nix -> host/<name>/main.nix

add _file in all modules
This commit is contained in:
Gerg-L 2023-07-26 12:32:10 -04:00
parent bcea731103
commit 14726d5c6d
33 changed files with 36 additions and 0 deletions

View file

@ -34,5 +34,6 @@
];
};
};
_file = ./disko.nix;
};
}

View file

@ -47,6 +47,7 @@ _: {
hostName = "game-laptop";
networkmanager.enable = true;
};
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
#user managment
sops.secrets.root.neededForUsers = true;
users = {
@ -86,4 +87,5 @@ _: {
];
system.stateVersion = "23.05";
_file = ./main.nix;
}

View file

@ -23,5 +23,6 @@ _: {config, ...}: {
Option "OffTime" "0"
Option "BlankTime" "0"
'';
_file = ./prime.nix;
};
}

View file

@ -97,4 +97,5 @@ _: {
};
};
};
_file = ./minecraft.nix;
}

View file

@ -152,4 +152,5 @@ _: {
};
};
};
_file = ./website.nix;
}

View file

@ -153,4 +153,5 @@ in {
};
};
};
_file = ./disko.nix;
}

View file

@ -141,4 +141,5 @@
};
system.stateVersion = "23.05";
_file = ./main.nix;
}

View file

@ -18,4 +18,5 @@
};
};
sops.secrets.discordenv = {};
_file = ./sops.nix;
}

View file

@ -32,4 +32,5 @@ in {
misc = "282a36";
};
};
_file = ./spicetify.nix;
}

View file

@ -161,4 +161,5 @@ in {
"L+ /var/lib/libvirt/hooks/qemu - - - - ${qemuHook}"
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
];
_file = ./vfio.nix;
}

View file

@ -74,4 +74,5 @@ _: {
autoScrub.enable = true;
trim.enable = true;
};
_file = ./zfs.nix;
}

View file

@ -35,4 +35,5 @@
};
};
};
_file = ./disko.nix;
}

View file

@ -1,4 +1,5 @@
_: {
lib,
pkgs,
config,
...
@ -58,6 +59,7 @@ _: {
};
};
};
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
boot = {
initrd.availableKernelModules = ["xhci-pci" "ehci-pci" "ahci" "usbhid" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"];
kernelModules = ["kvm-intel"];
@ -82,4 +84,5 @@ _: {
size = 8 * 1024;
}
];
_file = ./main.nix;
}

View file

@ -17,4 +17,5 @@ _: {pkgs, ...}: {
drivers = [pkgs.hplipWithPlugin];
};
};
_file = ./printing.nix;
}

View file

@ -39,4 +39,5 @@
};
};
sound.enable = false;
_file = ./default.nix;
}

View file

@ -59,4 +59,5 @@ in {
})
(listNixFilesRecursive path)
);
_file = ./default.nix;
}

View file

@ -54,4 +54,5 @@
;
};
};
_file = ./dwm.nix;
}

View file

@ -49,4 +49,5 @@ _: {
displayManager.defaultSession = "gnome";
};
};
_file = ./gnome.nix;
}

View file

@ -17,4 +17,5 @@ _: {
displayManager.defaultSession = "xfce";
};
};
_file = ./xfce.nix;
}

View file

@ -19,4 +19,5 @@ _: {
};
};
};
_file = ./autoLogin.nix;
}

View file

@ -46,4 +46,5 @@
};
};
};
_file = ./lightDM.nix;
}

View file

@ -67,4 +67,5 @@ in {
}
)
];
_file = ./X11.nix;
}

View file

@ -68,4 +68,5 @@
efibootmgr -t 0
'';
};
_file = ./misc.nix;
}

View file

@ -31,4 +31,5 @@ let
};
in {
system.build.bootStage2 = lib.mkForce bootStage2;
_file = ./stage2patch.nix;
}

View file

@ -95,4 +95,5 @@ _: {
}
)
];
_file = ./builders.nix;
}

View file

@ -28,4 +28,5 @@ _: {
};
};
};
_file = ./git.nix;
}

View file

@ -54,4 +54,5 @@ in {
};
}
];
_file = ./hardware.nix;
}

View file

@ -15,4 +15,5 @@ _: {lib, ...}: {
gerg_gerg-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8";
};
};
_file = ./keys.nix;
}

View file

@ -40,4 +40,5 @@ _: {
#time settings
time.timeZone = "America/New_York";
};
_file = ./misc.nix;
}

View file

@ -26,4 +26,5 @@ inputs: {pkgs, ...}: {
environment.profiles = [
"\${XDG_STATE_HOME:-$HOME/.local/state}/nix/profile"
];
_file = ./nix.nix;
}

View file

@ -158,4 +158,5 @@
};
};
};
_file = ./shell.nix;
}

View file

@ -17,4 +17,5 @@
defaultSopsFile = "${self}/hosts/${config.networking.hostName}/secrets.yaml";
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
};
_file = ./sops.nix;
}

View file

@ -98,4 +98,5 @@ in {
};
})
];
_file = ./theming.nix;
}