This commit is contained in:
dusk 2022-02-19 00:49:27 +03:00
parent 4512d0a3bb
commit d3ae31faec
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -18,9 +18,6 @@ in {
"wheel" "wheel"
"adbusers" "adbusers"
"dialout" "dialout"
/*
"wireshark"
*/
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
hashedPassword = hashedPassword =
@ -73,7 +70,7 @@ in {
enable = true; enable = true;
desktopManager = { desktopManager = {
plasma5.enable = false; plasma5.enable = false;
gnome.enable = true; gnome.enable = false;
xterm.enable = false; xterm.enable = false;
}; };
displayManager = { displayManager = {
@ -83,11 +80,11 @@ in {
}; };
lightdm.enable = false; lightdm.enable = false;
gdm = { gdm = {
enable = true; enable = false;
wayland = true; wayland = true;
}; };
sddm.enable = false; sddm.enable = false;
startx.enable = false; startx.enable = true;
}; };
}; };
}; };
@ -340,7 +337,7 @@ in {
}; };
wayland.windowManager = { wayland.windowManager = {
sway = { sway = {
enable = false; enable = true;
extraSessionCommands = extraEnv; extraSessionCommands = extraEnv;
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
extraConfig = extraConfig =
@ -553,14 +550,12 @@ in {
dotDir = ".config/zsh"; dotDir = ".config/zsh";
history.path = ".local/share/zsh/history"; history.path = ".local/share/zsh/history";
envExtra = extraEnv; envExtra = extraEnv;
/* loginExtra =
loginExtra = ''
'' if [ "$(${pkgs.coreutils}/bin/tty)" = "/dev/tty1" ]; then
if [ "$(${pkgs.coreutils}/bin/tty)" = "/dev/tty1" ]; then exec sway
exec sway fi
fi '';
'';
*/
initExtra = initExtra =
'' ''
export TERM=alacritty export TERM=alacritty
@ -596,7 +591,7 @@ in {
fgc = "#${fgColor}"; fgc = "#${fgColor}";
acc = "#${acColor}"; acc = "#${acColor}";
in { in {
enable = false; enable = true;
cycle = true; cycle = true;
font = fontComb; font = fontComb;
terminal = pkgBin "alacritty"; terminal = pkgBin "alacritty";