Compare commits
No commits in common. "8ce856773a3959a1e12ee6af0860e55d63f48cbc" and "581526011bfbb11e36ca22430249cad9615977aa" have entirely different histories.
8ce856773a
...
581526011b
6 changed files with 101 additions and 47 deletions
50
flake.lock
generated
50
flake.lock
generated
|
|
@ -307,12 +307,8 @@
|
||||||
},
|
},
|
||||||
"niri": {
|
"niri": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"niri-stable": [
|
"niri-stable": "niri-stable",
|
||||||
"niri-blur"
|
"niri-unstable": "niri-unstable",
|
||||||
],
|
|
||||||
"niri-unstable": [
|
|
||||||
"niri-blur"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
|
|
@ -323,33 +319,48 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771682768,
|
"lastModified": 1771514840,
|
||||||
"narHash": "sha256-RJ9RVJSAktCgWiqLDCjYmx9KgMuLaszUrI28k92Pa2I=",
|
"narHash": "sha256-t3WbZvwoDj/75YDX/nwkZuxanZLZaWr9meSfKswaN6g=",
|
||||||
"owner": "sckova",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "383bd9d32706b163807b05983418069b2e692310",
|
"rev": "4f69ab280e9bb34e2c0b67fdfa6f0978a170ef56",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "sckova",
|
"owner": "sodiboo",
|
||||||
"ref": "feat/blur",
|
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"niri-blur": {
|
"niri-stable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771672342,
|
"lastModified": 1756556321,
|
||||||
"narHash": "sha256-52CxMRH2kVGpsPBiZM+996b6i/3XkmOrySm5zqwWc+o=",
|
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
|
||||||
"owner": "niri-wm",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "86f42d1ed9ab787c52ace073e0b3218e26530d25",
|
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "niri-wm",
|
"owner": "YaLTeR",
|
||||||
"ref": "wip/branch",
|
"ref": "v25.08",
|
||||||
|
"repo": "niri",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"niri-unstable": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771305475,
|
||||||
|
"narHash": "sha256-lqweVTwHhYc+9T33cysp38gVwxaibGJHriOPZXWyhCY=",
|
||||||
|
"owner": "YaLTeR",
|
||||||
|
"repo": "niri",
|
||||||
|
"rev": "a2a52911757cb3b497db9407592f9b4c439571ea",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -584,7 +595,6 @@
|
||||||
"catppuccin-discord": "catppuccin-discord",
|
"catppuccin-discord": "catppuccin-discord",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"niri-blur": "niri-blur",
|
|
||||||
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs-unstable"
|
"nixpkgs-unstable"
|
||||||
|
|
|
||||||
11
flake.nix
11
flake.nix
|
|
@ -44,16 +44,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
niri = {
|
niri = {
|
||||||
url = "github:sckova/niri-flake/feat/blur";
|
url = "github:sodiboo/niri-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
|
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
|
||||||
inputs.niri-stable.follows = "niri-blur";
|
# inputs.niri-stable.follows = "niri-blur";
|
||||||
inputs.niri-unstable.follows = "niri-blur";
|
# inputs.niri-unstable.follows = "niri-blur";
|
||||||
};
|
|
||||||
|
|
||||||
niri-blur = {
|
|
||||||
url = "github:niri-wm/niri/wip/branch";
|
|
||||||
flake = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# niri-blur = {
|
# niri-blur = {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,11 @@
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# https://github.com/YaLTeR/niri/issues/2330#issuecomment-3256864777
|
||||||
|
programs.niri.settings.debug = {
|
||||||
|
render-drm-device = "/dev/dri/card2";
|
||||||
|
};
|
||||||
|
|
||||||
programs.noctalia-shell.settings.bar = {
|
programs.noctalia-shell.settings.bar = {
|
||||||
position = "top";
|
position = "top";
|
||||||
density = "spacious";
|
density = "spacious";
|
||||||
|
|
|
||||||
|
|
@ -28,14 +28,16 @@
|
||||||
Description = "Mount Synology NAS with Rclone and Home Manager.";
|
Description = "Mount Synology NAS with Rclone and Home Manager.";
|
||||||
After = [ "tailscaled.service" ];
|
After = [ "tailscaled.service" ];
|
||||||
Wants = [ "tailscaled.service" ];
|
Wants = [ "tailscaled.service" ];
|
||||||
StartLimitBurst = 5;
|
|
||||||
StartLimitIntervalSec = "1m";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Restart = "on-failure";
|
# ExecStartPre = "${pkgs.writeShellScript "synology-prep" ''
|
||||||
RestartSec = "1m";
|
# if mountpoint -q %h/Synology; then
|
||||||
|
# /run/wrappers/bin/fusermount -uz %h/Synology
|
||||||
|
# fi
|
||||||
|
# ${pkgs.coreutils}/bin/mkdir -p %h/Synology
|
||||||
|
# ''}";
|
||||||
ExecStart = "${pkgs.writeShellScript "synology-mount" ''
|
ExecStart = "${pkgs.writeShellScript "synology-mount" ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
@ -63,4 +65,49 @@
|
||||||
WantedBy = [ "default.target" ];
|
WantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# systemd.user.services.synology-prefill = {
|
||||||
|
# Unit = {
|
||||||
|
# Description = "Prefill Synology NAS rclone cache";
|
||||||
|
# After = [ "synology-mount.service" ];
|
||||||
|
# Wants = [ "synology-mount.service" ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Service = {
|
||||||
|
# Type = "simple";
|
||||||
|
# ExecStart = "${pkgs.writeShellScript "synology-prefill" ''
|
||||||
|
# #!/usr/bin/env bash
|
||||||
|
# set -euo pipefail
|
||||||
|
# ${pkgs.rclone}/bin/rclone rc vfs/refresh -v --fast-list recursive=true >/dev/null
|
||||||
|
# ''}";
|
||||||
|
# StandardOutput = "journal";
|
||||||
|
# StandardError = "journal";
|
||||||
|
# Restart = "on-failure";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Install = {
|
||||||
|
# WantedBy = [ "default.target" ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
# systemd.user.services.input-leap = {
|
||||||
|
# Unit = {
|
||||||
|
# Description = "Autostart Input Leap";
|
||||||
|
# After = [ "graphical-session.target" ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Service = {
|
||||||
|
# Type = "oneshot";
|
||||||
|
# RemainAfterExit = true;
|
||||||
|
# PassEnvironment = "DISPLAY";
|
||||||
|
# ExecStart = "${pkgs.writeShellScript "input-leap-start" ''
|
||||||
|
# sleep 5
|
||||||
|
# ${pkgs.input-leap}/bin/input-leap
|
||||||
|
# ''}";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Install = {
|
||||||
|
# WantedBy = [ "graphical-session.target" ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -83,11 +83,13 @@
|
||||||
};
|
};
|
||||||
cursor = {
|
cursor = {
|
||||||
hide-when-typing = false;
|
hide-when-typing = false;
|
||||||
|
# hide-after-inactive-ms = 10000;
|
||||||
size = config.userOptions.cursor.size;
|
size = config.userOptions.cursor.size;
|
||||||
theme = config.userOptions.cursor.name;
|
theme = config.userOptions.cursor.name;
|
||||||
};
|
};
|
||||||
layout = {
|
layout = {
|
||||||
gaps = 4;
|
gaps = 4;
|
||||||
|
# background-color = base10;
|
||||||
background-color = "transparent";
|
background-color = "transparent";
|
||||||
default-column-width = {
|
default-column-width = {
|
||||||
proportion = 0.5;
|
proportion = 0.5;
|
||||||
|
|
@ -119,6 +121,12 @@
|
||||||
softness = 30;
|
softness = 30;
|
||||||
color = base11 + "BF";
|
color = base11 + "BF";
|
||||||
};
|
};
|
||||||
|
# blur = {
|
||||||
|
# enable = true;
|
||||||
|
# passes = 4;
|
||||||
|
# radius = 4;
|
||||||
|
# noise = 0.1;
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
|
|
@ -129,13 +137,7 @@
|
||||||
bottom-right = 8.0;
|
bottom-right = 8.0;
|
||||||
};
|
};
|
||||||
clip-to-geometry = true;
|
clip-to-geometry = true;
|
||||||
opacity = 0.95;
|
opacity = 0.975;
|
||||||
background-effect = {
|
|
||||||
xray = false;
|
|
||||||
blur = true;
|
|
||||||
noise = 0.05;
|
|
||||||
saturation = 1;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
|
|
@ -168,7 +170,7 @@
|
||||||
is-active = false;
|
is-active = false;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
opacity = 0.925;
|
opacity = 0.95;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
|
|
@ -189,10 +191,6 @@
|
||||||
{
|
{
|
||||||
app-id = "mpv";
|
app-id = "mpv";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
app-id = "firefox";
|
|
||||||
title = "Picture-in-Picture";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
opacity = 1.0;
|
opacity = 1.0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,10 @@
|
||||||
|
|
||||||
systemd.user.services.bing-wallpaper = {
|
systemd.user.services.bing-wallpaper = {
|
||||||
Unit.Description = "Download and set Bing wallpaper of the day";
|
Unit.Description = "Download and set Bing wallpaper of the day";
|
||||||
Unit.StartLimitBurst = 6;
|
Unit.StartLimitBurst = 5;
|
||||||
Unit.StartLimitIntervalSec = "10m";
|
Unit.StartLimitIntervalSec = "10m";
|
||||||
Service.Restart = "on-failure";
|
Service.Restart = "on-failure";
|
||||||
Service.RestartSec = "10s";
|
Service.RestartSec = "1m";
|
||||||
Service.Type = "oneshot";
|
Service.Type = "oneshot";
|
||||||
Service.ExecStart = pkgs.lib.getExe (
|
Service.ExecStart = pkgs.lib.getExe (
|
||||||
pkgs.writeShellApplication {
|
pkgs.writeShellApplication {
|
||||||
|
|
@ -68,7 +68,6 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
Service.ExecStartPost = "${pkgs.systemd}/bin/systemctl --user restart awww-setter.service";
|
Service.ExecStartPost = "${pkgs.systemd}/bin/systemctl --user restart awww-setter.service";
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.timers.bing-wallpaper = {
|
systemd.user.timers.bing-wallpaper = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue