Add caching for nixpkgs

This commit is contained in:
Greg Hellings
2024-03-26 00:19:47 -05:00
parent 10b27c545f
commit a20954ea3d
3 changed files with 53 additions and 16 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, options, ... }:
let
cfg = config.greg.kde;
@@ -13,7 +13,6 @@ in with lib; {
services = {
xserver = {
enable = true;
desktopManager.plasma6.enable = true;
displayManager = {
defaultSession = "plasma";
sddm.enable = true;
@@ -21,7 +20,9 @@ in with lib; {
xkb.layout = "us";
# Trackpad support
libinput.enable = true;
};
} // (optionalAttrs (builtins.hasAttr "plasma6" options.services.xserver.desktopManager) {
desktopManager.plasma6.enable = true;
});
pipewire = {
enable = true;