Move Nix files back to the root of the project

This commit is contained in:
Oliver Davies 2025-03-29 23:19:06 +00:00
parent 52044d9995
commit 087153a16d
223 changed files with 12 additions and 12 deletions

View file

@ -0,0 +1,68 @@
{ inputs, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./hardware.nix
./programs.nix
./secrets.nix
./services
./users.nix
./modules/docker.nix
../common
../../users/opdavies
];
nixosModules = {
dwm.enable = true;
gaming.enable = true;
redshift.enable = true;
st.enable = true;
thunar.enable = true;
peek.enable = true;
};
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
};
efi = {
canTouchEfiVariables = true;
};
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
networking.networkmanager.enable = true;
security = {
polkit.enable = true;
rtkit.enable = true;
};
environment.systemPackages = with pkgs; [
gtypist
pam_gnupg
rclone
rclone-browser
sxiv
ttyper
yt-dlp
];
zramSwap.enable = true;
networking.hosts = {
"192.168.1.116" = [ "nixedo" ];
};
}