nixos: gen 94 @ lilac — 2026-10-21 15:04 26.05.20260918.cf9d2fb (Yarara) -----
This commit is contained in:
Generated
+55
@@ -169,6 +169,24 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -213,6 +231,27 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-float-sticky": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1788698372,
|
||||
"narHash": "sha256-kQiZEjeviamwC/kUhc2p089cqNpjkcjzzIAv1UWW4tw=",
|
||||
"owner": "probeldev",
|
||||
"repo": "niri-float-sticky",
|
||||
"rev": "b3e79bd99bf99b993c3348f0051564f9d25f65e4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "probeldev",
|
||||
"repo": "niri-float-sticky",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -340,6 +379,7 @@
|
||||
"dms-plugin-registry": "dms-plugin-registry",
|
||||
"home-manager": "home-manager",
|
||||
"niri": "niri",
|
||||
"niri-float-sticky": "niri-float-sticky",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
@@ -367,6 +407,21 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wvkbd-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
# Desktop/Shell/UI
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
|
||||
niri-float-sticky = {
|
||||
url = "github:probeldev/niri-float-sticky";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
wvkbd-src = {
|
||||
url = "github:jjsullivan5196/wvkbd";
|
||||
flake = false;
|
||||
@@ -53,7 +58,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, sops-nix, niri, dms, dgop, dank-greeter, dankcalendar, dms-plugin-registry, wvkbd-src, nixos-hardware, ... }@inputs: {
|
||||
outputs = { nixpkgs, home-manager, sops-nix, niri, niri-float-sticky, dms, dgop, dank-greeter, dankcalendar, dms-plugin-registry, wvkbd-src, nixos-hardware, ... }@inputs: {
|
||||
nixosConfigurations = {
|
||||
violet = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
+3
-21
@@ -1,27 +1,6 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
pip-handler = pkgs.writeShellScriptBin "pip-handler" ''
|
||||
# Listen to Niri window events continuously
|
||||
niri msg event-stream | while read -r line; do
|
||||
# Check if a new window event fired
|
||||
if echo "$line" | grep -q '"WindowOpened"'; then
|
||||
|
||||
# Give the window a split second to populate its title metadata
|
||||
sleep 0.1
|
||||
|
||||
# Use nirius or niri msg to evaluate the currently focused window title
|
||||
# If it matches Picture-in-Picture, invoke nirius toggle-follow-mode
|
||||
WINDOW_TITLE=$(niri msg focused-window | grep "Title:" | sed 's/Title: //')
|
||||
|
||||
if [[ "$WINDOW_TITLE" =~ [Pp]icture.in.[Pp]icture ]]; then
|
||||
# Executes nirius follow mode trigger
|
||||
nirius toggle-follow-mode --policy always
|
||||
fi
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
||||
launch-lisgd = pkgs.writeShellScriptBin "launch-lisgd" ''
|
||||
# Search for the capacitive touch layer and extract its event number.
|
||||
# UPDATE 'Touchscreen' below to match the unique word you found in step 1.
|
||||
@@ -137,6 +116,9 @@ in
|
||||
XF86MonBrightnessDown { spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; }
|
||||
XF86MonBrightnessUp { spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; }
|
||||
}
|
||||
|
||||
|
||||
spawn-at-startup "niri-float-sticky"
|
||||
spawn-at-startup "/nix/store/b1kxyzg5r6644mcmjh8jwsb8rinqzsw8-launch-wvkbd/bin/launch-wvkbd"
|
||||
spawn-at-startup "/nix/store/l9k161qcs6ypzzbicjhkn8b203r610j6-launch-lisgd/bin/launch-lisgd"
|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ in
|
||||
kicad
|
||||
libreoffice
|
||||
librewolf
|
||||
nirius
|
||||
pdftk
|
||||
picom
|
||||
prismlauncher
|
||||
|
||||
Reference in New Issue
Block a user