mirror of
https://github.com/semere-meb/dotfiles-nix.git
synced 2026-08-03 10:24:36 +00:00
added back simple desktop stack as alternatives
This commit is contained in:
parent
febd23355d
commit
552ae67f6a
9 changed files with 153 additions and 2 deletions
|
|
@ -27,6 +27,11 @@ allModules
|
||||||
self.nixosModules.zen-browser
|
self.nixosModules.zen-browser
|
||||||
self.nixosModules.niri
|
self.nixosModules.niri
|
||||||
self.nixosModules.noctalia
|
self.nixosModules.noctalia
|
||||||
|
# self.nixosModules.fuzzel
|
||||||
|
# self.nixosModules.fnott
|
||||||
|
# self.nixosModules.swaylock
|
||||||
|
# self.nixosModules.swayidle
|
||||||
|
# self.nixosModules.wlsunset
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = false;
|
||||||
|
};
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
|
@ -55,6 +59,7 @@
|
||||||
brightnessctl
|
brightnessctl
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
libnotify
|
libnotify
|
||||||
|
xwayland-satellite
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users."${userVars.username}" = {
|
home-manager.users."${userVars.username}" = {
|
||||||
|
|
|
||||||
29
modules/fnott.nix
Normal file
29
modules/fnott.nix
Normal 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
38
modules/fuzzel.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up"; }
|
XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up"; }
|
||||||
XF86AudioLowerVolume { spawn "noctalia" "msg" "volume-down"; }
|
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"; }
|
XF86MonBrightnessUp { spawn "noctalia" "msg" "brightness-up"; }
|
||||||
XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down"; }
|
XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down"; }
|
||||||
|
|
||||||
|
|
@ -131,6 +131,10 @@
|
||||||
match app-id="^foot$"
|
match app-id="^foot$"
|
||||||
open-on-workspace "term"
|
open-on-workspace "term"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch-events {
|
||||||
|
lid-close { spawn "noctalia" "msg" "session" "lock-and-suspend"; }
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
staged = "+\${count}";
|
staged = "+\${count}";
|
||||||
modified = "!\${count}";
|
modified = "!\${count}";
|
||||||
untracked = "?\${count}";
|
untracked = "?\${count}";
|
||||||
stashed = "\$";
|
stashed = "\\$";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix_shell = {
|
nix_shell = {
|
||||||
|
|
|
||||||
23
modules/swayidle.nix
Normal file
23
modules/swayidle.nix
Normal 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
26
modules/swaylock.nix
Normal 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
21
modules/wlsunset.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue