Compare commits
27 commits
d4e605532e
...
a0e9cd1650
| Author | SHA1 | Date | |
|---|---|---|---|
|
a0e9cd1650 |
|||
|
4323c00b71 |
|||
|
2a7afa0a60 |
|||
|
df5b770f63 |
|||
|
a4f6021258 |
|||
|
2520c60cd6 |
|||
|
f67d594a49 |
|||
|
ea75affaac |
|||
|
5565859b02 |
|||
|
35fc2c77f1 |
|||
|
35eb538c85 |
|||
|
0f5d8c83de |
|||
|
9bd6e7793e |
|||
|
862b60c351 |
|||
|
cc05f03bd8 |
|||
|
0ae6192f1d |
|||
|
6249eba566 |
|||
|
cd53682017 |
|||
|
f720895b42 |
|||
|
f34538c20a |
|||
|
581526011b |
|||
|
8ca6241077 |
|||
|
f1abbd7e0b |
|||
|
14cfc58bf2 |
|||
|
7aad2c1daf |
|||
|
dde21dfb81 |
|||
|
bda3095a15 |
19 changed files with 538 additions and 499 deletions
141
flake.lock
generated
141
flake.lock
generated
|
|
@ -8,11 +8,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771215876,
|
"lastModified": 1771513958,
|
||||||
"narHash": "sha256-aei7McII5+y4tROXfmOVyLbPO62sWttNkOKUlCSEIcg=",
|
"narHash": "sha256-KoDcVuYgmP/kX6pd9uCW5Wo5Xn3y0SumrMaCLu5ojdY=",
|
||||||
"owner": "nyakase",
|
"owner": "nyakase",
|
||||||
"repo": "aerothemeplasma-nix",
|
"repo": "aerothemeplasma-nix",
|
||||||
"rev": "b922785202501754c4503232aa5f172aeaef8b00",
|
"rev": "348cbf661738840d0ae02d5eda7f4c076e59b733",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -27,11 +27,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771054135,
|
"lastModified": 1771511514,
|
||||||
"narHash": "sha256-0RYmnOk40U4ZGbW/+3rHlNndrsuHCz9h+xequKWgwHQ=",
|
"narHash": "sha256-qhtonMK07BCVC/wZ+pZ9/MKhcTric7YUaCpW6pOg8IM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixos-apple-silicon",
|
"repo": "nixos-apple-silicon",
|
||||||
"rev": "357186cca0f4c7801ff16970e4b6a05e74fd88e0",
|
"rev": "2b92d495204be0b10845c66361444dbc8441c68d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -61,11 +61,11 @@
|
||||||
"base16-discord": {
|
"base16-discord": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768273180,
|
"lastModified": 1771164756,
|
||||||
"narHash": "sha256-uw7lz53YHxvPEyXZiS+NJFhKMb6AMUvVpCLH81NjM7U=",
|
"narHash": "sha256-6NU5HQZVZ1mSNaIyZxE+U35nF46uXH/768y3auhQdiI=",
|
||||||
"owner": "imbypass",
|
"owner": "imbypass",
|
||||||
"repo": "base16-discord",
|
"repo": "base16-discord",
|
||||||
"rev": "d4df17db31276d94cc1a8988f34e813aae1f3fb4",
|
"rev": "8b005607e5783f751fe369f0442965a86eed8051",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -93,11 +93,11 @@
|
||||||
"cachyos-kernel-patches": {
|
"cachyos-kernel-patches": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771246613,
|
"lastModified": 1771399550,
|
||||||
"narHash": "sha256-GftqKiyIgMcSgVkbNqXQq7oNnoL1+EB9V71XG4lPBRs=",
|
"narHash": "sha256-Q2rMJcwZiI1rn8H27gLleKA3ATW/EykukyGR6S1tBPk=",
|
||||||
"owner": "CachyOS",
|
"owner": "CachyOS",
|
||||||
"repo": "kernel-patches",
|
"repo": "kernel-patches",
|
||||||
"rev": "cb320a13e3c92f32ada27acb1fba8a828a22ae60",
|
"rev": "021aae790c8555a4bb6e2135c6b777bf6fdcba02",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -109,11 +109,11 @@
|
||||||
"catppuccin-discord": {
|
"catppuccin-discord": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769446491,
|
"lastModified": 1770426312,
|
||||||
"narHash": "sha256-7v1Hu6QofOyFOGnHeqHFK0JsxUxdJ9uTjI7nM7mdTsg=",
|
"narHash": "sha256-rxvHIifq5CYIBPwFA2SpOrWT+sG/z0ItXT3sx2wbEqg=",
|
||||||
"owner": "catppuccin",
|
"owner": "catppuccin",
|
||||||
"repo": "discord",
|
"repo": "discord",
|
||||||
"rev": "f235754322320211a8646d963466fac402e5c297",
|
"rev": "b9b5547f0b32296d2389716ef606de87b3c1e7c7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -197,11 +197,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768135262,
|
"lastModified": 1769996383,
|
||||||
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -254,11 +254,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769579508,
|
"lastModified": 1771519029,
|
||||||
"narHash": "sha256-EE2bs7xFrC64qrj0N2zP6E6e/nmhcdw6v/grdYi+BiY=",
|
"narHash": "sha256-H59Qf82wv5kBXVoyXsmUKW+9J3o8FqgY4uKaLdsLdLg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "eec72f127831326b042d1f35003767a4ab6a9516",
|
"rev": "167e0b6837115e672ec5f58e2b0ea39093abe807",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -269,8 +269,12 @@
|
||||||
},
|
},
|
||||||
"niri": {
|
"niri": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"niri-stable": "niri-stable",
|
"niri-stable": [
|
||||||
"niri-unstable": "niri-unstable",
|
"niri-blur"
|
||||||
|
],
|
||||||
|
"niri-unstable": [
|
||||||
|
"niri-blur"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
|
|
@ -281,48 +285,33 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771514840,
|
"lastModified": 1771682768,
|
||||||
"narHash": "sha256-t3WbZvwoDj/75YDX/nwkZuxanZLZaWr9meSfKswaN6g=",
|
"narHash": "sha256-RJ9RVJSAktCgWiqLDCjYmx9KgMuLaszUrI28k92Pa2I=",
|
||||||
"owner": "sodiboo",
|
"owner": "sckova",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "4f69ab280e9bb34e2c0b67fdfa6f0978a170ef56",
|
"rev": "383bd9d32706b163807b05983418069b2e692310",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "sodiboo",
|
"owner": "sckova",
|
||||||
|
"ref": "feat/blur",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"niri-stable": {
|
"niri-blur": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756556321,
|
"lastModified": 1771749270,
|
||||||
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
|
"narHash": "sha256-ZJCM1XOHIdud6Jfpl4jYQOzbOJId9wmXT+hNJ1IPBIY=",
|
||||||
"owner": "YaLTeR",
|
"owner": "niri-wm",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
|
"rev": "734d86ec061d15d1980c5b940b2f4dc9aee80cf5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "YaLTeR",
|
"owner": "niri-wm",
|
||||||
"ref": "v25.08",
|
"ref": "wip/branch",
|
||||||
"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"
|
||||||
}
|
}
|
||||||
|
|
@ -336,11 +325,11 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771353108,
|
"lastModified": 1771438239,
|
||||||
"narHash": "sha256-5Xtei4UKrqRC6IYLgI1KEBaPN9Xfef5JeOexdqDWVeg=",
|
"narHash": "sha256-/d5FnrQ1nvZ9n1I7o/hMTzjd8tTBvV5rT24Nh7h59RQ=",
|
||||||
"owner": "xddxdd",
|
"owner": "xddxdd",
|
||||||
"repo": "nix-cachyos-kernel",
|
"repo": "nix-cachyos-kernel",
|
||||||
"rev": "98e777cdcc39e6bd0312a9d756507ef9cbd284cb",
|
"rev": "58f338b00bc5619144a6f3082eed5c83e79b279b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -398,11 +387,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769598131,
|
"lastModified": 1771419570,
|
||||||
"narHash": "sha256-e7VO/kGLgRMbWtpBqdWl0uFg8Y2XWFMdz0uUJvlML8o=",
|
"narHash": "sha256-bxAlQgre3pcQcaRUm/8A0v/X8d2nhfraWSFqVmMcBcU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fa83fd837f3098e3e678e6cf017b2b36102c7211",
|
"rev": "6d41bc27aaf7b6a3ba6b169db3bd5d6159cfaa47",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -414,11 +403,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769461804,
|
"lastModified": 1771369470,
|
||||||
"narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
|
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
|
"rev": "0182a361324364ae3f436a63005877674cf45efb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -453,11 +442,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769537308,
|
"lastModified": 1771135771,
|
||||||
"narHash": "sha256-N7famD4s2hiDIicr9mJWhUj8l9EULB60+1QN/S+UjeM=",
|
"narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "7addac6d111837217c16762968a9042eac703f7e",
|
"rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -473,11 +462,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769607092,
|
"lastModified": 1771513929,
|
||||||
"narHash": "sha256-P0KGVjKtN+hkZWskpxr2iXWalPb0SKAgRVyMFZxdxf0=",
|
"narHash": "sha256-dPeHevAT1Cb2w/Wrfz/d5i6RfO8bvbGl/KrTPxU2l3w=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "b2b16ecdda1bc04001a7c714bf8124160a86ddfc",
|
"rev": "9c47ce03f200e0b8fc515d973440d5bc3e359785",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -494,11 +483,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769604042,
|
"lastModified": 1771516225,
|
||||||
"narHash": "sha256-KQGbmKSY3tA4S8qFN76xd+3cbM0mAtPgoUVbjWrprcs=",
|
"narHash": "sha256-G2cPs4Ic8Z1Aq8QfMa1VwJoBwIhVpwzcQ036ZhI4oXc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "92f5f3f18a365341dd424314a80253f5ede071e4",
|
"rev": "d4694f0614419034910767b5a036384ab358b138",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -520,6 +509,7 @@
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "OpenMW",
|
"owner": "OpenMW",
|
||||||
"repo": "openmw",
|
"repo": "openmw",
|
||||||
|
"rev": "01bcd6a6369fe461caaf900354967b4751aede7a",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -533,11 +523,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767662275,
|
"lastModified": 1770766818,
|
||||||
"narHash": "sha256-d5Q1GmQ+sW1Bt8cgDE0vOihzLaswsm8cSdg8124EqXE=",
|
"narHash": "sha256-12RCFLyAedyMOdenUi7cN3ioJPEGjA/ZG1BLjugfUVs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "51816be33a1ff0d4b22427de83222d5bfa96d30e",
|
"rev": "44b928068359b7d2310a34de39555c63c93a2c90",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -555,6 +545,7 @@
|
||||||
"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"
|
||||||
|
|
@ -578,11 +569,11 @@
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769316930,
|
"lastModified": 1771268051,
|
||||||
"narHash": "sha256-4EOGHYLpIscwr+6drHE28Qj7NDjjowp2Vd8QkXjdBBE=",
|
"narHash": "sha256-nGqPcngnezoT+/xAvw3UDjwdKP2MC4fO315A/Otb9eE=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "b2ce438f386943ef611e196a178af2d79042903b",
|
"rev": "b930de84c561f62a0c39a6a57c2ab553a97e8495",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
46
flake.nix
46
flake.nix
|
|
@ -44,11 +44,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
niri = {
|
niri = {
|
||||||
url = "github:sodiboo/niri-flake";
|
url = "github:sckova/niri-flake/feat/blur";
|
||||||
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 = {
|
||||||
|
|
@ -82,7 +87,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
openmw = {
|
openmw = {
|
||||||
url = "gitlab:OpenMW/openmw";
|
url = "gitlab:OpenMW/openmw/01bcd6a6369fe461caaf900354967b4751aede7a";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -215,6 +220,7 @@
|
||||||
}
|
}
|
||||||
./system
|
./system
|
||||||
./system/searxng
|
./system/searxng
|
||||||
|
./system/torrenting
|
||||||
./system/widevine
|
./system/widevine
|
||||||
./system/shell/fish.nix
|
./system/shell/fish.nix
|
||||||
./system/tailscale
|
./system/tailscale
|
||||||
|
|
@ -306,23 +312,23 @@
|
||||||
{ nixpkgs.overlays = [ apple-silicon.overlays.apple-silicon-overlay ]; }
|
{ nixpkgs.overlays = [ apple-silicon.overlays.apple-silicon-overlay ]; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
alien = mkNixosSystem {
|
||||||
alien =
|
hostname = "alien";
|
||||||
mkNixosSystem {
|
system = "x86_64-linux";
|
||||||
hostname = "alien";
|
extraModules = [
|
||||||
system = "x86_64-linux";
|
{
|
||||||
extraModules = [
|
nixpkgs.overlays = [ nix-cachyos-kernel.overlays.pinned ];
|
||||||
{ nixpkgs.overlays = [ nix-cachyos-kernel.overlays.pinned ]; }
|
|
||||||
];
|
|
||||||
}
|
|
||||||
// nixpkgs.lib.genAttrs supportedSystems (
|
|
||||||
system:
|
|
||||||
mkNixosSystem {
|
|
||||||
hostname = "vm-generic";
|
|
||||||
inherit system;
|
|
||||||
}
|
}
|
||||||
);
|
];
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
// nixpkgs.lib.genAttrs supportedSystems (
|
||||||
|
system:
|
||||||
|
mkNixosSystem {
|
||||||
|
hostname = "vm-generic";
|
||||||
|
inherit system;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
peach = mkHomeConfig {
|
peach = mkHomeConfig {
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
catppuccin-discord = "${pkgs.catppuccin-discord}/share/catppuccin-discord/catppuccin-mocha-*.theme.css";
|
|
||||||
|
|
||||||
mergedThemes = pkgs.runCommand "mergedConfig" { } ''
|
mergedThemes = pkgs.runCommand "mergedConfig" { } ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -rvf ${pkgs.base16-discord-git}/base16.css $out/base16.css
|
cp -rvf ${pkgs.base16-discord-git}/base16.css $out/base16.css
|
||||||
cp -rvf ${catppuccin-discord} $out
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vesktopSettings = {
|
vesktopSettings = {
|
||||||
|
|
@ -50,11 +47,6 @@ in
|
||||||
|
|
||||||
home.file.".config/vesktop/settings/quickCss.css" = with config.scheme.withHashtag; {
|
home.file.".config/vesktop/settings/quickCss.css" = with config.scheme.withHashtag; {
|
||||||
text = ''
|
text = ''
|
||||||
* {
|
|
||||||
font-family: "${config.userOptions.fontSans.name}" !important;
|
|
||||||
font-size: ${toString config.userOptions.fontSans.size}px;
|
|
||||||
}
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--base00: ${base00};
|
--base00: ${base00};
|
||||||
--base01: ${base01};
|
--base01: ${base01};
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||||
"browser.newtabpage.activity-stream.showWeather" = false;
|
"browser.newtabpage.activity-stream.showWeather" = false;
|
||||||
"browser.download.autoHideButton" = false;
|
"browser.download.autoHideButton" = false;
|
||||||
"browser.startup.homepage" = "http://localhost:8080/";
|
"browser.startup.homepage" = "http://localhost:5364/";
|
||||||
|
|
||||||
# Disable Firefox's machine learning (AI) features
|
# Disable Firefox's machine learning (AI) features
|
||||||
"browser.ml.enable" = false;
|
"browser.ml.enable" = false;
|
||||||
|
|
@ -369,7 +369,7 @@
|
||||||
|
|
||||||
searxng = {
|
searxng = {
|
||||||
name = "SearXNG";
|
name = "SearXNG";
|
||||||
urls = [ { template = "http://localhost:8080/search?q={searchTerms}"; } ];
|
urls = [ { template = "http://localhost:5364/search?q={searchTerms}"; } ];
|
||||||
icon = searchIcon;
|
icon = searchIcon;
|
||||||
definedAliases = [ "@go" ];
|
definedAliases = [ "@go" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
visibility: hidden !important;
|
visibility: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browserContainer {
|
/*.browserContainer {
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
margin: 6px !important;
|
margin: 6px !important;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
|
@ -22,4 +22,4 @@
|
||||||
|
|
||||||
browser {
|
browser {
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
}
|
}*/
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
|
|
||||||
# kde and kde theming
|
# kde and kde theming
|
||||||
kde-rounded-corners
|
# kde-rounded-corners
|
||||||
kdePackages.partitionmanager
|
kdePackages.partitionmanager
|
||||||
pkgs.catppuccin-cursors.mochaPeach
|
pkgs.catppuccin-cursors.mochaPeach
|
||||||
|
|
||||||
|
|
@ -48,7 +48,6 @@
|
||||||
libreoffice-qt-fresh
|
libreoffice-qt-fresh
|
||||||
# nur.repos.forkprince.helium-nightly
|
# nur.repos.forkprince.helium-nightly
|
||||||
chromium
|
chromium
|
||||||
qbittorrent
|
|
||||||
nautilus
|
nautilus
|
||||||
fractal
|
fractal
|
||||||
tuba
|
tuba
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,10 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home = {
|
home.packages = with pkgs; [ openmw ];
|
||||||
packages = with pkgs; [ openmw ];
|
home.sessionVariables.SDL_VIDEO_DRIVER = "wayland";
|
||||||
sessionVariables = {
|
|
||||||
SDL_VIDEO_DRIVER = "wayland";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.firefox.profiles.default.search.engines.uesp = {
|
programs.firefox.profiles.default.search.engines.uesp = {
|
||||||
name = "Unofficial Elder Scrolls Pages";
|
name = "Unofficial Elder Scrolls Pages";
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
colors = {
|
colors = {
|
||||||
scheme = "catppuccin-latte";
|
scheme = "banana-blueberry";
|
||||||
accent = "base09";
|
accent = "base09";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -19,33 +18,43 @@
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/YaLTeR/niri/issues/2330#issuecomment-3256864777
|
programs = {
|
||||||
programs.niri.settings.debug = {
|
noctalia-shell.settings.bar = {
|
||||||
render-drm-device = "/dev/dri/card2";
|
position = "top";
|
||||||
};
|
density = "spacious";
|
||||||
|
};
|
||||||
|
|
||||||
programs.noctalia-shell.settings.bar = {
|
niri.settings.outputs."eDP-1" = {
|
||||||
position = "top";
|
scale = 1.5;
|
||||||
density = "spacious";
|
mode = {
|
||||||
};
|
width = 3024;
|
||||||
|
height = 1964;
|
||||||
|
refresh = 60.000;
|
||||||
|
};
|
||||||
|
position = {
|
||||||
|
x = 272;
|
||||||
|
y = 1440;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.plasma = lib.mkDefault {
|
plasma = lib.mkDefault {
|
||||||
input.touchpads = [
|
input.touchpads = [
|
||||||
{
|
{
|
||||||
name = "Apple MTP multi-touch";
|
name = "Apple MTP multi-touch";
|
||||||
vendorId = "05ac";
|
vendorId = "05ac";
|
||||||
productId = "0352";
|
productId = "0352";
|
||||||
disableWhileTyping = false;
|
disableWhileTyping = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
tapToClick = false;
|
tapToClick = false;
|
||||||
naturalScroll = true;
|
naturalScroll = true;
|
||||||
accelerationProfile = "default";
|
accelerationProfile = "default";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
shortcuts = {
|
shortcuts = {
|
||||||
# this is really annoying on apple laptops
|
# this is really annoying on apple laptops
|
||||||
org_kde_powerdevil.Sleep = [ ];
|
org_kde_powerdevil.Sleep = [ ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,11 +23,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
aerothemeplasma = {
|
# aerothemeplasma = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
plasma.enable = true;
|
# plasma.enable = true;
|
||||||
fonts.enable = true;
|
# fonts.enable = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.plasma = lib.mkDefault {
|
programs.plasma = lib.mkDefault {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
|
# this makes electron apps work per the wiki
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
|
|
|
||||||
|
|
@ -28,16 +28,14 @@
|
||||||
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";
|
||||||
# ExecStartPre = "${pkgs.writeShellScript "synology-prep" ''
|
Restart = "on-failure";
|
||||||
# if mountpoint -q %h/Synology; then
|
RestartSec = "1m";
|
||||||
# /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
|
||||||
|
|
@ -65,49 +63,4 @@
|
||||||
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" ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
home.sessionVariables.EDITOR = lib.mkForce "kitty nvim";
|
||||||
EDITOR = "nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
kdePackages.qtdeclarative
|
kdePackages.qtdeclarative
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
@ -17,7 +16,7 @@
|
||||||
XCURSOR_THEME = config.userOptions.cursor.name;
|
XCURSOR_THEME = config.userOptions.cursor.name;
|
||||||
XCURSOR_SIZE = toString config.userOptions.cursor.size;
|
XCURSOR_SIZE = toString config.userOptions.cursor.size;
|
||||||
};
|
};
|
||||||
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
screenshot-path = "~/Pictures/Screenshots/%a %b %e %Y @%l:%M %p.png";
|
||||||
hotkey-overlay.skip-at-startup = true;
|
hotkey-overlay.skip-at-startup = true;
|
||||||
prefer-no-csd = true;
|
prefer-no-csd = true;
|
||||||
gestures.hot-corners.enable = false;
|
gestures.hot-corners.enable = false;
|
||||||
|
|
@ -29,7 +28,6 @@
|
||||||
input = {
|
input = {
|
||||||
focus-follows-mouse.enable = true;
|
focus-follows-mouse.enable = true;
|
||||||
focus-follows-mouse.max-scroll-amount = "0%";
|
focus-follows-mouse.max-scroll-amount = "0%";
|
||||||
warp-mouse-to-focus.enable = true;
|
|
||||||
mod-key = "Super";
|
mod-key = "Super";
|
||||||
keyboard = {
|
keyboard = {
|
||||||
numlock = false;
|
numlock = false;
|
||||||
|
|
@ -50,13 +48,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
"eDP-1" = {
|
|
||||||
scale = 1.5;
|
|
||||||
position = {
|
|
||||||
x = 272;
|
|
||||||
y = 1440;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"HDMI-A-1" = {
|
"HDMI-A-1" = {
|
||||||
mode = {
|
mode = {
|
||||||
width = 3840;
|
width = 3840;
|
||||||
|
|
@ -84,17 +75,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;
|
|
||||||
};
|
|
||||||
preset-column-widths = [
|
preset-column-widths = [
|
||||||
{ proportion = 4.0 / 12.0; }
|
{ proportion = 4.0 / 12.0; }
|
||||||
{ proportion = 6.0 / 12.0; }
|
{ proportion = 6.0 / 12.0; }
|
||||||
|
|
@ -103,16 +90,16 @@
|
||||||
border = {
|
border = {
|
||||||
enable = true;
|
enable = true;
|
||||||
width = 2;
|
width = 2;
|
||||||
active.color = config.scheme.withHashtag.${config.colors.accent};
|
active.color = config.scheme.withHashtag.${config.colors.accent} + "E6";
|
||||||
inactive.color = base01;
|
inactive.color = base01 + "E6";
|
||||||
urgent.color = base12;
|
urgent.color = base12 + "E6";
|
||||||
};
|
};
|
||||||
focus-ring = {
|
focus-ring = {
|
||||||
enable = false;
|
enable = false;
|
||||||
width = 2;
|
width = 2;
|
||||||
active.color = config.scheme.withHashtag.${config.colors.accent};
|
active.color = config.scheme.withHashtag.${config.colors.accent} + "E6";
|
||||||
inactive.color = base01;
|
inactive.color = base01 + "E6";
|
||||||
urgent.color = base12;
|
urgent.color = base12 + "E6";
|
||||||
};
|
};
|
||||||
shadow = {
|
shadow = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -122,12 +109,6 @@
|
||||||
softness = 30;
|
softness = 30;
|
||||||
color = base11 + "BF";
|
color = base11 + "BF";
|
||||||
};
|
};
|
||||||
# blur = {
|
|
||||||
# enable = true;
|
|
||||||
# passes = 4;
|
|
||||||
# radius = 4;
|
|
||||||
# noise = 0.1;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
|
|
@ -138,30 +119,34 @@
|
||||||
bottom-right = 8.0;
|
bottom-right = 8.0;
|
||||||
};
|
};
|
||||||
clip-to-geometry = true;
|
clip-to-geometry = true;
|
||||||
opacity = 1.0;
|
opacity = 0.90;
|
||||||
}
|
background-effect = {
|
||||||
{
|
xray = false;
|
||||||
matches = [
|
blur = true;
|
||||||
{
|
noise = 0.05;
|
||||||
app-id = "firefox$";
|
saturation = 1;
|
||||||
title = "^Picture-in-Picture$";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
open-floating = true;
|
|
||||||
default-floating-position = {
|
|
||||||
x = 16;
|
|
||||||
y = 16;
|
|
||||||
relative-to = "bottom-left";
|
|
||||||
};
|
};
|
||||||
|
draw-border-with-background = false;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
{
|
{
|
||||||
app-id = "vesktop$";
|
app-id = "vesktop$";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
app-id = "org.gnome.Nautilus$";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
block-out-from = "screen-capture";
|
block-out-from = "screen-capture";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
is-active = false;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
opacity = 0.90;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
{
|
{
|
||||||
|
|
@ -173,41 +158,108 @@
|
||||||
title = "Minecraft";
|
title = "Minecraft";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
open-maximized = true;
|
open-maximized-to-edges = true;
|
||||||
open-focused = true;
|
open-focused = true;
|
||||||
|
opacity = 1.00;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
app-id = "mpv";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
app-id = "firefox";
|
||||||
|
title = "Picture-in-Picture";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
opacity = 1.0;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
# Kitty Fastfetch window
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
app-id = "kitty";
|
||||||
|
title = "^fastfetch$";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
open-floating = true;
|
||||||
|
baba-is-float = true;
|
||||||
|
min-width = 960;
|
||||||
|
min-height = 480;
|
||||||
|
max-width = 960;
|
||||||
|
max-height = 480;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
layer-rules = [
|
layer-rules = [
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [ { namespace = "noctalia-bar-content-.*$"; } ];
|
||||||
{
|
background-effect = {
|
||||||
namespace = "^wpaperd.*";
|
xray = false;
|
||||||
}
|
blur = true;
|
||||||
];
|
noise = 0.05;
|
||||||
|
saturation = 1;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matches = [ { namespace = "^launcher$"; } ];
|
||||||
|
opacity = 0.90;
|
||||||
|
background-effect = {
|
||||||
|
xray = false;
|
||||||
|
blur = true;
|
||||||
|
noise = 0.05;
|
||||||
|
saturation = 1;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matches = [ { namespace = "^wallpaper$"; } ];
|
||||||
place-within-backdrop = true;
|
place-within-backdrop = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
binds = {
|
binds = {
|
||||||
"Mod+Shift+Slash".action.show-hotkey-overlay = { };
|
"Mod+Shift+Slash".action.show-hotkey-overlay = { };
|
||||||
|
"Mod+D" = {
|
||||||
|
action.toggle-window-rule-opacity = { };
|
||||||
|
repeat = false;
|
||||||
|
};
|
||||||
|
"Mod+M" = {
|
||||||
|
action.spawn = [
|
||||||
|
"wpctl"
|
||||||
|
"set-mute"
|
||||||
|
"@DEFAULT_AUDIO_SOURCE@"
|
||||||
|
"toggle"
|
||||||
|
];
|
||||||
|
hotkey-overlay.title = "Toggle Microphone Mute";
|
||||||
|
repeat = false;
|
||||||
|
};
|
||||||
|
|
||||||
"Mod+T" = {
|
"Mod+T" = {
|
||||||
action.spawn = [ "kitty" ];
|
action.spawn = [ "kitty" ];
|
||||||
hotkey-overlay.title = "Open a Terminal: kitty";
|
hotkey-overlay.title = "Open a Terminal: kitty";
|
||||||
};
|
};
|
||||||
|
"Mod+Shift+T" = {
|
||||||
|
action.spawn-sh = [ "kitty --title fastfetch sh -c 'fastfetch; sleep 10'" ];
|
||||||
|
hotkey-overlay.title = "Open a Terminal with Fastfetch";
|
||||||
|
};
|
||||||
"Mod+Space" = {
|
"Mod+Space" = {
|
||||||
action.spawn = [ "fuzzel" ];
|
action.spawn = [ "fuzzel" ];
|
||||||
hotkey-overlay.title = "Run an Application: Noctalia app launcher";
|
hotkey-overlay.title = "Run an Application: Fuzzel";
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86AudioRaiseVolume" = {
|
"XF86AudioRaiseVolume" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume increase"
|
"wpctl"
|
||||||
|
"set-volume"
|
||||||
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
"0.05+"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
"XF86AudioLowerVolume" = {
|
"XF86AudioLowerVolume" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume decrease"
|
"wpctl"
|
||||||
|
"set-volume"
|
||||||
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
"0.05-"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
@ -232,14 +284,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"MouseForward" = {
|
"MouseForward" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume increase"
|
"wpctl"
|
||||||
|
"set-volume"
|
||||||
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
"0.05+"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
"MouseBack" = {
|
"MouseBack" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume decrease"
|
"wpctl"
|
||||||
|
"set-volume"
|
||||||
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
"0.05-"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
@ -264,14 +322,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86AudioMute" = {
|
"XF86AudioMute" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume muteOutput"
|
"wpctl"
|
||||||
|
"set-mute"
|
||||||
|
"@DEFAULT_AUDIO_SINK@"
|
||||||
|
"toggle"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
"XF86AudioMicMute" = {
|
"XF86AudioMicMute" = {
|
||||||
action.spawn-sh = [
|
action.spawn = [
|
||||||
"noctalia-shell ipc call volume muteInput"
|
"wpctl"
|
||||||
|
"set-mute"
|
||||||
|
"@DEFAULT_AUDIO_SOURCE@"
|
||||||
|
"toggle"
|
||||||
];
|
];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
@ -342,29 +406,13 @@
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86Sleep" = {
|
"XF86Sleep".action.power-off-monitors = { };
|
||||||
action.power-off-monitors = { };
|
|
||||||
};
|
|
||||||
|
|
||||||
"XF86Search" = {
|
"XF86Search".action.spawn = [ "fuzzel" ];
|
||||||
action.spawn = [
|
|
||||||
"noctalia-shell"
|
|
||||||
"ipc"
|
|
||||||
"call"
|
|
||||||
"launcher"
|
|
||||||
"toggle"
|
|
||||||
];
|
|
||||||
allow-when-locked = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"XF86LaunchA" = {
|
"XF86LaunchA" = {
|
||||||
action.spawn = [
|
action.toggle-overview = { };
|
||||||
"niri"
|
repeat = false;
|
||||||
"msg"
|
|
||||||
"action"
|
|
||||||
"toggle-overview"
|
|
||||||
];
|
|
||||||
allow-when-locked = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"Mod+O" = {
|
"Mod+O" = {
|
||||||
|
|
@ -492,18 +540,15 @@
|
||||||
"Mod+Ctrl+Shift+F".action.fullscreen-window = { };
|
"Mod+Ctrl+Shift+F".action.fullscreen-window = { };
|
||||||
|
|
||||||
"Mod+C".action.center-column = { };
|
"Mod+C".action.center-column = { };
|
||||||
|
|
||||||
"Mod+Ctrl+C".action.center-visible-columns = { };
|
"Mod+Ctrl+C".action.center-visible-columns = { };
|
||||||
|
|
||||||
"Mod+Minus".action.set-column-width = "-10%";
|
"Mod+Minus".action.set-column-width = "-10%";
|
||||||
"Mod+Equal".action.set-column-width = "+10%";
|
"Mod+Equal".action.set-column-width = "+10%";
|
||||||
|
|
||||||
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
||||||
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
||||||
|
|
||||||
"Mod+Ctrl+Minus".action.set-column-width = "-0.25%";
|
"Mod+Ctrl+Minus".action.set-column-width = "-0.25%";
|
||||||
"Mod+Ctrl+Equal".action.set-column-width = "+0.25%";
|
"Mod+Ctrl+Equal".action.set-column-width = "+0.25%";
|
||||||
|
|
||||||
"Mod+Ctrl+Shift+Minus".action.set-window-height = "-0.25%";
|
"Mod+Ctrl+Shift+Minus".action.set-window-height = "-0.25%";
|
||||||
"Mod+Ctrl+Shift+Equal".action.set-window-height = "+0.25%";
|
"Mod+Ctrl+Shift+Equal".action.set-window-height = "+0.25%";
|
||||||
|
|
||||||
|
|
@ -512,18 +557,9 @@
|
||||||
|
|
||||||
"Mod+W".action.toggle-column-tabbed-display = { };
|
"Mod+W".action.toggle-column-tabbed-display = { };
|
||||||
|
|
||||||
"Print".action.screenshot = {
|
"Mod+Shift+S".action.screenshot.show-pointer = false;
|
||||||
show-pointer = false;
|
"Ctrl+Shift+S".action.screenshot-screen.show-pointer = false;
|
||||||
};
|
"Alt+Shift+S".action.screenshot-window.show-pointer = false;
|
||||||
"Mod+Shift+S".action.screenshot = {
|
|
||||||
show-pointer = false;
|
|
||||||
};
|
|
||||||
"Ctrl+Print".action.screenshot-screen = {
|
|
||||||
show-pointer = false;
|
|
||||||
};
|
|
||||||
"Alt+Print".action.screenshot-window = {
|
|
||||||
show-pointer = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"Mod+Escape" = {
|
"Mod+Escape" = {
|
||||||
action.toggle-keyboard-shortcuts-inhibit = { };
|
action.toggle-keyboard-shortcuts-inhibit = { };
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
bar = {
|
bar = {
|
||||||
autoHideDelay = 500;
|
autoHideDelay = 500;
|
||||||
autoShowDelay = 150;
|
autoShowDelay = 150;
|
||||||
backgroundOpacity = 1;
|
backgroundOpacity = 0.90;
|
||||||
monitors = [ ];
|
monitors = [ ];
|
||||||
showCapsule = true;
|
showCapsule = true;
|
||||||
barType = "simple";
|
barType = "simple";
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
outerCorners = false;
|
outerCorners = false;
|
||||||
screenOverrides = [ ];
|
screenOverrides = [ ];
|
||||||
showOutline = false;
|
showOutline = false;
|
||||||
useSeparateOpacity = false;
|
useSeparateOpacity = true;
|
||||||
widgets = {
|
widgets = {
|
||||||
center = [ ];
|
center = [ ];
|
||||||
left = [
|
left = [
|
||||||
|
|
@ -206,7 +206,7 @@
|
||||||
deviceNativePath = "__default__";
|
deviceNativePath = "__default__";
|
||||||
displayMode = "icon-hover";
|
displayMode = "icon-hover";
|
||||||
hideIfIdle = false;
|
hideIfIdle = false;
|
||||||
hideIfNotDetected = false;
|
hideIfNotDetected = true;
|
||||||
id = "Battery";
|
id = "Battery";
|
||||||
showNoctaliaPerformance = false;
|
showNoctaliaPerformance = false;
|
||||||
showPowerProfiles = true;
|
showPowerProfiles = true;
|
||||||
|
|
@ -595,26 +595,22 @@
|
||||||
|
|
||||||
systemd.user.services.noctalia-shell = {
|
systemd.user.services.noctalia-shell = {
|
||||||
Unit = {
|
Unit = {
|
||||||
After = [ "niri.service" ];
|
After = [ "graphical-session.target" ];
|
||||||
PartOf = [ "niri.service" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
Description = "Noctalia Shell - Wayland desktop shell";
|
Description = "Noctalia Shell - Wayland desktop shell";
|
||||||
Documentation = "https://docs.noctalia.dev/docs";
|
Documentation = "https://docs.noctalia.dev";
|
||||||
|
X-Restart-Triggers = [
|
||||||
|
"${config.xdg.configFile."noctalia/settings.json".source}"
|
||||||
|
"${config.xdg.configFile."noctalia/colors.json".source}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.noctalia-shell}/bin/noctalia-shell";
|
ExecStart = "${pkgs.noctalia-shell}/bin/noctalia-shell";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
Environment = [
|
Environment = [ "QT_QPA_PLATFORMTHEME=qt6ct" ];
|
||||||
"LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale"
|
|
||||||
"TZDIR=${pkgs.tzdata}/share/zoneinfo"
|
|
||||||
"NOCTALIA_SETTINGS_FALLBACK=%h/.config/noctalia/gui-settings.json"
|
|
||||||
"QT_QPA_PLATFORM=wayland"
|
|
||||||
"QT_QPA_PLATFORMTHEME=qt6ct"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
WantedBy = [ "niri.service" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,78 +4,104 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
systemd.user.services.wbg-daemon = {
|
||||||
wpaperd
|
Unit.Description = "Wallpaper service using wbg (daemon)";
|
||||||
];
|
Service.ExecStart = ''
|
||||||
|
${pkgs.wbg}/bin/wbg -s \
|
||||||
home.file.".config/wpaperd/config.toml" = {
|
%h/.local/share/wallpaper/daily-colored.jpg
|
||||||
text = ''
|
|
||||||
[default]
|
|
||||||
mode = "center"
|
|
||||||
[any]
|
|
||||||
path = "/home/${config.userOptions.username}/.local/share/wallpaper/daily.jpg"
|
|
||||||
'';
|
'';
|
||||||
force = true;
|
Install.WantedBy = [ "niri.service" ];
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.services.wpaperd = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Modern wallpaper daemon for Wayland";
|
|
||||||
PartOf = [ "niri.service" ];
|
|
||||||
Requires = [ "niri.service" ];
|
|
||||||
After = [ "niri.service" ];
|
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkgs.wpaperd}/bin/wpaperd";
|
|
||||||
};
|
|
||||||
Install = {
|
|
||||||
WantedBy = [ "niri.service" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.bing-wallpaper = {
|
systemd.user.services.bing-wallpaper = {
|
||||||
Unit = {
|
Unit.Description = "Download and set Bing wallpaper of the day";
|
||||||
Description = "Download and set Bing wallpaper of the day";
|
Unit.StartLimitBurst = 6;
|
||||||
After = [ "network-online.target" ];
|
Unit.StartLimitIntervalSec = "10m";
|
||||||
Wants = [ "network-online.target" ];
|
Service.Restart = "on-failure";
|
||||||
};
|
Service.RestartSec = "10s";
|
||||||
Service = {
|
Service.Type = "oneshot";
|
||||||
Type = "oneshot";
|
Service.ExecStart = pkgs.lib.getExe (
|
||||||
ExecStart = pkgs.writeShellScript "bing-wallpaper" ''
|
pkgs.writeShellApplication {
|
||||||
OUT="''${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper/daily.jpg"
|
name = "bing-wallpaper";
|
||||||
|
runtimeInputs = with pkgs; [
|
||||||
|
wget
|
||||||
|
jq
|
||||||
|
coreutils
|
||||||
|
libnotify
|
||||||
|
];
|
||||||
|
text = ''
|
||||||
|
OUT="$HOME/.local/share/wallpaper/daily.jpg"
|
||||||
|
API=$(wget -qO- "https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&mkt=en-US&n=1")
|
||||||
|
BASE=$(echo "$API" | jq -r '.images[0].urlbase')
|
||||||
|
TITLE=$(echo "$API" | jq -r '.images[0].title')
|
||||||
|
|
||||||
API_RESP=$(${pkgs.wget}/bin/wget -qO- "https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&mkt=en-US&n=1") || exit 1
|
mkdir -p "$HOME/.local/share/wallpaper"
|
||||||
|
wget -qO "$OUT" "https://www.bing.com''${BASE}_UHD.jpg"
|
||||||
|
|
||||||
URL_BASE=$(echo "$API_RESP" | ${pkgs.gnugrep}/bin/grep -oP 'urlbase":"[^"]*' | cut -d '"' -f 3)
|
notify-send \
|
||||||
TITLE=$(echo "$API_RESP" | ${pkgs.gnugrep}/bin/grep -oP 'title":"[^"]*' | cut -d '"' -f 3)
|
-a "Wallpaper of the day" \
|
||||||
|
-u low \
|
||||||
${pkgs.coreutils}/bin/mkdir -p "$(dirname "$OUT")"
|
-i preferences-desktop-wallpaper \
|
||||||
${pkgs.wget}/bin/wget -qO "$OUT" "https://www.bing.com$URL_BASE\_UHD.jpg" || \
|
"$TITLE"
|
||||||
${pkgs.wget}/bin/wget -qO "$OUT" "https://www.bing.com$(echo "$API_RESP" | ${pkgs.gnugrep}/bin/grep -oP 'url":"[^"]*' | cut -d '"' -f 3)"
|
'';
|
||||||
|
}
|
||||||
${pkgs.libnotify}/bin/notify-send \
|
);
|
||||||
-a "Bing Wallpaper Service" \
|
Service.ExecStartPost = "${pkgs.systemd}/bin/systemctl --user start gowall-convert.service";
|
||||||
-u low \
|
Install.WantedBy = [ "niri.service" ];
|
||||||
-i preferences-desktop-wallpaper \
|
|
||||||
"$TITLE"
|
|
||||||
'';
|
|
||||||
ExecStartPost = "${pkgs.systemd}/bin/systemctl --user restart wpaperd.service";
|
|
||||||
};
|
|
||||||
Install = {
|
|
||||||
WantedBy = [ "niri.service" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.timers.bing-wallpaper = {
|
systemd.user.timers.bing-wallpaper = {
|
||||||
Unit = {
|
Unit.Description = "Run bing wallpaper retrieval daily";
|
||||||
Description = "Run bing wallpaper retrieval daily";
|
Timer.OnCalendar = "*-*-* 10:00:00 GMT";
|
||||||
};
|
Timer.Persistent = true;
|
||||||
Timer = {
|
Install.WantedBy = [ "timers.target" ];
|
||||||
OnCalendar = "*-*-* 10:00:00 GMT";
|
|
||||||
Persistent = true;
|
|
||||||
};
|
|
||||||
Install = {
|
|
||||||
WantedBy = [ "timers.target" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services.gowall-convert = {
|
||||||
|
Unit.Description = "Convert a wallpaper to the system color scheme";
|
||||||
|
Unit.StartLimitBurst = 6;
|
||||||
|
Unit.StartLimitIntervalSec = "10m";
|
||||||
|
Service.Restart = "on-failure";
|
||||||
|
Service.RestartSec = "10s";
|
||||||
|
Service.Type = "oneshot";
|
||||||
|
Service.ExecStart = ''
|
||||||
|
${pkgs.gowall}/bin/gowall convert \
|
||||||
|
%h/.local/share/wallpaper/daily.jpg \
|
||||||
|
--output %h/.local/share/wallpaper/daily-colored.jpg \
|
||||||
|
-t nix
|
||||||
|
'';
|
||||||
|
Service.ExecStartPost = "${pkgs.systemd}/bin/systemctl --user restart wbg-daemon.service";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file.".config/gowall/config.yml".text = with config.scheme.withHashtag; ''
|
||||||
|
themes:
|
||||||
|
- name: "nix"
|
||||||
|
colors:
|
||||||
|
- "${base06}"
|
||||||
|
- "${base0F}"
|
||||||
|
- "${base17}"
|
||||||
|
- "${base0E}"
|
||||||
|
- "${base08}"
|
||||||
|
- "${base12}"
|
||||||
|
- "${base09}"
|
||||||
|
- "${base0A}"
|
||||||
|
- "${base0B}"
|
||||||
|
- "${base0C}"
|
||||||
|
- "${base15}"
|
||||||
|
- "${base16}"
|
||||||
|
- "${base0D}"
|
||||||
|
- "${base07}"
|
||||||
|
- "${base05}"
|
||||||
|
- "${base07}"
|
||||||
|
- "${base0D}"
|
||||||
|
- "${base0D}"
|
||||||
|
- "${base04}"
|
||||||
|
- "${base04}"
|
||||||
|
- "${base04}"
|
||||||
|
- "${base03}"
|
||||||
|
- "${base02}"
|
||||||
|
- "${base00}"
|
||||||
|
- "${base01}"
|
||||||
|
- "${base11}"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,28 +2,16 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
environment.sessionVariables = {
|
|
||||||
# this makes electron apps work per the wiki
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
plymouth = {
|
plymouth.enable = true;
|
||||||
enable = true;
|
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
|
||||||
logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
|
|
||||||
};
|
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
timeout = 3;
|
timeout = 3;
|
||||||
# systemd-boot = {
|
|
||||||
# enable = true;
|
|
||||||
# consoleMode = lib.mkForce "auto";
|
|
||||||
# configurationLimit = 10;
|
|
||||||
# };
|
|
||||||
limine = {
|
limine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxGenerations = 10;
|
maxGenerations = 10;
|
||||||
|
|
@ -40,7 +28,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# efi.canTouchEfiVariables = true;
|
|
||||||
};
|
};
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"quiet"
|
"quiet"
|
||||||
|
|
@ -53,11 +40,108 @@
|
||||||
];
|
];
|
||||||
consoleLogLevel = 0;
|
consoleLogLevel = 0;
|
||||||
initrd.verbose = false;
|
initrd.verbose = false;
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
|
v4l2loopback
|
||||||
|
];
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
programs = {
|
||||||
hardware.bluetooth.enable = true;
|
gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
pinentryPackage = pkgs.pinentry-curses;
|
||||||
|
};
|
||||||
|
niri.enable = true;
|
||||||
|
niri.package = pkgs.niri-unstable;
|
||||||
|
dconf.enable = true;
|
||||||
|
dconf.profiles.user = {
|
||||||
|
databases = [
|
||||||
|
{
|
||||||
|
# breaks user-level indirect config of dconf
|
||||||
|
# lockAll = true;
|
||||||
|
settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
color-scheme = "prefer-dark";
|
||||||
|
clock-format = "12h";
|
||||||
|
clock-show-weekday = true;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/wm/preferences" = {
|
||||||
|
button-layout = ":";
|
||||||
|
action-double-click-titlebar = "'none'";
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/media-handling" = {
|
||||||
|
automount = false;
|
||||||
|
automount-open = false;
|
||||||
|
autorun-never = true;
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/power" = {
|
||||||
|
sleep-inactive-ac-type = "nothing";
|
||||||
|
};
|
||||||
|
"org/gnome/mutter" = {
|
||||||
|
edge-tiling = true;
|
||||||
|
dynamic-workspaces = true;
|
||||||
|
experimental-features = [ "variable-refresh-rate" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# aerothemeplasma = {
|
||||||
|
# enable = true;
|
||||||
|
# plasma.enable = true;
|
||||||
|
# fonts.enable = false;
|
||||||
|
# plymouth.enable = false;
|
||||||
|
# sddm.enable = true;
|
||||||
|
# };
|
||||||
|
|
||||||
|
services = {
|
||||||
|
desktopManager.plasma6.enable = true;
|
||||||
|
displayManager = {
|
||||||
|
sddm.enable = true;
|
||||||
|
sddm.wayland.enable = true;
|
||||||
|
defaultSession = "niri";
|
||||||
|
};
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
|
libinput.enable = true;
|
||||||
|
printing.enable = true;
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
udisks2.enable = true;
|
||||||
|
gvfs.enable = true;
|
||||||
|
upower.enable = true;
|
||||||
|
power-profiles-daemon.enable = true;
|
||||||
|
openssh.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
git
|
||||||
|
firefoxpwa
|
||||||
|
(wrapOBS {
|
||||||
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
|
wlrobs
|
||||||
|
obs-backgroundremoval
|
||||||
|
obs-pipewire-audio-capture
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
security.pam.services.niri.enableGnomeKeyring = config.services.gnome.gnome-keyring.enable;
|
||||||
|
security.polkit.enable = true;
|
||||||
|
networking.firewall.enable = false;
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
documentation.man.enable = true;
|
||||||
|
documentation.man.generateCaches = false;
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
i18n.extraLocaleSettings = {
|
i18n.extraLocaleSettings = {
|
||||||
|
|
@ -72,108 +156,6 @@
|
||||||
LC_TIME = "en_US.UTF-8";
|
LC_TIME = "en_US.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable OpenGL
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.niri = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.niri-unstable;
|
|
||||||
};
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
|
||||||
security.pam.services.niri.enableGnomeKeyring = true;
|
|
||||||
programs.dconf.enable = true;
|
|
||||||
|
|
||||||
programs.dconf.profiles.user = {
|
|
||||||
databases = [
|
|
||||||
{
|
|
||||||
# breaks user-level indirect config of dconf
|
|
||||||
# lockAll = true;
|
|
||||||
settings = {
|
|
||||||
"org/gnome/desktop/interface" = {
|
|
||||||
color-scheme = "prefer-dark";
|
|
||||||
clock-format = "12h";
|
|
||||||
clock-show-weekday = true;
|
|
||||||
};
|
|
||||||
"org/gnome/desktop/wm/preferences" = {
|
|
||||||
button-layout = ":";
|
|
||||||
action-double-click-titlebar = "'none'";
|
|
||||||
};
|
|
||||||
"org/gnome/desktop/media-handling" = {
|
|
||||||
automount = false;
|
|
||||||
automount-open = false;
|
|
||||||
autorun-never = true;
|
|
||||||
};
|
|
||||||
"org/gnome/settings-daemon/plugins/power" = {
|
|
||||||
sleep-inactive-ac-type = "nothing";
|
|
||||||
};
|
|
||||||
"org/gnome/mutter" = {
|
|
||||||
edge-tiling = true;
|
|
||||||
dynamic-workspaces = true;
|
|
||||||
experimental-features = [ "variable-refresh-rate" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
aerothemeplasma = {
|
|
||||||
enable = true;
|
|
||||||
plasma.enable = true;
|
|
||||||
fonts.enable = false;
|
|
||||||
plymouth.enable = false;
|
|
||||||
sddm.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
# displayManager = {
|
|
||||||
# gdm.enable = true;
|
|
||||||
# defaultSession = "niri";
|
|
||||||
# };
|
|
||||||
desktopManager.plasma6.enable = true;
|
|
||||||
displayManager = {
|
|
||||||
sddm.enable = true;
|
|
||||||
defaultSession = "aerothemeplasma";
|
|
||||||
};
|
|
||||||
|
|
||||||
libinput.enable = true;
|
|
||||||
printing.enable = true;
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
udisks2.enable = true;
|
|
||||||
gvfs.enable = true;
|
|
||||||
|
|
||||||
upower.enable = true;
|
|
||||||
power-profiles-daemon.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment = {
|
|
||||||
systemPackages = with pkgs; [
|
|
||||||
git
|
|
||||||
firefoxpwa
|
|
||||||
distrobox
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.gnupg.agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
|
||||||
};
|
|
||||||
networking.firewall.enable = false;
|
|
||||||
|
|
||||||
documentation.man = {
|
|
||||||
enable = true;
|
|
||||||
generateCaches = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ catppuccin, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.sckova = {
|
home-manager.users.sckova = {
|
||||||
imports = [ catppuccin.homeModules.catppuccin ];
|
imports = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.spice-vdagentd.enable = true;
|
services.spice-vdagentd.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
pkgs.runCommand "gen-key" { buildInputs = [ pkgs.openssl ]; } "openssl rand -hex 32 > $out"
|
pkgs.runCommand "gen-key" { buildInputs = [ pkgs.openssl ]; } "openssl rand -hex 32 > $out"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
port = 8080;
|
port = 5364;
|
||||||
bind_address = "127.0.0.1";
|
bind_address = "127.0.0.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
53
system/torrenting/default.nix
Normal file
53
system/torrenting/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
users.users.sckova.extraGroups = [ "qbittorrent" ];
|
||||||
|
services = {
|
||||||
|
qbittorrent = {
|
||||||
|
enable = true;
|
||||||
|
serverConfig = {
|
||||||
|
Preferences = {
|
||||||
|
Advanced.useSystemIconTheme = true;
|
||||||
|
General = {
|
||||||
|
CloseToTray = false;
|
||||||
|
CloseToTrayNotified = true;
|
||||||
|
ExitConfirm = false;
|
||||||
|
Locale = "en";
|
||||||
|
};
|
||||||
|
WebUI = {
|
||||||
|
Address = "*";
|
||||||
|
Enabled = true;
|
||||||
|
Port = 9697;
|
||||||
|
UseUPnP = false;
|
||||||
|
};
|
||||||
|
BitTorrent = {
|
||||||
|
SessionGlobalDLSpeedLimit = 0;
|
||||||
|
GlobalUPSpeedLimit = 0;
|
||||||
|
Port = 42578;
|
||||||
|
QueueingSystemEnabled = false;
|
||||||
|
SSL.Port = 63114;
|
||||||
|
StartPaused = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
flaresolverr = {
|
||||||
|
enable = true;
|
||||||
|
port = 8191;
|
||||||
|
};
|
||||||
|
prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
urlbase = "localhost";
|
||||||
|
port = 9696;
|
||||||
|
bindaddress = "*";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue