Merge branch 'main' of ghgreg:greg-hellings/nixos-config

This commit is contained in:
Greg Hellings
2024-03-28 09:37:04 -05:00
committed by greg-compass
15 changed files with 240 additions and 17 deletions
+1
View File
@@ -16,6 +16,7 @@
min-free = (toString (1024 * 1024 * 1024) );
max-free = (toString (5 * 1024 * 1024 * 1024) );
substituters = [
"http://nixcache.home"
"https://cache.garnix.io"
"https://ai.cachix.org"
];
+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;