mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
host<name>/default.nix -> host/<name>/main.nix
add _file in all modules
This commit is contained in:
parent
bcea731103
commit
14726d5c6d
33 changed files with 36 additions and 0 deletions
|
|
@ -34,5 +34,6 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -23,5 +23,6 @@ _: {config, ...}: {
|
|||
Option "OffTime" "0"
|
||||
Option "BlankTime" "0"
|
||||
'';
|
||||
_file = ./prime.nix;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,4 +97,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./minecraft.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -152,4 +152,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./website.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,4 +153,5 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,4 +141,5 @@
|
|||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
_file = ./main.nix;
|
||||
}
|
||||
|
|
@ -18,4 +18,5 @@
|
|||
};
|
||||
};
|
||||
sops.secrets.discordenv = {};
|
||||
_file = ./sops.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,4 +32,5 @@ in {
|
|||
misc = "282a36";
|
||||
};
|
||||
};
|
||||
_file = ./spicetify.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -161,4 +161,5 @@ in {
|
|||
"L+ /var/lib/libvirt/hooks/qemu - - - - ${qemuHook}"
|
||||
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
|
||||
];
|
||||
_file = ./vfio.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,4 +74,5 @@ _: {
|
|||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
};
|
||||
_file = ./zfs.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,4 +35,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -17,4 +17,5 @@ _: {pkgs, ...}: {
|
|||
drivers = [pkgs.hplipWithPlugin];
|
||||
};
|
||||
};
|
||||
_file = ./printing.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,4 +39,5 @@
|
|||
};
|
||||
};
|
||||
sound.enable = false;
|
||||
_file = ./default.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,4 +59,5 @@ in {
|
|||
})
|
||||
(listNixFilesRecursive path)
|
||||
);
|
||||
_file = ./default.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,5 @@
|
|||
;
|
||||
};
|
||||
};
|
||||
_file = ./dwm.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,4 +49,5 @@ _: {
|
|||
displayManager.defaultSession = "gnome";
|
||||
};
|
||||
};
|
||||
_file = ./gnome.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ _: {
|
|||
displayManager.defaultSession = "xfce";
|
||||
};
|
||||
};
|
||||
_file = ./xfce.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./autoLogin.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,4 +46,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./lightDM.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,4 +67,5 @@ in {
|
|||
}
|
||||
)
|
||||
];
|
||||
_file = ./X11.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,4 +68,5 @@
|
|||
efibootmgr -t 0
|
||||
'';
|
||||
};
|
||||
_file = ./misc.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,4 +31,5 @@ let
|
|||
};
|
||||
in {
|
||||
system.build.bootStage2 = lib.mkForce bootStage2;
|
||||
_file = ./stage2patch.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,4 +95,5 @@ _: {
|
|||
}
|
||||
)
|
||||
];
|
||||
_file = ./builders.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,4 +28,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./git.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,5 @@ in {
|
|||
};
|
||||
}
|
||||
];
|
||||
_file = ./hardware.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,4 +15,5 @@ _: {lib, ...}: {
|
|||
gerg_gerg-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8";
|
||||
};
|
||||
};
|
||||
_file = ./keys.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,4 +40,5 @@ _: {
|
|||
#time settings
|
||||
time.timeZone = "America/New_York";
|
||||
};
|
||||
_file = ./misc.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,4 +26,5 @@ inputs: {pkgs, ...}: {
|
|||
environment.profiles = [
|
||||
"\${XDG_STATE_HOME:-$HOME/.local/state}/nix/profile"
|
||||
];
|
||||
_file = ./nix.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,4 +158,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./shell.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@
|
|||
defaultSopsFile = "${self}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||
};
|
||||
_file = ./sops.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -98,4 +98,5 @@ in {
|
|||
};
|
||||
})
|
||||
];
|
||||
_file = ./theming.nix;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue