snowhawk: nvk specs

main
Zynh Ludwig 2024-11-03 18:01:10 -08:00
parent 39ddd06084
commit c5d34f3735
1 changed files with 25 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{ pkgs, inputs, lib, ... }:
{ pkgs, inputs, lib, config, ... }:
{
imports = [
@ -19,13 +19,32 @@
})
];
specialisation = {
dwl.configuration = {
snowhawk.dwl.enable = true;
specialisation =
let
nvkConfig = {
system.nixos.tags = [ "nouveau-drivers" ];
boot.kernelParams = [ "nouveau.config=NvGspRm=1" ];
services.xserver.videoDrivers = (lib.lists.remove "nvidia" config.services.xserver.videoDrivers);
};
in
{
dwmNVK.configuration = {
snowhawk.dwm.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
} // nvkConfig;
dwl.configuration = {
snowhawk.dwl.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
};
dwlNVK.configuration = {
snowhawk.dwl.enable = true;
home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
} // nvkConfig;
};
};
snowhawk = {
filesystem.enable = true;