mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-16 20:55:06 +01:00
Compare commits
No commits in common. "eff1afb09a9c98d982f1534a8689f0d1d52e8aef" and "acd37d67e2331fcae31999ac3944d4007466ef6c" have entirely different histories.
eff1afb09a
...
acd37d67e2
4 changed files with 4 additions and 18 deletions
|
|
@ -250,6 +250,8 @@ spawn-at-startup "xwayland-satellite"
|
|||
environment {
|
||||
DISPLAY ":0"
|
||||
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||
// see keyring below
|
||||
// SSH_AUTH_SOCK "/run/user/1000/keyring/ssh"
|
||||
}
|
||||
|
||||
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||
|
|
@ -338,7 +340,7 @@ binds {
|
|||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+T { spawn "alacritty"; }
|
||||
Mod+D { spawn "fuzzel"; }
|
||||
Super+Alt+L { spawn "lock-and-power-off-screen"; }
|
||||
Super+Alt+L { spawn "swaylock"; }
|
||||
|
||||
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||
// Note: the entire command goes as a single argument in the end.
|
||||
|
|
|
|||
|
|
@ -52,13 +52,6 @@ in
|
|||
spotify
|
||||
# rustup from nix for rust :)
|
||||
rustup
|
||||
(pkgs.writeShellApplication {
|
||||
name = "lock-and-power-off-screen";
|
||||
text = ''
|
||||
niri msg action power-off-monitors
|
||||
exec swaylock
|
||||
'';
|
||||
})
|
||||
] ++ import ./common-packages.nix { inherit pkgs inputs; };
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
"clock"
|
||||
];
|
||||
modules-right = [
|
||||
"bluetooth"
|
||||
"privacy"
|
||||
"pulseaudio"
|
||||
"cpu"
|
||||
|
|
@ -76,12 +75,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
bluetooth = {
|
||||
format = " {status}";
|
||||
format-disabled = ""; # an empty format will hide the module
|
||||
format-connected = " {num_connections} connected";
|
||||
on-click = lib.getExe pkgs.overskride;
|
||||
};
|
||||
pulseaudio = {
|
||||
# "scroll-step": 1, // %, can be a float
|
||||
"format" = "{volume}% {icon} {format_source}";
|
||||
|
|
|
|||
|
|
@ -222,8 +222,6 @@ in
|
|||
|
||||
fonts.packages = with pkgs; [ fira-code customPkgs.monaspace ];
|
||||
|
||||
services.nixseparatedebuginfod.enable = true;
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "both";
|
||||
|
|
@ -268,7 +266,7 @@ in
|
|||
Unit = "regenerate-bsod-lockscreen.service";
|
||||
OnBootSec = "10s";
|
||||
OnUnitActiveSec = "60s";
|
||||
AccuracySec = "5s";
|
||||
AccuracySec = "1s";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue