Compare commits

..

No commits in common. "e789fc824de1a3a53b240b9ed8e96fdcf8696307" and "861d7e5574dbf148aa3d28503302c2bfac22ef14" have entirely different histories.

6 changed files with 338 additions and 358 deletions

30
etcnixos/flake.lock generated
View File

@ -33,11 +33,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729599319, "lastModified": 1729348269,
"narHash": "sha256-e/4JPcIRte5zkwqmGFrFo3763e0iHURX6N0apz4jbI0=", "narHash": "sha256-KCjrPNlEgEVFYs8wHIpd4iBelAV9L9QYsynoMYihIFw=",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "1b86b304c8eb1437d9337a760e7f930826fc4d6d", "rev": "528723447ef037a1c081add43f4fd46440c9c3b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -186,11 +186,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729414726, "lastModified": 1729027341,
"narHash": "sha256-Dtmm1OU8Ymiy9hVWn/a2B8DhRYo9Eoyx9veERdOBR4o=", "narHash": "sha256-IqWD7bA9iJVifvJlB4vs2KUXVhN+d9lECWdNB4jJ0tE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "fe56302339bb28e3471632379d733547caec8103", "rev": "2a4fd1cfd8ed5648583dadef86966a8231024221",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -208,11 +208,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729177642, "lastModified": 1728974938,
"narHash": "sha256-DdKal+ZhB9QD/tnEwFg4cZ4j4YnrkvSljBxnyG+3eE0=", "narHash": "sha256-pTPEx6WlM+nJVGrRUGx7Di4ljZMwE9HfvlZ6f3NzNfo=",
"owner": "Jovian-Experiments", "owner": "Jovian-Experiments",
"repo": "Jovian-NixOS", "repo": "Jovian-NixOS",
"rev": "bb69165ff372ddbd3228a03513922acd783040e8", "rev": "23170582b0658e6afd913149a58863af3a57b376",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -271,11 +271,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1729742320, "lastModified": 1729455275,
"narHash": "sha256-u3Of8xRkN//me8PU+RucKA59/6RNy4B2jcGAF36P4jI=", "narHash": "sha256-THqzn/7um3oMHUEGXyq+1CJQE7EogwR3HjLMNOlhFBE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda", "rev": "9fcf30fccf8435f6390efec4a4d38e69c2268a36",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -287,11 +287,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729878015, "lastModified": 1729471405,
"narHash": "sha256-CNWmKiA00tGw+N+fDnt4+JfLF500oofJ7BikcVxg0zw=", "narHash": "sha256-QNH6AVw/p0iMMj36RumeXNpqhFFrXyxIzAn5H+dwR+Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6dbbd5a2622d9abf9263a5cb0a85ca218974b085", "rev": "dfd24c1593f41213e73e90effbbd963a45cd9413",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -72,11 +72,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729864948, "lastModified": 1729459288,
"narHash": "sha256-CeGSqbN6S8JmzYJX/HqZjr7dMGlvHLLnJJarwB45lPs=", "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0c0268a3c80d30b989d0aadbd65f38d4fa27a9a0", "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -98,11 +98,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1729841254, "lastModified": 1729450307,
"narHash": "sha256-KywrT/D1yMOLxc2xDJAPx9Z+qVoQw5rCScQR/lU3NTc=", "narHash": "sha256-jhpL4ttlp8kxBurzfdlNsnI0n3iOkpy0iDaSMG1DzqE=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "d7c058c0c0b8cd5b799a3a3ac4f8a1090454155e", "rev": "bfe9f1a9906e66c83cb073d281920e902cd63e01",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -131,11 +131,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1729744939, "lastModified": 1729444736,
"narHash": "sha256-QbfaNQa93yt4KKg5XNi1tUIfGoDIohxFp/PmHi8sruU=", "narHash": "sha256-/Q1yf6f9nUBFVqI/t89xfTPmQipaug63LP8TeENg4CA=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "c8044a9b5dbdb3e0648c86a00bfb63acfc06a559", "rev": "289ae3604d705cebc82cbcd23ee4534ded16d3af",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -146,11 +146,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729878015, "lastModified": 1729471405,
"narHash": "sha256-CNWmKiA00tGw+N+fDnt4+JfLF500oofJ7BikcVxg0zw=", "narHash": "sha256-QNH6AVw/p0iMMj36RumeXNpqhFFrXyxIzAn5H+dwR+Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6dbbd5a2622d9abf9263a5cb0a85ca218974b085", "rev": "dfd24c1593f41213e73e90effbbd963a45cd9413",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -174,11 +174,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1729691686, "lastModified": 1729181673,
"narHash": "sha256-BAuPWW+9fa1moZTU+jFh+1cUtmsuF8asgzFwejM4wac=", "narHash": "sha256-LDiPhQ3l+fBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "32e940c7c420600ef0d1ef396dc63b04ee9cad37", "rev": "4eb33fe664af7b41a4c446f87d20c9a0a6321fa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -205,11 +205,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729823394, "lastModified": 1729391507,
"narHash": "sha256-RiinJqorqSLKh1oSpiMHnBe6nQdJzE45lX6fSnAuDnI=", "narHash": "sha256-as0I9xieJUHf7kiK2a9znDsVZQTFWhM1pLivII43Gi0=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "7e52e80f5faa374ad4c607d62c6d362589cb523f", "rev": "784981a9feeba406de38c1c9a3decf966d853cca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -253,11 +253,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1729838433, "lastModified": 1729139001,
"narHash": "sha256-o9D859STqawTSe6mkXpm3xR/gitYgOHy32xOhOfT3vw=", "narHash": "sha256-BADKw4fQma8tUNBRfmS9YLXTRXK4nYyXIxQdhGuEV0s=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "67efa2c559b53d3ca90c131c06c247278783880d", "rev": "ab2d09962c425670a4a7ca6ef5d92a0f06632499",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -8,13 +8,22 @@ let
models = [ models = [
{ {
name = "Qwen2.5-14B-Instruct-IQ4_XS.gguf"; name = "Qwen2.5-14B-Instruct-IQ4_XS.gguf";
context_length = 32768; context_length = "32768";
gen_length = 8192; gen_length = "8192";
source = pkgs.fetchurl { source = pkgs.fetchurl {
url = "https://huggingface.co/bartowski/Qwen2.5-14B-Instruct-GGUF/resolve/main/Qwen2.5-14B-Instruct-IQ4_XS.gguf?download=true"; url = "https://huggingface.co/bartowski/Qwen2.5-14B-Instruct-GGUF/resolve/main/Qwen2.5-14B-Instruct-IQ4_XS.gguf?download=true";
sha256 = "+AHt49no0qQ48MoNsqGJV4FeJ3Cf2hSZqTMjNUIHaO4="; sha256 = "+AHt49no0qQ48MoNsqGJV4FeJ3Cf2hSZqTMjNUIHaO4=";
}; };
} }
{
name = "Qwen2.5-32B-Instruct-IQ4_XS.gguf";
context_length = "32768";
gen_length = "8192";
source = pkgs.fetchurl {
url = "https://huggingface.co/bartowski/Qwen2.5-32B-Instruct-GGUF/resolve/main/Qwen2.5-32B-Instruct-IQ4_XS.gguf?download=true";
sha256 = "iY14/8GApfYc5c0fTABsDO/X5/cxBpnbUbiUTcvzJQ4=";
};
}
]; ];
gpt4all_package = ( gpt4all_package = (
@ -68,9 +77,9 @@ in
+ (lib.concatStrings ( + (lib.concatStrings (
map (model: '' map (model: ''
[model-${model.name}] [model-${model.name}]
contextLength=${builtins.toString model.context_length} contextLength=${model.context_length}
filename=${model.name} filename=${model.name}
maxLength=${builtins.toString model.gen_length} maxLength=${model.gen_length}
promptBatchSize=256 promptBatchSize=256
promptTemplate=<|im_start|>user\n%1<|im_end|>\n<|im_start|>assistant\n promptTemplate=<|im_start|>user\n%1<|im_end|>\n<|im_start|>assistant\n
systemPrompt="<|im_start|>system\n${ systemPrompt="<|im_start|>system\n${

View File

@ -1,37 +1,31 @@
{ pkgs, ... }:
{ {
programs.swaylock = { color = "24273a";
enable = true; bs-hl-color = "f4dbd6";
settings = { caps-lock-bs-hl-color = "f4dbd6";
color = "24273a"; caps-lock-key-hl-color = "a6da95";
bs-hl-color = "f4dbd6"; inside-color = 0;
caps-lock-bs-hl-color = "f4dbd6"; inside-clear-color = 0;
caps-lock-key-hl-color = "a6da95"; inside-caps-lock-color = 0;
inside-color = 0; inside-ver-color = 0;
inside-clear-color = 0; inside-wrong-color = 0;
inside-caps-lock-color = 0; key-hl-color = "a6da95";
inside-ver-color = 0; layout-bg-color = 0;
inside-wrong-color = 0; layout-border-color = 0;
key-hl-color = "a6da95"; layout-text-color = "cad3f5";
layout-bg-color = 0; line-color = 0;
layout-border-color = 0; line-clear-color = 0;
layout-text-color = "cad3f5"; line-caps-lock-color = 0;
line-color = 0; line-ver-color = 0;
line-clear-color = 0; line-wrong-color = 0;
line-caps-lock-color = 0; ring-color = "b7bdf8";
line-ver-color = 0; ring-clear-color = "f4dbd6";
line-wrong-color = 0; ring-caps-lock-color = "f5a97f";
ring-color = "b7bdf8"; ring-ver-color = "8aadf4";
ring-clear-color = "f4dbd6"; ring-wrong-color = "ee99a0";
ring-caps-lock-color = "f5a97f"; separator-color = 0;
ring-ver-color = "8aadf4"; text-color = "cad3f5";
ring-wrong-color = "ee99a0"; text-clear-color = "f4dbd6";
separator-color = 0; text-caps-lock-color = "f5a97f";
text-color = "cad3f5"; text-ver-color = "8aadf4";
text-clear-color = "f4dbd6"; text-wrong-color = "ee99a0";
text-caps-lock-color = "f5a97f";
text-ver-color = "8aadf4";
text-wrong-color = "ee99a0";
};
};
} }

View File

@ -1,273 +1,253 @@
{ pkgs, ... }: { pkgs }:
{ {
programs.waybar = { enable = true;
enable = true; settings.mainBar = {
settings.mainBar = { layer = "top";
layer = "top"; position = "top";
position = "top"; # mod = "dock";
# mod = "dock"; # exclusive = true;
# exclusive = true; # gtk-layer-shell = true;
# gtk-layer-shell = true; margin-bottom = -1;
margin-bottom = -1; # passthrough = false;
# passthrough = false; height = 32;
height = 32; modules-left =
modules-left = [
[
];
modules-center = [ "clock" ];
modules-right = [
"cpu"
"memory"
"tray"
"bluetooth"
"pulseaudio"
"network"
"battery"
]; ];
cpu = { modules-center = [ "clock" ];
interval = 5; modules-right = [
format = " {usage}%"; "cpu"
max-length = 10; "memory"
}; "tray"
memory = { "pulseaudio"
interval = 10; "network"
format = " {percentage}%"; "battery"
max-length = 10; ];
tooltip = true; cpu = {
tooltip-format = "RAM - {used:0.1f}GiB used"; interval = 5;
}; format = " {usage}%";
tray = { max-length = 10;
icon-size = 18; };
spacing = 3; memory = {
}; interval = 10;
clock = { format = " {percentage}%";
format = " {:%R\n %d.%m.%Y}"; max-length = 10;
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip = true;
calendar = { tooltip-format = "RAM - {used:0.1f}GiB used";
mode = "year"; };
mode-mon-col = 3; tray = {
weeks-pos = "right"; icon-size = 18;
on-scroll = 1; spacing = 3;
on-click-right = "mode"; };
format = { clock = {
months = "<span color='#ffead3'><b>{}</b></span>"; format = " {:%R\n %d.%m.%Y}";
days = "<span color='#ecc6d9'><b>{}</b></span>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
weeks = "<span color='#99ffdd'><b>W{}</b></span>"; calendar = {
weekdays = "<span color='#ffcc66'><b>{}</b></span>"; mode = "year";
today = "<span color='#ff6699'><b><u>{}</u></b></span>"; mode-mon-col = 3;
}; weeks-pos = "right";
}; on-scroll = 1;
actions = { on-click-right = "mode";
on-click-right = "mode"; format = {
on-click-forward = "tz_up"; months = "<span color='#ffead3'><b>{}</b></span>";
on-click-backward = "tz_down"; days = "<span color='#ecc6d9'><b>{}</b></span>";
on-scroll-up = "shift_up"; weeks = "<span color='#99ffdd'><b>W{}</b></span>";
on-scroll-down = "shift_down"; weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
}; };
}; };
actions = {
network = { on-click-right = "mode";
format-wifi = " {icon}"; on-click-forward = "tz_up";
tooltip-format-wifi = "{essid} ({signalStrength}%)"; on-click-backward = "tz_down";
format-ethernet = " "; on-scroll-up = "shift_up";
format-disconnected = "󰌙 "; on-scroll-down = "shift_down";
format-icons = [
"󰤯 "
"󰤟 "
"󰤢 "
"󰤢 "
"󰤨 "
];
# tooltip = false;
};
battery = {
states = {
good = 95;
warning = 30;
critical = 20;
};
format = " {icon} {capacity}%";
format-charging = " {capacity}%";
format-plugged = " {capacity}%";
format-alt = "{time} {icon}";
format-icons = [
"󰂎"
"󰁺"
"󰁻"
"󰁼"
"󰁽"
"󰁾"
"󰁿"
"󰂀"
"󰂁"
"󰂂"
"󰁹"
];
};
# not actually pulseaudio-specific (I use pipewire!)
pulseaudio = {
max-volume = 100;
scroll-step = 10;
format = "{icon}";
tooltip-format = "{desc} ({volume}%)";
format-muted = "🔇";
format-icons = {
default = [
" "
" "
" "
];
};
on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
};
bluetooth = {
format = " ({status}) ";
format-connected = " {device_alias}";
format-connected-battery = " {device_alias} {device_battery_percentage}%";
tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected";
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}";
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%";
on-click = "${pkgs.blueman}/bin/blueman-manager";
}; };
}; };
network = {
style = '' format-wifi = " {icon}";
/*base background color*/ format-ethernet = " ";
@define-color bg_main rgba(25, 25, 25, 1.0); format-disconnected = "󰌙 ";
@define-color bg_main_tooltip rgba(0, 0, 0, 0.7); format-icons = [
"󰤯 "
"󰤟 "
/*base background color of selections */ "󰤢 "
@define-color bg_hover rgba(200, 200, 200, 0.3); "󰤢 "
/*base background color of active elements */ "󰤨 "
@define-color bg_active rgba(100, 100, 100, 0.5); ];
};
/*base border color*/ battery = {
@define-color border_main rgba(255, 255, 255, 0.2); states = {
good = 95;
/*text color for entries, views and content in general */ warning = 30;
@define-color content_main white; critical = 20;
/*text color for entries that are unselected */ };
@define-color content_inactive rgba(255, 255, 255, 0.25); format = " {icon} {capacity}%";
format-charging = " {capacity}%";
* { format-plugged = " {capacity}%";
text-shadow: none; format-alt = "{time} {icon}";
box-shadow: none; format-icons = [
border: none; "󰂎"
border-radius: 0; "󰁺"
font-family: "Segoe UI", "Ubuntu"; "󰁻"
font-weight: 600; "󰁼"
font-size: 12.7px; "󰁽"
} "󰁾"
"󰁿"
window#waybar { "󰂀"
background: @bg_main; "󰂁"
border-top: 0; "󰂂"
color: @content_main; "󰁹"
} ];
};
tooltip { # not actually pulseaudio-specific
background: @bg_main_tooltip; pulseaudio = {
border-radius: 5px; max-volume = 100;
border-width: 1px; scroll-step = 10;
border-style: solid; format = "{icon}";
border-color: @border_main; tooltip-format = "{volume}%";
} format-muted = "🔇";
format-icons = {
tooltip label { default = [
color: @content_main; " "
} " "
" "
#taskbar { ];
} };
on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
#taskbar button { };
min-width: 130px;
border-bottom: 3px solid rgba(255, 255, 255, 0.3);
margin-left: 2px;
margin-right: 2px;
padding-left: 8px;
padding-right: 8px;
color: white;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#taskbar button.active {
border-bottom: 3px solid white;
background: @bg_active;
}
#taskbar button:hover {
border-bottom: 3px solid white;
background: @bg_hover;
color: @content_main;
}
#cpu, #memory {
padding:3px;
}
#window {
border-radius: 10px;
margin-left: 20px;
margin-right: 20px;
}
#tray {
margin-left: 5px;
margin-right: 5px;
}
#tray > .passive {
border-bottom: none;
}
#tray > .active {
border-bottom: 3px solid white;
}
#tray > .needs-attention {
border-bottom: 3px solid @warning_color;
}
#tray > widget {
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#tray > widget:hover {
background: @bg_hover;
}
#pulseaudio {
font-family: "JetBrains Mono Nerd Font";
padding-left: 3px;
padding-right: 3px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#pulseaudio:hover {
background: @bg_hover;
}
#network {
padding-left: 3px;
padding-right: 3px;
}
#clock {
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#clock:hover {
background: @bg_hover;
}
'';
}; };
style = ''
/*base background color*/
@define-color bg_main rgba(25, 25, 25, 1.0);
@define-color bg_main_tooltip rgba(0, 0, 0, 0.7);
/*base background color of selections */
@define-color bg_hover rgba(200, 200, 200, 0.3);
/*base background color of active elements */
@define-color bg_active rgba(100, 100, 100, 0.5);
/*base border color*/
@define-color border_main rgba(255, 255, 255, 0.2);
/*text color for entries, views and content in general */
@define-color content_main white;
/*text color for entries that are unselected */
@define-color content_inactive rgba(255, 255, 255, 0.25);
* {
text-shadow: none;
box-shadow: none;
border: none;
border-radius: 0;
font-family: "Segoe UI", "Ubuntu";
font-weight: 600;
font-size: 12.7px;
}
window#waybar {
background: @bg_main;
border-top: 0;
color: @content_main;
}
tooltip {
background: @bg_main_tooltip;
border-radius: 5px;
border-width: 1px;
border-style: solid;
border-color: @border_main;
}
tooltip label {
color: @content_main;
}
#taskbar {
}
#taskbar button {
min-width: 130px;
border-bottom: 3px solid rgba(255, 255, 255, 0.3);
margin-left: 2px;
margin-right: 2px;
padding-left: 8px;
padding-right: 8px;
color: white;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#taskbar button.active {
border-bottom: 3px solid white;
background: @bg_active;
}
#taskbar button:hover {
border-bottom: 3px solid white;
background: @bg_hover;
color: @content_main;
}
#cpu, #memory {
padding:3px;
}
#window {
border-radius: 10px;
margin-left: 20px;
margin-right: 20px;
}
#tray {
margin-left: 5px;
margin-right: 5px;
}
#tray > .passive {
border-bottom: none;
}
#tray > .active {
border-bottom: 3px solid white;
}
#tray > .needs-attention {
border-bottom: 3px solid @warning_color;
}
#tray > widget {
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#tray > widget:hover {
background: @bg_hover;
}
#pulseaudio {
font-family: "JetBrains Mono Nerd Font";
padding-left: 3px;
padding-right: 3px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#pulseaudio:hover {
background: @bg_hover;
}
#network {
padding-left: 3px;
padding-right: 3px;
}
#clock {
padding-right: 5px;
padding-left: 5px;
transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#clock:hover {
background: @bg_hover;
}
'';
} }

