mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-18 02:07:02 -04:00
263 current 2024-10-02 15:17:48 24.11.20240916.99dc878 6.11.0 *
This commit is contained in:
parent
c88a1ca201
commit
ad27d55764
3 changed files with 23 additions and 59 deletions
21
common/modules/kde.nix
Normal file
21
common/modules/kde.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }: {
|
||||
services = {
|
||||
desktopManager = {
|
||||
plasma6 = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
autoNumlock = true;
|
||||
wayland = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{ pkgs }: with pkgs.lib; {
|
||||
merge = attrList:
|
||||
let
|
||||
f = attrPath:
|
||||
zipAttrsWith (n: values:
|
||||
if tail values == [ ]
|
||||
then head values
|
||||
else if all isList values
|
||||
then unique (concatLists values)
|
||||
else if all isAttrs values
|
||||
then f (attrPath ++ [ n ]) values
|
||||
else last values
|
||||
);
|
||||
in
|
||||
f [ ] attrList;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue