This commit is contained in:
Vivian Lim 2024-04-18 22:52:42 -07:00
parent 7f111fc642
commit 03df665213
2 changed files with 31 additions and 4 deletions

View File

@ -8,6 +8,9 @@
# just kind of a grab bag of stuff
environment.systemPackages = with pkgs; [
alsa-lib
udev
gcc
tailscale
rustup
moonlight-qt
@ -84,7 +87,32 @@
# unfree as in unfreedom
nixpkgs.config.allowUnfree = true;
services.xserver.displayManager.defaultSession = lib.mkForce "plasma";
#services.xserver.displayManager.sddm.enable = lib.mkForce false;
services.xserver.desktopManager.plasma5.enable = lib.mkForce false;
services.xserver.desktopManager.plasma6.enable = true;
services.xserver.displayManager.defaultSession = "plasma";
nix.optimise.automatic = true;
nix.optimise.dates = [ "04:45" ];
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 45d";
};
programs.steam = {
enable = true;
};
# hardware stuff under here
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@ -44,7 +44,6 @@
base.moduleBundles.plasma-desktop
base.moduleBundles.system-physical
base.moduleBundles.gaming-hardware
base.moduleBundles.amd
sops-nix.nixosModules.sops
];
};
@ -66,7 +65,7 @@
};
vivdeck = (base.colmenaTargetFactory machineFactoryArgs)
// {
deployment.targetHost = "192.168.1.193"; # todo: change to tailscale hostname after it's added.
deployment.targetHost = "chimera.cow-bebop.ts.net"; # todo: change to tailscale hostname after it's added.
deployment.targetUser = "root";
};
};