View File

@ -8,34 +8,23 @@
{ {
imports = [ imports = [
./gui.nix ./gui.nix
# niri wayland compositor
./progs/niri.nix ./progs/niri.nix
# waybar for status bar
./progs/waybar.nix
./progs/swaylock.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
wdisplays wdisplays
intel-gpu-tools intel-gpu-tools
swaylock
# manage bluetooth devices
blueman
# used by /etc/nixos logic to launch niri # used by /etc/nixos logic to launch niri
config.programs.niri.package config.programs.niri.package
]; ];
# media controls # bluetooth manager
systemd.user.services.mpris-proxy = { services.blueman-applet.enable = true;
Unit.Description = "Mpris proxy";
Install.After = [
"network.target"
"sound.target"
];
Install.WantedBy = [ "default.target" ];
Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
# notification daemon # notification daemon
services.dunst = { services.dunst = {
@ -43,6 +32,14 @@
package = pkgs.dunst; package = pkgs.dunst;
}; };
programs.swaylock = {
enable = true;
settings = import ./progs/swaylock.nix;
};
# waybar for status bar
programs.waybar = import ./progs/waybar.nix { inherit pkgs; };
# rofi for application launcher # rofi for application launcher
programs.rofi = { programs.rofi = {
enable = true; enable = true;
@ -80,7 +77,7 @@
# Filter: ON PK Fc 7500.0 Hz Gain -2.09 dB Q 3.0 # Filter: ON PK Fc 7500.0 Hz Gain -2.09 dB Q 3.0
# Filter: ON PK Fc 8000.0 Hz Gain 2.01 dB Q 4.36 # Filter: ON PK Fc 8000.0 Hz Gain 2.01 dB Q 4.36
# Filter: ON PK Fc 900.0 Hz Gain -4.12 dB Q 5.909999999999967 # Filter: ON PK Fc 900.0 Hz Gain -4.12 dB Q 5.909999999999967
home.file.".config/easyeffects/output/${config.services.easyeffects.preset}.json".text = home.file.".config/easyeffects/output/framework.json".text =
let let
baseBand = { baseBand = {
mode = "RLC (BT)"; mode = "RLC (BT)";