nixos/hosts/palantir.nix

47 lines
1.0 KiB
Nix

{ config, pkgs, myUser, release, disko, ... }:
{
# Imports
imports = [
disko.nixosModules.disko ../disko/palantir/lvm.nix
../modules/nvidia.nix
../modules/plasma.nix
../modules/gaming.nix
];
# Disks
boot.initrd.services.lvm.enable = true;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot/efi";
};
# Networking
networking.hostName = "palantir";
networking.useDHCP = true;
time.timeZone = "Europe/Vienna";
## Autologin
services = {
getty.autologinUser = myUser;
displayManager.autoLogin = {
enable = true;
user = myUser;
};
};
# Mounts
#fileSystems."/games" = {
# device = "/dev/disk/by-uuid/90bea801-2b8a-40db-8862-ccc55f2b2262";
# fsType = "ext4";
# options = [
# "nofail" # Prevent system from failing if this drive doesn't mount
# ];
#};
# Release
system.stateVersion = release;
}