run "statix fix"
hosts/dunamis/sops.nix: fix w/ statix hosts/dunamis/users/user/home-configuration.nix: fix w/ statix hosts/eldrid/users/user/home-configuration.nix: fix w/ statix modules/home/desktop/gnome/default.nix: fix w/ statix modules/home/desktop/hyprland/default.nix: fix w/ statix modules/home/desktop/niri/default.nix: add swayosd, move bar to the bottom, fix w/ statix modules/nixos/system/security/basic.nix: fix w/ statix Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.desktop.gnome;
|
||||
colors = config.lib.stylix.colors;
|
||||
inherit (config.lib.stylix) colors;
|
||||
in {
|
||||
options = {
|
||||
desktop.gnome.enable =
|
||||
|
@ -9,7 +9,7 @@
|
||||
cfg = config.desktop.hyprland;
|
||||
hostname = osConfig.networking.hostName;
|
||||
cursor_size = config.stylix.cursor.size;
|
||||
colors = config.lib.stylix.colors;
|
||||
inherit (config.lib.stylix) colors;
|
||||
keyboard =
|
||||
if hostname == "eldrid"
|
||||
then "chromeos"
|
||||
|
@ -8,7 +8,7 @@
|
||||
cfg = config.desktop.niri;
|
||||
hostname = osConfig.networking.hostName;
|
||||
cursor_size = config.stylix.cursor.size;
|
||||
colors = config.lib.stylix.colors;
|
||||
inherit (config.lib.stylix) colors;
|
||||
keyboard =
|
||||
if hostname == "eldrid"
|
||||
then "chromeos"
|
||||
@ -33,10 +33,14 @@ in {
|
||||
qt.enable = false;
|
||||
};
|
||||
services = {
|
||||
wpaperd.enable = true;
|
||||
playerctld.enable = true;
|
||||
network-manager-applet.enable = true;
|
||||
copyq.enable = true;
|
||||
network-manager-applet.enable = true;
|
||||
playerctld.enable = true;
|
||||
swayosd = {
|
||||
enable = true;
|
||||
topMargin = 0.8;
|
||||
};
|
||||
wpaperd.enable = true;
|
||||
gnome-keyring = {
|
||||
enable = true;
|
||||
components = ["secrets"];
|
||||
@ -384,7 +388,6 @@ in {
|
||||
niri = {
|
||||
target = "niri/config.kdl";
|
||||
text = let
|
||||
cursor_size = toString config.stylix.cursor.size;
|
||||
left = "n";
|
||||
down = "e";
|
||||
up = "i";
|
||||
@ -460,7 +463,7 @@ in {
|
||||
|
||||
cursor {
|
||||
xcursor-theme "${config.stylix.cursor.name}"
|
||||
xcursor-size ${cursor_size}
|
||||
xcursor-size ${toString cursor_size}
|
||||
}
|
||||
|
||||
layout {
|
||||
@ -635,10 +638,15 @@ in {
|
||||
Ctrl+Print { screenshot-screen; }
|
||||
Shift+Print { screenshot-window; }
|
||||
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%+"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%-"; }
|
||||
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||
Caps_Lock { spawn "swayosd-client" "--caps-lock"; }
|
||||
// XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%+"; }
|
||||
// XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%-"; }
|
||||
// XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||
// XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; }
|
||||
XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; }
|
||||
XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; }
|
||||
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
||||
XF86AudioPause allow-when-locked=true { spawn "playerctl" "pause"; }
|
||||
XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; }
|
||||
@ -1144,7 +1152,7 @@ in {
|
||||
settings = {
|
||||
bar-0 = {
|
||||
# layer = "top";
|
||||
position = "top";
|
||||
position = "bottom";
|
||||
height = 32;
|
||||
spacing = 4;
|
||||
margin-left = 63;
|
||||
@ -1355,10 +1363,10 @@ in {
|
||||
.mpris.paused,
|
||||
.modules-left,
|
||||
.modules-right {
|
||||
border-bottom-left-radius: 12px;
|
||||
border-bottom-right-radius: 12px;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-top-left-radius: 12px;
|
||||
border-top-right-radius: 12px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
background-color: @base00;
|
||||
color: @base05;
|
||||
padding: 0 0.5em;
|
||||
|
Reference in New Issue
Block a user