This commit is contained in:
unexplrd
2025-02-14 16:00:25 +02:00
parent ec5faa59a9
commit c5513bf9b2
5 changed files with 95 additions and 47 deletions

8
flake.lock generated
View File

@ -635,11 +635,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739126593, "lastModified": 1739201350,
"narHash": "sha256-aVixbVsMsb63xH8Bi/6/xaN1rEF8uMvx0vWbN41Or6o=", "narHash": "sha256-jfdYDmTyLnqYXdn1W8y66YhANM92+6IagzNXYHIROiU=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "c528a43b7ab04cd818441dc87ccde082b33bd12f", "rev": "efba4fac34fe29f50f01950792fb0adf77926fc4",
"revCount": 6, "revCount": 7,
"type": "git", "type": "git",
"url": "https://gitea.linerds.us/unexplrd/Neve" "url": "https://gitea.linerds.us/unexplrd/Neve"
}, },

View File

@ -33,17 +33,29 @@
"/" = { "/" = {
device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a"; device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a";
fsType = "btrfs"; fsType = "btrfs";
options = ["compress=zstd,subvol=@nixos-root"]; options = [
"noatime"
"compress=zstd"
"subvol=@nixos-root"
];
}; };
"/home" = { "/home" = {
device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a"; device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a";
fsType = "btrfs"; fsType = "btrfs";
options = ["compress=zstd,subvol=@home"]; options = [
"noatime"
"compress=zstd"
"subvol=@home"
];
}; };
"/storage" = { "/storage" = {
device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a"; device = "/dev/disk/by-uuid/79ce18b8-3a9e-4cd0-be62-60972686f44a";
fsType = "btrfs"; fsType = "btrfs";
options = ["compress=zstd,subvol=@storage"]; options = [
"noatime"
"compress=zstd"
"subvol=@storage"
];
}; };
"/boot" = { "/boot" = {
device = "/dev/disk/by-uuid/976C-7EE6"; device = "/dev/disk/by-uuid/976C-7EE6";

View File

@ -12,14 +12,14 @@
]; ];
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/helios.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/solarflare.yaml";
polarity = "dark"; polarity = "dark";
cursor = { cursor = {
package = pkgs.bibata-cursors-translucent; package = pkgs.bibata-cursors-translucent;
name = "Bibata_Tinted"; name = "Bibata_Tinted";
size = 32; size = 32;
}; };
image = ../../wallpapers/wallhaven-zyl9qg.png; image = ../../wallpapers/wallhaven-39vk3v.jpg;
opacity.terminal = 0.9; opacity.terminal = 0.9;
fonts = { fonts = {
sizes = { sizes = {

View File

@ -20,6 +20,7 @@
enable = true; enable = true;
delta.enable = true; delta.enable = true;
aliases = { aliases = {
cl = "clone";
co = "checkout"; co = "checkout";
pom = "push origin main"; pom = "push origin main";
}; };
@ -38,16 +39,17 @@
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
alejandra alejandra # nix formatter
flatpak flatpak # flatpak cli
trashy trashy # trash cli
procs procs # ps in rust
dust dust # du in rust
tree fend # calc in rust
zip tree # tree util
vial zip # zip util
unzip vial # qmk keyboard configuring app
waycheck unzip # unzip util
virt-manager waycheck # check wayland protocols
virt-manager # libvirt gui
]; ];
} }

View File

@ -509,13 +509,43 @@ in {
window-rule { window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"# match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"# match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^signal$"# match app-id=r#"^signal$"#
match app-id=r#"^Bitwarden$"# match app-id=r#"^Bitwarden$"#
// block-out-from "screen-capture" // block-out-from "screen-capture"
block-out-from "screencast" block-out-from "screencast"
} }
workspace "general"
workspace "browse"
workspace "chat"
workspace "code"
workspace "uni"
workspace "games"
workspace "sysadmin"
workspace "media"
workspace "bg"
window-rule {
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^im\.riot\.Riot$"#
match app-id=r#"^WebCord$"#
match app-id=r#"^signal$"#
open-on-workspace "chat"
}
window-rule {
match app-id=r#"^com\.heroicgameslauncher\.hgl$"#
match app-id=r#"^net\.lutris\.Lutris$"#
match app-id="steam"
// match app-id=r#"^$"#
open-on-workspace "games"
}
window-rule {
match app-id=r#"^com\.obsproject\.Studio$"#
open-on-workspace "bg"
}
binds { binds {
Mod+Shift+Slash { show-hotkey-overlay; } Mod+Shift+Slash { show-hotkey-overlay; }
@ -618,24 +648,24 @@ in {
Mod+TouchpadScrollDown { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; } Mod+TouchpadScrollDown { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
Mod+TouchpadScrollUp { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; } Mod+TouchpadScrollUp { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
Mod+1 { focus-workspace 1; } Mod+1 { focus-workspace "general"; }
Mod+2 { focus-workspace 2; } Mod+2 { focus-workspace "browse"; }
Mod+3 { focus-workspace 3; } Mod+3 { focus-workspace "chat"; }
Mod+4 { focus-workspace 4; } Mod+4 { focus-workspace "code"; }
Mod+5 { focus-workspace 5; } Mod+5 { focus-workspace "uni"; }
Mod+6 { focus-workspace 6; } Mod+6 { focus-workspace "games"; }
Mod+7 { focus-workspace 7; } Mod+7 { focus-workspace "sysadmin"; }
Mod+8 { focus-workspace 8; } Mod+8 { focus-workspace "media"; }
Mod+9 { focus-workspace 9; } Mod+9 { focus-workspace "bg"; }
Mod+Ctrl+1 { move-column-to-workspace 1; } Mod+Ctrl+1 { move-column-to-workspace "general"; }
Mod+Ctrl+2 { move-column-to-workspace 2; } Mod+Ctrl+2 { move-column-to-workspace "browse"; }
Mod+Ctrl+3 { move-column-to-workspace 3; } Mod+Ctrl+3 { move-column-to-workspace "chat"; }
Mod+Ctrl+4 { move-column-to-workspace 4; } Mod+Ctrl+4 { move-column-to-workspace "code"; }
Mod+Ctrl+5 { move-column-to-workspace 5; } Mod+Ctrl+5 { move-column-to-workspace "uni"; }
Mod+Ctrl+6 { move-column-to-workspace 6; } Mod+Ctrl+6 { move-column-to-workspace "games"; }
Mod+Ctrl+7 { move-column-to-workspace 7; } Mod+Ctrl+7 { move-column-to-workspace "sysadmin"; }
Mod+Ctrl+8 { move-column-to-workspace 8; } Mod+Ctrl+8 { move-column-to-workspace "media"; }
Mod+Ctrl+9 { move-column-to-workspace 9; } Mod+Ctrl+9 { move-column-to-workspace "bg"; }
// Mod+Q { focus-workspace 1; } // Mod+Q { focus-workspace 1; }
// Mod+W { focus-workspace 2; } // Mod+W { focus-workspace 2; }
@ -730,9 +760,18 @@ in {
"niri/workspaces" = { "niri/workspaces" = {
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
focused = "󰗝"; general = "󰾞";
active = "󰻃"; browse = "󰜏";
default = "󰄰"; chat = "󰭹";
code = "󰅩";
uni = "󰁰";
games = "󰺵";
sysadmin = "󰒓";
media = "󱖑";
bg = "󰣆";
# focused = "󰗝";
# active = "󰻃";
default = "󰘧";
}; };
}; };
"niri/language" = { "niri/language" = {
@ -745,11 +784,6 @@ in {
interval = "once"; interval = "once";
tooltip = false; tooltip = false;
}; };
"custom/text" = {
format = "here will be workspaces";
interval = "once";
tooltip = false;
};
"group/niri" = { "group/niri" = {
orientation = "inherit"; orientation = "inherit";
modules = [ modules = [