nix-config/hosts/t480/configuration.nix

67 lines
1 KiB
Nix
Raw Normal View History

2025-03-21 15:01:39 +00:00
{ inputs, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./programs.nix
./secrets.nix
./services
2025-04-05 09:00:00 +01:00
../../modules/mixins/bluetooth.nix
2025-04-05 09:00:00 +01:00
../../modules/mixins/docker.nix
2025-04-05 09:00:00 +01:00
../../modules/mixins/phpactor
2025-04-05 09:00:00 +01:00
../../modules/mixins/thunar.nix
2025-03-21 15:01:39 +00:00
../common
../../users/opdavies
];
nixosModules = {
dwm.enable = true;
redshift.enable = true;
st.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
sxiv
ttyper
yt-dlp
2025-04-05 09:00:00 +01:00
zeroad
2025-03-21 15:01:39 +00:00
];
zramSwap.enable = true;
networking.hosts = {
"192.168.1.116" = [ "nixedo" ];
};
}