mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-06-22 05:31:16 +02:00
Compare commits
No commits in common. "03777592fe6eed6975190a1fd0a0d34480c6eea8" and "fa4a4034f29a8f229dc66c00beb9280d6d236a72" have entirely different histories.
03777592fe
...
fa4a4034f2
21 changed files with 159 additions and 244 deletions
35
Cargo.lock
generated
35
Cargo.lock
generated
|
|
@ -689,9 +689,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "niri-ipc"
|
name = "niri-ipc"
|
||||||
version = "26.4.0"
|
version = "25.5.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6a4adbddf4037ce047854d36a60b5bf80a7990b8db2f0a0b9ede7534b0bae09a"
|
checksum = "dc3e165f7854b2f83054a2e8f7024baa49666ad25cdb95b8fb9fd17c48045605"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
|
@ -1028,28 +1028,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.228"
|
version = "1.0.219"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
||||||
dependencies = [
|
|
||||||
"serde_core",
|
|
||||||
"serde_derive",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "serde_core"
|
|
||||||
version = "1.0.228"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
version = "1.0.228"
|
version = "1.0.219"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
|
@ -1058,15 +1048,14 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_json"
|
name = "serde_json"
|
||||||
version = "1.0.149"
|
version = "1.0.140"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"itoa",
|
"itoa",
|
||||||
"memchr",
|
"memchr",
|
||||||
|
"ryu",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_core",
|
|
||||||
"zmij",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -1742,9 +1731,3 @@ name = "zeroize"
|
||||||
version = "1.8.1"
|
version = "1.8.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
|
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zmij"
|
|
||||||
version = "1.0.21"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ with builtins;
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
nixfmt
|
nixfmt-rfc-style
|
||||||
overskride
|
overskride
|
||||||
transmission_4-gtk
|
transmission_4-gtk
|
||||||
|
|
||||||
|
|
@ -22,10 +22,6 @@ with builtins;
|
||||||
|
|
||||||
gnucobol
|
gnucobol
|
||||||
|
|
||||||
patchage
|
|
||||||
musescore
|
|
||||||
material-maker
|
|
||||||
|
|
||||||
intiface-central
|
intiface-central
|
||||||
|
|
||||||
ausweisapp
|
ausweisapp
|
||||||
|
|
@ -40,7 +36,6 @@ with builtins;
|
||||||
iw
|
iw
|
||||||
nodejs
|
nodejs
|
||||||
nautilus
|
nautilus
|
||||||
lixPackageSets.latest.colmena
|
|
||||||
|
|
||||||
cmatrix
|
cmatrix
|
||||||
sl
|
sl
|
||||||
|
|
@ -90,7 +85,7 @@ with builtins;
|
||||||
nixpkgs-review
|
nixpkgs-review
|
||||||
nix-eval-jobs
|
nix-eval-jobs
|
||||||
nix-fast-build
|
nix-fast-build
|
||||||
# colmena
|
colmena
|
||||||
;
|
;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
||||||
160
flake.lock
generated
160
flake.lock
generated
|
|
@ -38,11 +38,11 @@
|
||||||
"base16-helix": {
|
"base16-helix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776754714,
|
"lastModified": 1760703920,
|
||||||
"narHash": "sha256-E3OAK27smtATTmX45uoTSRsVD+Y+ZiVVfgM/tjpbtYg=",
|
"narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-helix",
|
"repo": "base16-helix",
|
||||||
"rev": "4d508123037e7851ad36ebf7d9c48b0e9e1eb581",
|
"rev": "d646af9b7d14bff08824538164af99d0c521b185",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -70,11 +70,11 @@
|
||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781825982,
|
"lastModified": 1777689689,
|
||||||
"narHash": "sha256-SlXKwIRIhrOSAcTjCB3ftPLzJWZStQIPS7J1FlZPnKk=",
|
"narHash": "sha256-HGdYOOU4j7w5I/Tlve6z/Q/P9cGHZMhSlALlgfikjsU=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "469fd08d0bcf6926321fa973c6777fbc87785dd7",
|
"rev": "709b316b6ba9424932b33761549e2117bbb3c5ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -106,11 +106,11 @@
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781947848,
|
"lastModified": 1777708550,
|
||||||
"narHash": "sha256-IergMRaafR+NBhWxgHuSRfsVKKnB7mSiYAsW728RYJM=",
|
"narHash": "sha256-Qif3UXT0l5OQq8H9pRWt4/ia4gF48MWK2oHKL8uVx8U=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "ab90d0629159f412313b6bde02bdc346bd9c8b3b",
|
"rev": "74c1591efaff494756b8d35ebe357c6c2bbdca96",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -144,11 +144,11 @@
|
||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779670703,
|
"lastModified": 1775176642,
|
||||||
"narHash": "sha256-UdfMivNMwCCqQsYDg5pSz8X2IOaOrIZLIIy+Bg3CO2o=",
|
"narHash": "sha256-2veEED0Fg7Fsh81tvVDNYR6SzjqQxa7hbi18Jv4LWpM=",
|
||||||
"owner": "rafaelmardojai",
|
"owner": "rafaelmardojai",
|
||||||
"repo": "firefox-gnome-theme",
|
"repo": "firefox-gnome-theme",
|
||||||
"rev": "942159e73e40bf785816f7f1f5feed9ef3d7c8f9",
|
"rev": "179704030c5286c729b5b0522037d1d51341022c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -176,11 +176,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778716662,
|
"lastModified": 1777678872,
|
||||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
"narHash": "sha256-EPIFsulyon7Z1vLQq5Fk64GR8L7cQsT+IPhcsukVbgk=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
"rev": "5250617bffd85403b14dbf43c3870e7f255d2c16",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -197,11 +197,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778716662,
|
"lastModified": 1775087534,
|
||||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -268,11 +268,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781906751,
|
"lastModified": 1777760447,
|
||||||
"narHash": "sha256-6Ld1PqmptFtFKblE+SynhRgyBApUWcmrISetWqWHeeo=",
|
"narHash": "sha256-6Tq5I0u85ROgesFWvFUrWsJvPtIn51nsPU+EgXAMl/0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "37f21dfa5d27e71b75bacd9418b156f9265e312e",
|
"rev": "561bd674646db26ebfccc79b4fbef89f335505db",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -289,11 +289,11 @@
|
||||||
"nixpkgs-nixcord": "nixpkgs-nixcord"
|
"nixpkgs-nixcord": "nixpkgs-nixcord"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781918107,
|
"lastModified": 1777740049,
|
||||||
"narHash": "sha256-Fva6sbK1BiMgi9b+F7zDcBDNUeUlavWpO7hGi27xu4A=",
|
"narHash": "sha256-O8rXPZaARIjp4fh20wkeRWeElYbp4Dgp8pKk3Ikkj40=",
|
||||||
"owner": "kaylorben",
|
"owner": "kaylorben",
|
||||||
"repo": "nixcord",
|
"repo": "nixcord",
|
||||||
"rev": "d9aad20784cb2fe8142f2e934d29e1c722cc71d6",
|
"rev": "853aa014283c1d3e58df7213c36d3a739cab1b6f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -303,15 +303,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781622756,
|
"lastModified": 1776983936,
|
||||||
"narHash": "sha256-JrPh4M6S7aPsEE9tOENuZrxC6o2szSLlK+t4+nLke9s=",
|
"narHash": "sha256-ZOQyNqSvJ8UdrrqU1p7vaFcdL53idK+LOM8oRWEWh6o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "08018c72174a4df5657f8d94178ac69fb9c243e5",
|
"rev": "2096f3f411ce46e88a79ae4eafcfc9df8ed41c61",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -321,16 +318,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780453794,
|
"lastModified": 1777428379,
|
||||||
"narHash": "sha256-bXMRa9VTsHSPXL4Cw8R6JJLQeY3Y/IP4+YJCYVmQ7FY=",
|
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6b316287bae2ee04c9b93c8c858d930fd07d7338",
|
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-26.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -364,27 +361,27 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-nixcord": {
|
"nixpkgs-nixcord": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780453794,
|
"lastModified": 1777428379,
|
||||||
"narHash": "sha256-bXMRa9VTsHSPXL4Cw8R6JJLQeY3Y/IP4+YJCYVmQ7FY=",
|
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6b316287bae2ee04c9b93c8c858d930fd07d7338",
|
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-26.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781509190,
|
"lastModified": 1777428379,
|
||||||
"narHash": "sha256-uJZs9Di8I6ciTp6jiojj0HzlNpBkud8ax5aT/O5aJkw=",
|
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d6df3513510aa548c83868fd22bfddd0a8c0a0d4",
|
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -395,11 +392,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable-small": {
|
"nixpkgs-unstable-small": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781836206,
|
"lastModified": 1777718177,
|
||||||
"narHash": "sha256-BGjXqZOcLbkjwt8smyUskR8hNl7piTg8ccpQdSTw09s=",
|
"narHash": "sha256-qq56SczKpUNKcm8xdOsXYLzaX37p1bLS0fFaCMB7s3Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d4fea6b6bfce7b55c6df36fb973205b89d7fe761",
|
"rev": "e59d8bfa2cc42b1e1104595ac4292cfedce7f1a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -410,24 +407,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767892417,
|
"lastModified": 1777578337,
|
||||||
"narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=",
|
"narHash": "sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM+Z4=",
|
||||||
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1781577229,
|
|
||||||
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
|
"rev": "15f4ee454b1dce334612fa6843b3e05cf546efab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -436,13 +420,13 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780243769,
|
"lastModified": 1775036866,
|
||||||
"narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=",
|
"narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "331800de5053fcebacf6813adb5db9c9dca22a0c",
|
"rev": "6201e203d09599479a3b3450ed24fa81537ebc4e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -452,7 +436,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726937504,
|
"lastModified": 1726937504,
|
||||||
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
|
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
|
||||||
|
|
@ -480,11 +464,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780281641,
|
"lastModified": 1775228139,
|
||||||
"narHash": "sha256-M/+hUKoKbHXpV0xGVfELbN1Ds1aoe3pL5p5/t46YhVo=",
|
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "30f9ae2f04174de63ba8bcf3580ca90843b28a01",
|
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -500,7 +484,7 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
|
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
|
|
@ -510,11 +494,11 @@
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781933682,
|
"lastModified": 1777639980,
|
||||||
"narHash": "sha256-ing9gva28bsg0g0dws5/gir/23NoyCX5wzvrRSQDI2I=",
|
"narHash": "sha256-6d7Hdurvbjc5uwJuc0YiK7rZBGj6Gs3uzfBFcTs+xCc=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "501826b6fb2b87d16fb35ffceb3b01f885517320",
|
"rev": "64cdaeb06f69b6b769a492edd88b022ae88e8ca2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -562,7 +546,7 @@
|
||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems",
|
"systems": "systems",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
|
|
@ -571,15 +555,15 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781018772,
|
"lastModified": 1777580129,
|
||||||
"narHash": "sha256-C+cGIUaC6dqfwTbI+BwCd572PbESGA3WYxR1sLTqxkY=",
|
"narHash": "sha256-6buSTzDtHYCJP1JNAIZCmgNcOs76oN03j+21CxdijVo=",
|
||||||
"owner": "nix-community",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "a378e4c09031fb15a4d65da88aa628f71fc52f6b",
|
"rev": "20ff51f523e2dd67e5f31a321719d30708c1b771",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -633,11 +617,11 @@
|
||||||
"tinted-schemes": {
|
"tinted-schemes": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777806186,
|
"lastModified": 1772661346,
|
||||||
"narHash": "sha256-PDF0/wObw4nIsSBeXVYLsloXOiphXCgIdsrNcVXguKs=",
|
"narHash": "sha256-4eu3LqB9tPqe0Vaqxd4wkZiBbthLbpb7llcoE/p5HT0=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "schemes",
|
"repo": "schemes",
|
||||||
"rev": "0c94645546f4f3ddac77a1a5fce54eb95bf50795",
|
"rev": "13b5b0c299982bb361039601e2d72587d6846294",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -649,11 +633,11 @@
|
||||||
"tinted-tmux": {
|
"tinted-tmux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778379944,
|
"lastModified": 1772934010,
|
||||||
"narHash": "sha256-wPDFzMGSlARlw0Sfsn48Q2+jPSfk6N0Ng6BC/d+7Q24=",
|
"narHash": "sha256-x+6+4UvaG+RBRQ6UaX+o6DjEg28u4eqhVRM9kpgJGjQ=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-tmux",
|
"repo": "tinted-tmux",
|
||||||
"rev": "fe0203a198690e71a5ff11e08812a4673de3678d",
|
"rev": "c3529673a5ab6e1b6830f618c45d9ce1bcdd829d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -665,11 +649,11 @@
|
||||||
"tinted-zed": {
|
"tinted-zed": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778378178,
|
"lastModified": 1772909925,
|
||||||
"narHash": "sha256-OXPXRIQgGwV77HjYRryOHguh4ALX96jkg+tseLkGgHA=",
|
"narHash": "sha256-jx/5+pgYR0noHa3hk2esin18VMbnPSvWPL5bBjfTIAU=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"rev": "9cd816033ff969415b190722cddf134e78a5665f",
|
"rev": "b4d3a1b3bcbd090937ef609a0a3b37237af974df",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -683,7 +667,7 @@
|
||||||
"crane": "crane_2",
|
"crane": "crane_2",
|
||||||
"fenix": "fenix_2",
|
"fenix": "fenix_2",
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts_3",
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"rust-manifest": "rust-manifest",
|
"rust-manifest": "rust-manifest",
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
nixpkgs-stable.url = "nixpkgs/nixos-25.11";
|
nixpkgs-stable.url = "nixpkgs/nixos-25.11";
|
||||||
nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small";
|
nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small";
|
||||||
stylix.url = "github:nix-community/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
typst-within.url = "github:schrottkatze/typst";
|
typst-within.url = "github:schrottkatze/typst";
|
||||||
crane.url = "github:ipetkov/crane";
|
crane.url = "github:ipetkov/crane";
|
||||||
nixcord.url = "github:kaylorben/nixcord";
|
nixcord.url = "github:kaylorben/nixcord";
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||||
devShells."x86_64-linux".default = pkgs.mkShell {
|
devShells."x86_64-linux".default = pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
rs-toolchain
|
rs-toolchain
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
videoEditing = true;
|
videoEditing = true;
|
||||||
};
|
};
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
kdeconnect.enable = false;
|
kdeconnect.enable = true;
|
||||||
social.enable = true;
|
social.enable = true;
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,9 @@ with lib;
|
||||||
magic-wormhole-rs
|
magic-wormhole-rs
|
||||||
|
|
||||||
# filemanager
|
# filemanager
|
||||||
thunar
|
xfce.thunar
|
||||||
tumbler
|
xfce.tumbler
|
||||||
thunar-archive-plugin
|
xfce.thunar-archive-plugin
|
||||||
file-roller
|
file-roller
|
||||||
|
|
||||||
# from environment.systemPackages cleanup
|
# from environment.systemPackages cleanup
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,13 @@ with lib;
|
||||||
enable = mkEnableOption "Enable KDE connect";
|
enable = mkEnableOption "Enable KDE connect";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.kdeconnect.enable = false;
|
programs.kdeconnect.enable = true;
|
||||||
home-manager.users.jade =
|
home-manager.users.jade =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
enable = false;
|
enable = true;
|
||||||
indicator = false;
|
indicator = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
playerctl
|
playerctl
|
||||||
pulsemixer
|
pulsemixer
|
||||||
wiremix
|
|
||||||
crosspipe
|
crosspipe
|
||||||
lmms
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.file = {
|
home.file = {
|
||||||
".tridactylrc" = {
|
".tridactylrc" = {
|
||||||
|
|
@ -15,8 +15,6 @@
|
||||||
pkgs.tridactyl-native
|
pkgs.tridactyl-native
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
configPath = ".mozilla/firefox";
|
|
||||||
policies = {
|
policies = {
|
||||||
DefaultDownloadDirectory = "\${home}/Downloads";
|
DefaultDownloadDirectory = "\${home}/Downloads";
|
||||||
Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [
|
Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [
|
||||||
|
|
@ -174,7 +172,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
icon = "https://lib.rs/favicon.png";
|
icon = "https://lib.rs/favicon.png";
|
||||||
definedAliases = [ "rl" ];
|
definedAliases = [ "libs" ];
|
||||||
};
|
};
|
||||||
"gleam packages" = {
|
"gleam packages" = {
|
||||||
urls = [
|
urls = [
|
||||||
|
|
@ -189,7 +187,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
icon = "https://packages.gleam.run/static/packages-icon.svg";
|
icon = "https://packages.gleam.run/static/packages-icon.svg";
|
||||||
definedAliases = [ "gl" ];
|
definedAliases = [ "libs" ];
|
||||||
};
|
};
|
||||||
"rust docs" = {
|
"rust docs" = {
|
||||||
urls = [
|
urls = [
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
)
|
)
|
||||||
(box
|
(box
|
||||||
:halign "center"
|
:halign "center"
|
||||||
; (traveldings)
|
(traveldings)
|
||||||
)
|
)
|
||||||
(box
|
(box
|
||||||
:halign "end"
|
:halign "end"
|
||||||
|
|
@ -63,15 +63,15 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
; (defwidget iceTacho []
|
(defwidget iceTacho []
|
||||||
; (box
|
(box
|
||||||
; :class "iceTacho"
|
:class "iceTacho"
|
||||||
; :tooltip "Tz${iceTachoData.tzn} (BR ${iceTachoData.br})"
|
:tooltip "Tz${iceTachoData.tzn} (BR ${iceTachoData.br})"
|
||||||
; (label :text "${iceTachoData.speed} km/h")
|
(label :text "${iceTachoData.speed} km/h")
|
||||||
; )
|
)
|
||||||
; )
|
)
|
||||||
|
|
||||||
; (deflisten iceTachoData
|
(deflisten iceTachoData
|
||||||
; :initial "null"
|
:initial "null"
|
||||||
; { "~/.config/eww/scripts/iceTacho.nu" }
|
{ "~/.config/eww/scripts/iceTacho.nu" }
|
||||||
; )
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,6 @@
|
||||||
{
|
{
|
||||||
programs.eww = {
|
programs.eww = {
|
||||||
enable = true;
|
enable = true;
|
||||||
yuckConfig = null;
|
configDir = ./configDir;
|
||||||
scssConfig = null;
|
|
||||||
};
|
|
||||||
xdg.configFile."eww" = {
|
|
||||||
source = ./configDir;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,23 +14,9 @@
|
||||||
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
|
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
|
||||||
startups =
|
startups =
|
||||||
[
|
[
|
||||||
[
|
[ "eww" "open-many" "topBar" "bottomBar" ]
|
||||||
"eww"
|
[ "${pkgs.swaybg}/bin/swaybg" "-i" "${./wallpaper.jpg}" "-m" "fill" ]
|
||||||
"open-many"
|
[ "touch" ".config/niri/live.kdl" ]
|
||||||
"topBar"
|
|
||||||
"bottomBar"
|
|
||||||
]
|
|
||||||
[
|
|
||||||
"${pkgs.swaybg}/bin/swaybg"
|
|
||||||
"-i"
|
|
||||||
"${./wallpaper.jpg}"
|
|
||||||
"-m"
|
|
||||||
"fill"
|
|
||||||
]
|
|
||||||
[
|
|
||||||
"touch"
|
|
||||||
".config/niri/live.kdl"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
|> map (map (word: "\"${word}\""))
|
|> map (map (word: "\"${word}\""))
|
||||||
|> map (lib.concatStringsSep " ")
|
|> map (lib.concatStringsSep " ")
|
||||||
|
|
@ -38,8 +24,7 @@
|
||||||
other = [
|
other = [
|
||||||
"include \"live.kdl\""
|
"include \"live.kdl\""
|
||||||
"output \"eDP-1\" { scale 1.1; }"
|
"output \"eDP-1\" { scale 1.1; }"
|
||||||
# conflicts with blur
|
"animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./shaders/arc.frag}\";};}"
|
||||||
# "animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./shaders/arc.frag}\";};}"
|
|
||||||
"binds {Mod+Shift+I { spawn \"${./scripts/cpdate.sh}\"; }; }"
|
"binds {Mod+Shift+I { spawn \"${./scripts/cpdate.sh}\"; }; }"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
prefer-no-csd
|
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
xcursor-theme "phinger-cursors-dark"
|
xcursor-theme "phinger-cursors-dark"
|
||||||
xcursor-size 32
|
xcursor-size 32
|
||||||
|
|
@ -82,35 +80,3 @@ layer-rule {
|
||||||
}
|
}
|
||||||
baba-is-float true
|
baba-is-float true
|
||||||
}
|
}
|
||||||
|
|
||||||
layer-rule {
|
|
||||||
match namespace="^launcher$"
|
|
||||||
background-effect {
|
|
||||||
blur true
|
|
||||||
xray false
|
|
||||||
}
|
|
||||||
opacity 0.8
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match is-floating=true
|
|
||||||
draw-border-with-background false
|
|
||||||
background-effect {
|
|
||||||
blur true
|
|
||||||
xray false
|
|
||||||
}
|
|
||||||
opacity 0.85
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match app-id="cool-retro-term."
|
|
||||||
open-floating true
|
|
||||||
opacity 1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
blur {
|
|
||||||
passes 3
|
|
||||||
offset 4
|
|
||||||
noise 0.05
|
|
||||||
saturation 2
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,15 @@
|
||||||
|
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
events = {
|
events = [
|
||||||
"before-sleep" = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
{
|
||||||
"lock" = "swaylock -c 441144";
|
event = "before-sleep";
|
||||||
};
|
command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
event = "lock";
|
||||||
|
command = "swaylock -c 441144";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home-manager.users.jade =
|
home-manager.users.jade =
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
stylix.targets = {
|
stylix.targets = {
|
||||||
firefox = {
|
firefox = {
|
||||||
|
|
@ -43,7 +43,6 @@
|
||||||
};
|
};
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# gtk4.theme = config.gtk.theme;
|
|
||||||
cursorTheme = {
|
cursorTheme = {
|
||||||
package = pkgs.phinger-cursors;
|
package = pkgs.phinger-cursors;
|
||||||
name = "phinger-cursors";
|
name = "phinger-cursors";
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
"discord-presence-lsp"
|
"discord-presence-lsp"
|
||||||
];
|
];
|
||||||
formatter = {
|
formatter = {
|
||||||
command = "${pkgs.nixfmt}/bin/nixfmt";
|
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
||||||
args = [ "--quiet" ];
|
args = [ "--quiet" ];
|
||||||
};
|
};
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
services.xserver.wacom.enable = false;
|
services.xserver.wacom.enable = true;
|
||||||
home-manager.users.jade =
|
home-manager.users.jade =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
# TODO: figure out if the previous enabled option depends on these anyway
|
# TODO: figure out if the previous enabled option depends on these anyway
|
||||||
# pkgs.libwacom
|
pkgs.libwacom
|
||||||
# pkgs.kdePackages.wacomtablet
|
pkgs.kdePackages.wacomtablet
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,15 @@
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
programs.jujutsu = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
user = {
|
||||||
|
name = config.programs.git.userName;
|
||||||
|
email = config.programs.git.userEmail;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.gitui = {
|
programs.gitui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyConfig = ''
|
keyConfig = ''
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ in
|
||||||
|
|
||||||
services.kmscon = {
|
services.kmscon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# extraConfig = "font-size=14";
|
extraConfig = "font-size=14";
|
||||||
extraOptions = generateOptions {
|
extraOptions = generateOptions {
|
||||||
xkb-layout = config.services.xserver.xkb.layout;
|
xkb-layout = config.services.xserver.xkb.layout;
|
||||||
xkb-variant = config.services.xserver.xkb.variant;
|
xkb-variant = config.services.xserver.xkb.variant;
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0.209", features = [ "derive" ] }
|
serde = { version = "1.0.209", features = [ "derive" ] }
|
||||||
serde_json = "1.0.127"
|
serde_json = "1.0.127"
|
||||||
niri-ipc = "26.4"
|
niri-ipc = "25.5.1"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
use core::panic;
|
use core::panic;
|
||||||
use std::collections::HashMap;
|
use std::{collections::HashMap, io::Write};
|
||||||
|
|
||||||
use niri_ipc::{
|
use niri_ipc::{
|
||||||
socket::Socket,
|
socket::Socket,
|
||||||
|
|
@ -19,14 +19,18 @@ const COLORS: [[&str; 2]; 7] = [
|
||||||
["#cc241d", "#fb4934"], // red
|
["#cc241d", "#fb4934"], // red
|
||||||
];
|
];
|
||||||
|
|
||||||
const ERR_COLORS: [&str; 2] = ["#ff0000", "#ffff00"];
|
|
||||||
|
|
||||||
// tildes because they're at the end of the ascii
|
|
||||||
const BROKEN_NAME: &str = "~~~~~~~";
|
|
||||||
|
|
||||||
fn main() -> Result<(), std::io::Error> {
|
fn main() -> Result<(), std::io::Error> {
|
||||||
let mut state = EventStreamState::default();
|
let mut state = EventStreamState::default();
|
||||||
let mut sock = Socket::connect()?;
|
let mut sock = Socket::connect()?;
|
||||||
|
// let mut func = sock.send(Request::EventStream).and_then(|it| match it {
|
||||||
|
// (Ok(Response::Handled), func) => Ok(func),
|
||||||
|
// _ => unreachable!(),
|
||||||
|
// })?;
|
||||||
|
// let mut func = sock.send(Request::EventStream).and_then(|it| match it {
|
||||||
|
// Ok(Response::Handled) => {}
|
||||||
|
// Ok(_) => panic!("???"),
|
||||||
|
// Err(e) => panic!("e"),
|
||||||
|
// });
|
||||||
let r = sock.send(Request::EventStream)?;
|
let r = sock.send(Request::EventStream)?;
|
||||||
match r {
|
match r {
|
||||||
Ok(Response::Handled) => {}
|
Ok(Response::Handled) => {}
|
||||||
|
|
@ -34,7 +38,7 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut receiver = sock.read_events();
|
let mut receiver = sock.read_events();
|
||||||
'outer: while let Ok(ev) = receiver() {
|
while let Ok(ev) = receiver() {
|
||||||
// check only relevant later, only done here to avoid a clone
|
// check only relevant later, only done here to avoid a clone
|
||||||
let ev_is_ws_related = matches!(
|
let ev_is_ws_related = matches!(
|
||||||
&ev,
|
&ev,
|
||||||
|
|
@ -51,26 +55,21 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
.workspaces
|
.workspaces
|
||||||
.workspaces
|
.workspaces
|
||||||
.values()
|
.values()
|
||||||
.cloned()
|
.map(|it| it.clone())
|
||||||
.collect::<Vec<Workspace>>();
|
.collect::<Vec<Workspace>>();
|
||||||
|
|
||||||
workspaces.sort_by_key(|a| a.idx);
|
workspaces.sort_by(|a, b| a.idx.cmp(&b.idx));
|
||||||
workspaces.sort_by(|a, b| {
|
workspaces.sort_by(|a, b| {
|
||||||
a.output
|
a.output
|
||||||
.clone()
|
.clone()
|
||||||
.unwrap_or_else(|| BROKEN_NAME.to_string())
|
.expect("unreachable")
|
||||||
.to_lowercase()
|
.to_lowercase()
|
||||||
.cmp(
|
.cmp(&b.output.clone().expect("unreachable").to_lowercase())
|
||||||
&b.output
|
|
||||||
.clone()
|
|
||||||
.unwrap_or_else(|| BROKEN_NAME.to_string())
|
|
||||||
.to_lowercase(),
|
|
||||||
)
|
|
||||||
});
|
});
|
||||||
|
|
||||||
let output_colors_lut = workspaces
|
let output_colors_lut = workspaces
|
||||||
.iter()
|
.iter()
|
||||||
.map(|it| it.output.clone().unwrap_or_else(|| BROKEN_NAME.to_string()))
|
.map(|it| it.output.clone().expect("unreachable"))
|
||||||
.fold(Vec::new(), |mut acc, it| {
|
.fold(Vec::new(), |mut acc, it| {
|
||||||
if !acc.contains(&it) {
|
if !acc.contains(&it) {
|
||||||
acc.push(it);
|
acc.push(it);
|
||||||
|
|
@ -93,16 +92,15 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
name,
|
name,
|
||||||
..
|
..
|
||||||
}| WsData {
|
}| WsData {
|
||||||
color: output
|
color: output_colors_lut[&output.clone().expect("unreachable")]
|
||||||
.as_ref()
|
[if *is_active { 1 } else { 0 }],
|
||||||
.map(|output| output_colors_lut[output])
|
|
||||||
.unwrap_or(&ERR_COLORS)[if *is_active { 1 } else { 0 }],
|
|
||||||
idx: *idx,
|
idx: *idx,
|
||||||
focused: *is_focused,
|
focused: *is_focused,
|
||||||
active: *is_active,
|
active: *is_active,
|
||||||
icon: name.as_ref().map(|name| match name.as_str() {
|
icon: name.as_ref().map(|name| match name.as_str() {
|
||||||
"social" => "",
|
"aaa social" => "",
|
||||||
"browser" => "",
|
"bbb browser" => "",
|
||||||
|
"ccc notes" => "",
|
||||||
&_ => "!",
|
&_ => "!",
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue