snowhawk: nvk specs
This commit is contained in:
parent
39ddd06084
commit
c5d34f3735
1 changed files with 25 additions and 6 deletions
|
@ -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,12 +19,31 @@
|
|||
})
|
||||
];
|
||||
|
||||
specialisation = {
|
||||
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; }];
|
||||
} // 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 = {
|
||||
|
|
Loading…
Reference in a new issue