added back simple desktop stack as alternatives

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-21 12:36:35 +02:00
parent febd23355d
commit 552ae67f6a
Signed by: semere
GPG key ID: 7FC937214DF30488
9 changed files with 153 additions and 2 deletions

View file

@ -27,6 +27,11 @@ allModules
self.nixosModules.zen-browser
self.nixosModules.niri
self.nixosModules.noctalia
# self.nixosModules.fuzzel
# self.nixosModules.fnott
# self.nixosModules.swaylock
# self.nixosModules.swayidle
# self.nixosModules.wlsunset
];
};

View file

@ -29,6 +29,10 @@
};
hardware.graphics.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
security.polkit.enable = true;
programs.dconf.enable = true;
@ -55,6 +59,7 @@
brightnessctl
wl-clipboard
libnotify
xwayland-satellite
];
home-manager.users."${userVars.username}" = {

29
modules/fnott.nix Normal file
View file

@ -0,0 +1,29 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
home-manager.users."${userVars.username}" = {
services.fnott = {
enable = true;
settings = {
main = {
background = "1e1e2eff";
border-color = "89b4faff";
border-size = 2;
border-radius = 4;
title-font = "JetBrainsMono Nerd Font:size=13:weight=bold";
title-color = "cdd6f4ff";
summary-font = "JetBrainsMono Nerd Font:size=13";
summary-color = "cdd6f4ff";
body-font = "JetBrainsMono Nerd Font:size=13";
body-color = "cdd6f4ff";
};
};
};
};
}

38
modules/fuzzel.nix Normal file
View file

@ -0,0 +1,38 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
home-manager.users."${userVars.username}" = {
programs.fuzzel = {
enable = true;
settings = {
main = {
font = "JetBrainsMono Nerd Font:size=13";
dpi-aware = "auto";
width = 40;
line-height = 18;
fields = "name,generic,comment,categories,filename,keywords";
terminal = "foot";
};
colors = {
background = "1e1e2eff";
text = "cdd6f4ff";
match = "f38ba8ff";
selection = "585b70ff";
selection-text = "cdd6f4ff";
selection-match = "f38ba8ff";
border = "89b4faff";
};
border = {
width = 2;
radius = 4;
};
};
};
};
}

View file

@ -113,7 +113,7 @@
XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up"; }
XF86AudioLowerVolume { spawn "noctalia" "msg" "volume-down"; }
XF86AudioMute { spawn "noctalia" "msg" "volume-mute-toggle"; }
XF86AudioMute { spawn "noctalia" "msg" "volume-mute"; }
XF86MonBrightnessUp { spawn "noctalia" "msg" "brightness-up"; }
XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down"; }
@ -131,6 +131,10 @@
match app-id="^foot$"
open-on-workspace "term"
}
switch-events {
lid-close { spawn "noctalia" "msg" "session" "lock-and-suspend"; }
}
'';
};
}

View file

@ -60,7 +60,7 @@
staged = "+\${count}";
modified = "!\${count}";
untracked = "?\${count}";
stashed = "\$";
stashed = "\\$";
};
nix_shell = {

23
modules/swayidle.nix Normal file
View file

@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
home-manager.users."${userVars.username}" = {
services.swayidle = {
enable = true;
events = {
before-sleep = "${pkgs.swaylock}/bin/swaylock -f";
lock = "${pkgs.swaylock}/bin/swaylock -f";
};
timeouts = [
{ timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -f"; }
{ timeout = 600; command = "niri msg action power-off-monitors"; }
];
};
};
}

26
modules/swaylock.nix Normal file
View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
security.pam.services.swaylock = {};
home-manager.users."${userVars.username}" = {
programs.swaylock = {
enable = true;
settings = {
color = "1e1e2e";
ring-color = "89b4fa";
key-hl-color = "f38ba8";
line-color = "00000000";
inside-color = "1e1e2e";
separator-color = "00000000";
text-color = "cdd6f4";
};
};
};
}

21
modules/wlsunset.nix Normal file
View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
home-manager.users."${userVars.username}" = {
services.wlsunset = {
enable = true;
latitude = "52.52";
longitude = "13.40";
temperature = {
day = 6500;
night = 4000;
};
};
};
}