Move Nix files back to the root of the project
This commit is contained in:
parent
52044d9995
commit
087153a16d
223 changed files with 12 additions and 12 deletions
68
hosts/t480/configuration.nix
Normal file
68
hosts/t480/configuration.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue