Add my own SDDM theme!

This commit is contained in:
Chris Josten 2020-05-15 02:23:33 +02:00
parent 3db9423dc4
commit 45871c09e8
6 changed files with 29 additions and 0 deletions

View file

@ -6,4 +6,6 @@
./virt.nix
./users.nix
];
nixpkgs.overlays = [(import ../overlays) ];
}

View file

@ -19,6 +19,9 @@
gradle
jetbrains.idea-ultimate
maven
# NixOS
nix-prefetch-scripts
];
};
}

View file

@ -9,6 +9,7 @@
enable = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
displayManager.sddm.theme = "nx-sddm";
};
networking.networkmanager.enable = true;

View file

@ -42,7 +42,9 @@
packagekit-qt
plasma-desktop
plasma-integration
plasma5.sddm-kcm
plasma5.xdg-desktop-portal-kde
my.sddm-nx
sddm
kdeApplications.spectacle

7
overlays/default.nix Normal file
View file

@ -0,0 +1,7 @@
self: super:
rec {
my = super.recurseIntoAttrs {
sddm-nx = super.callPackage ./nx-sddm.nix {};
};
}

14
overlays/nx-sddm.nix Normal file
View file

@ -0,0 +1,14 @@
{ stdenv}:
stdenv.mkDerivation {
name = "nx-sddm";
src = fetchGit {
url = https://githee.netsoj.nl/chris-config/sddm-nx.git;
rev ="636e786f88d2e9838c8096465d8b4e9b3b0914aa";
#sha256 = "1nwfisz13y2pfkrnxlkrqp1j546m1na9bkdrd0khm5ilb71d7win";
};
installPhase = ''
mkdir -p $out/share/sddm/themes/nx-sddm
cp -r . $out/share/sddm/themes/nx-sddm
'';
}