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