nixcfg/hosts/rustboro/default.nix

69 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2024-03-16 13:23:59 -04:00
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
2024-02-29 17:06:55 -05:00
{
2024-04-07 22:16:33 -04:00
config,
lib,
self,
2024-04-07 22:16:33 -04:00
...
}: {
2024-03-24 14:06:24 -04:00
imports = [
./home.nix
2024-07-22 19:56:56 -04:00
./secrets.nix
./stylix.nix
2024-09-23 23:59:07 -04:00
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/sda"];})
self.nixosModules.common-auto-upgrade
self.nixosModules.common-base
2024-08-22 09:09:30 -04:00
self.nixosModules.common-locale
self.nixosModules.common-mauville-share
self.nixosModules.common-nix
self.nixosModules.common-pkgs
self.nixosModules.common-tailscale
self.nixosModules.common-wifi-profiles
self.nixosModules.hw-thinkpad-t440p
2024-03-24 14:06:24 -04:00
];
2024-02-29 17:06:55 -05:00
2024-08-24 15:52:21 -04:00
boot = {
2024-08-28 15:05:22 -04:00
initrd.systemd.enable = true;
2024-08-24 15:52:21 -04:00
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = lib.mkForce false;
};
};
2024-02-29 17:06:55 -05:00
2024-09-13 16:58:15 -04:00
environment.variables.GDK_SCALE = "1.25";
networking.hostName = "rustboro";
system.stateVersion = "24.05";
zramSwap.memoryPercent = 100;
ar = {
2024-06-28 21:07:20 -04:00
apps.firefox.enable = true;
desktop = {
2024-07-07 15:07:58 -04:00
greetd = {
enable = true;
autologin = "aly";
2024-10-06 18:44:14 -04:00
session = lib.getExe config.programs.hyprland.package;
2024-07-07 15:07:58 -04:00
};
2024-10-06 18:44:14 -04:00
hyprland.enable = true;
};
laptopMode = true;
users.aly = {
enable = true;
2024-09-12 20:57:51 -04:00
password = "$y$j9T$VMCXwk0X5m6xW6FGLc39F/$r9gmyeB70RCq3k4oLPHFZyy7wng6WyX2xYMKLO/A.rB";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
};
};
};
2024-03-24 14:06:24 -04:00
}