nixos-conf/machine-confs/lithium.nix

31 lines
587 B
Nix
Raw Normal View History

2024-07-20 17:35:00 +03:00
{ config, pkgs, ... }:
2024-07-11 16:43:26 +03:00
{
2024-07-11 16:45:40 +03:00
networking.hostName = "lithium";
2024-07-11 16:43:26 +03:00
2024-07-11 16:45:40 +03:00
imports = [
2024-07-11 16:43:26 +03:00
../base.nix
../users/vili.nix
../desktop.nix
../development.nix
../services/redshift.nix
../hardware-specific/usb-automount.nix
];
2024-07-31 22:50:08 +03:00
2024-08-28 11:52:00 +03:00
swapDevices = pkgs.lib.mkForce [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
2024-07-31 22:50:08 +03:00
boot = {
#resumeDevice = "/dev/mapper/luks-f6e1979b-0dee-4ee9-8170-10490019854b";
#kernelParams = [ "resume_offset=44537856" ];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
2024-07-11 16:43:26 +03:00
}