add sddm theme
This commit is contained in:
@@ -240,7 +240,7 @@ default_border pixel 2
|
|||||||
|
|
||||||
exec_always autotiling
|
exec_always autotiling
|
||||||
#fix monitor layout
|
#fix monitor layout
|
||||||
exec --no-startup-id "xrandr --output HDMI-0 --left-of DP-0 && xrandr --output DP-0 --mode 2560x1440 --rate 165.00"
|
exec --no-startup-id "xrandr --output HDMI-0 --left-of DP-0 && xrandr --output DP-0 --mode 2560x1440 --rate 165.00 --primary"
|
||||||
|
|
||||||
# Start XDG autostart .desktop files using dex. See also
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
|
|||||||
@@ -15,12 +15,25 @@ in {
|
|||||||
"/libexec"
|
"/libexec"
|
||||||
]; # links /libexec from derivations to /run/current-system/sw
|
]; # links /libexec from derivations to /run/current-system/sw
|
||||||
|
|
||||||
|
xdg = {
|
||||||
|
portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [ libsForQt5.xdg-desktop-portal-kde ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
xkb.layout = config.mainUser.layout;
|
||||||
|
xkb.variant = config.mainUser.variant;
|
||||||
desktopManager = { xterm.enable = false; };
|
desktopManager = { xterm.enable = false; };
|
||||||
|
|
||||||
displayManager = { defaultSession = "none+i3"; };
|
displayManager = {
|
||||||
|
defaultSession = "none+i3";
|
||||||
|
sddm.enable = true;
|
||||||
|
sddm.theme = "${pkgs.sddm-astronaut}";
|
||||||
|
};
|
||||||
|
|
||||||
windowManager.i3 = {
|
windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
kop-monitor = pkgs.callPackage ./kop-monitor/default.nix { };
|
kop-monitor = pkgs.callPackage ./kop-monitor/default.nix { };
|
||||||
kop-fileshare = pkgs.callPackage ./kop-fileshare/default.nix { };
|
kop-fileshare = pkgs.callPackage ./kop-fileshare/default.nix { };
|
||||||
adam-site = pkgs.callPackage ./adam-site/default.nix { };
|
adam-site = pkgs.callPackage ./adam-site/default.nix { };
|
||||||
|
sddm-astronaut = pkgs.callPackage ./sddm-astronaut/default.nix { };
|
||||||
}
|
}
|
||||||
|
|||||||
15
pkgs/sddm-astronaut/default.nix
Normal file
15
pkgs/sddm-astronaut/default.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
name = "sddm-astronaut-theme";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "totoro-ghost";
|
||||||
|
repo = "sddm-astronaut";
|
||||||
|
hash = "sha256-j8pJvBml2LWxXNw1e/cSVXV+6w+K1lahv0uK1B9OYn0=";
|
||||||
|
rev = "6726b5e951a13d308bf17aa09e91a349d82c997b";
|
||||||
|
};
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -R ./* $out/
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
noise-supression.enable = true;
|
noise-supression.enable = true;
|
||||||
obs.enable = true;
|
obs.enable = true;
|
||||||
openrgb.enable = true;
|
openrgb.enable = true;
|
||||||
plasma.enable = true;
|
#plasma.enable = true;
|
||||||
i3.enable = true;
|
i3.enable = true;
|
||||||
#gnome.enable = true;
|
#gnome.enable = true;
|
||||||
#cosmic.enable = true;
|
#cosmic.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user