Compare commits
22 Commits
637def6ca3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ed6185b1d | |||
| 3d751291ab | |||
| 594e078929 | |||
| dc4ff6d8d2 | |||
| b341ca2c87 | |||
| 762bab2c0b | |||
| 0f1d51c246 | |||
| b953cdb4be | |||
| cf1470cb63 | |||
| 4962c1bb03 | |||
| ce797e1a65 | |||
| 93bc7644f5 | |||
| c986ac4bf7 | |||
| b25430abc9 | |||
| c6862c78db | |||
| 25ecab4a70 | |||
| 8de85492a6 | |||
| 059b424d87 | |||
| 8dba82f523 | |||
| 70fc8a0c9a | |||
| ea977f8253 | |||
| 9abff2dfd7 |
211
flake.lock
generated
211
flake.lock
generated
@ -44,17 +44,17 @@
|
||||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1754405784,
|
||||
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=",
|
||||
"lastModified": 1765809053,
|
||||
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
@ -116,11 +116,11 @@
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1764724327,
|
||||
"narHash": "sha256-OkFLrD3pFR952TrjQi1+Vdj604KLcMnkpa7lkW7XskI=",
|
||||
"lastModified": 1764873433,
|
||||
"narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "66b7c635763d8e6eb86bd766de5a1e1fbfcc1047",
|
||||
"rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -158,11 +158,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1763759067,
|
||||
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
|
||||
"lastModified": 1767609335,
|
||||
"narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
|
||||
"rev": "250481aafeb741edfe23d29195671c19b36b6dca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -207,11 +207,11 @@
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"host": "gitlab.gnome.org",
|
||||
"lastModified": 1764524476,
|
||||
"narHash": "sha256-bTmNn3Q4tMQ0J/P0O5BfTQwqEnCiQIzOGef9/aqAZvk=",
|
||||
"lastModified": 1767737596,
|
||||
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "c0e1ad9f0f703fd0519033b8f46c3267aab51a22",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
@ -247,11 +247,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765217760,
|
||||
"narHash": "sha256-BVVyAodLcAD8KOtR3yCStBHSE0WAH/xQWH9f0qsxbmk=",
|
||||
"lastModified": 1773286336,
|
||||
"narHash": "sha256-+yFtmhOHterllxWmV6YbdevTXpJdGS0mS0UmJ0k9fh0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "e5b1f87841810fc24772bf4389f9793702000c9b",
|
||||
"rev": "7d06e0cefe6e4a1e85b2b3274dcb0b3da242a557",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -261,27 +261,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"zen-browser",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1762964643,
|
||||
"narHash": "sha256-RYHN8O/Aja59XDji6WSJZPkJpYVUfpSkyH+PEupBJqM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "827f2a23373a774a8805f84ca5344654c31f354b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri": {
|
||||
"inputs": {
|
||||
"niri-stable": "niri-stable",
|
||||
@ -294,11 +273,11 @@
|
||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765258158,
|
||||
"narHash": "sha256-d35lpzPLgL8gVruRAFt/KPwXQh7a19wR1AzQJHjyyuo=",
|
||||
"lastModified": 1773303738,
|
||||
"narHash": "sha256-qrl74wNFMTUzA8z6nSEWNjQcJI/MQEWdWu2Wn+u4Ctg=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "7546342de11138550fcadf104b5257f6534886e2",
|
||||
"rev": "329df7671b7859abd1cbca5d5af296ed6dc22b46",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -327,11 +306,11 @@
|
||||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1765256153,
|
||||
"narHash": "sha256-tHey91LxQM6pgnTfguw0jqN45xj8X/0Vu71RPGkGSKg=",
|
||||
"lastModified": 1773130184,
|
||||
"narHash": "sha256-3bwx4WqCB06yfQIGB+OgIckOkEDyKxiTD5pOo4Xz2rI=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "83a733e08512d9a6ff5332ef53acc0e8e635c2ea",
|
||||
"rev": "b07bde3ee82dd73115e6b949e4f3f63695da35ea",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -342,11 +321,11 @@
|
||||
},
|
||||
"nix-flatpak": {
|
||||
"locked": {
|
||||
"lastModified": 1754777568,
|
||||
"narHash": "sha256-0bBqT+3XncgF8F03RFAamw9vdf0VmaDoIJLTGkjfQZs=",
|
||||
"lastModified": 1768656715,
|
||||
"narHash": "sha256-Sbh037scxKFm7xL0ahgSCw+X2/5ZKeOwI2clqrYr9j4=",
|
||||
"owner": "gmodena",
|
||||
"repo": "nix-flatpak",
|
||||
"rev": "62f636b87ef6050760a8cb325cadb90674d1e23e",
|
||||
"rev": "123fe29340a5b8671367055b75a6e7c320d6f89a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -357,11 +336,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1764440730,
|
||||
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
|
||||
"lastModified": 1772972630,
|
||||
"narHash": "sha256-mUJxsNOrBMNOUJzN0pfdVJ1r2pxeqm9gI/yIKXzVVbk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
|
||||
"rev": "3966ce987e1a9a164205ac8259a5fe8a64528f72",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -372,11 +351,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1765271087,
|
||||
"narHash": "sha256-u38f0e122QdMNWcgUVEzjDklxOauP/k0bEYNMg+Eeac=",
|
||||
"lastModified": 1773304180,
|
||||
"narHash": "sha256-e/ctVWU2EYXBOsJHU76lN6vqugD8u1Xl20MJ+A+bPuE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "adf3274db725a05e8c2722e1ca62c781cea33cd0",
|
||||
"rev": "d5eb8dca28f5be580c26f8fcb2ec4ec4215e9102",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -388,11 +367,11 @@
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1764983851,
|
||||
"narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=",
|
||||
"lastModified": 1773068389,
|
||||
"narHash": "sha256-vMrm7Pk2hjBRPnCSjhq1pH0bg350Z+pXhqZ9ICiqqCs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454",
|
||||
"rev": "44bae273f9f82d480273bab26f5c50de3724f52f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -404,11 +383,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1764950072,
|
||||
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
|
||||
"lastModified": 1773122722,
|
||||
"narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f61125a668a320878494449750330ca58b78c557",
|
||||
"rev": "62dc67aa6a52b4364dd75994ec00b51fbf474e50",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -427,11 +406,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771135771,
|
||||
"narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=",
|
||||
"lastModified": 1772402258,
|
||||
"narHash": "sha256-3DmCFOdmbkFML1/G9gj8Wb+rCCZFPOQtNoMCpqOF8SA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba",
|
||||
"rev": "21ae25e13b01d3b4cdc750b5f9e7bad68b150c10",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -452,11 +431,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764773531,
|
||||
"narHash": "sha256-mCBl7MD1WZ7yCG6bR9MmpPO2VydpNkWFgnslJRIT1YU=",
|
||||
"lastModified": 1767810917,
|
||||
"narHash": "sha256-ZKqhk772+v/bujjhla9VABwcvz+hB2IaRyeLT6CFnT0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "1d9616689e98beded059ad0384b9951e967a17fa",
|
||||
"rev": "dead29c804adc928d3a69dfe7f9f12d0eec1f1a4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -465,6 +444,43 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pam-fprint-grosshack": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"pam-fprint-src": "pam-fprint-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774432303,
|
||||
"narHash": "sha256-IdsKBu1HV1mYJMVuAL0GJiWeEkMrdW691aW8D6Zr15I=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "7ad351f85a92fee40806cb81777430c33499be41",
|
||||
"revCount": 1,
|
||||
"type": "git",
|
||||
"url": "https://gitea.cookiee.org/cookiez/nix-fprint-grosshack-flake.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.cookiee.org/cookiez/nix-fprint-grosshack-flake.git"
|
||||
}
|
||||
},
|
||||
"pam-fprint-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1658952526,
|
||||
"narHash": "sha256-obczZbf/oH4xGaVvp3y3ZyDdYhZnxlCWvL0irgEYIi0=",
|
||||
"owner": "mishakmak",
|
||||
"repo": "pam-fprint-grosshack",
|
||||
"rev": "45b42524fb5783e1e555067743d7e0f70d27888a",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mishakmak",
|
||||
"repo": "pam-fprint-grosshack",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"plasma-manager": {
|
||||
"inputs": {
|
||||
"home-manager": [
|
||||
@ -475,11 +491,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1763909441,
|
||||
"narHash": "sha256-56LwV51TX/FhgX+5LCG6akQ5KrOWuKgcJa+eUsRMxsc=",
|
||||
"lastModified": 1772361940,
|
||||
"narHash": "sha256-B1Cz+ydL1iaOnGlwOFld/C8lBECPtzhiy/pP93/CuyY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "plasma-manager",
|
||||
"rev": "b24ed4b272256dfc1cc2291f89a9821d5f9e14b4",
|
||||
"rev": "a4b33606111c9c5dcd10009042bb710307174f51",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -495,11 +511,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764663772,
|
||||
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=",
|
||||
"lastModified": 1773291133,
|
||||
"narHash": "sha256-9Odn+7x5l90HnXRY7MwVYcX+8CYAo+ldJ+GOVs7e2T8=",
|
||||
"owner": "outfoxxed",
|
||||
"repo": "quickshell",
|
||||
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
|
||||
"rev": "9a9c60525014bcdf83aace03db4b53c19168edcc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -518,10 +534,10 @@
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixvim": "nixvim",
|
||||
"pam-fprint-grosshack": "pam-fprint-grosshack",
|
||||
"plasma-manager": "plasma-manager",
|
||||
"quickshell": "quickshell",
|
||||
"stylix": "stylix",
|
||||
"zen-browser": "zen-browser"
|
||||
"stylix": "stylix"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src": {
|
||||
@ -562,11 +578,11 @@
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765047449,
|
||||
"narHash": "sha256-VQcqjJ2g0kT9TW4ENwA2HBQJzfbCUd5s1Wm3K+R2QZY=",
|
||||
"lastModified": 1772296853,
|
||||
"narHash": "sha256-pAtzPsgHRKw/2Kv8HgAjSJg450FDldHPWsP3AKG/Xj0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"rev": "bd00e01aab676aee88e6cc5c9238b4a5a7d6639a",
|
||||
"rev": "c4b8e80a1020e09a1f081ad0f98ce804a6e85acf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -642,11 +658,11 @@
|
||||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1763914658,
|
||||
"narHash": "sha256-Hju0WtMf3iForxtOwXqGp3Ynipo0EYx1AqMKLPp9BJw=",
|
||||
"lastModified": 1767710407,
|
||||
"narHash": "sha256-+W1EB79Jl0/gm4JqmO0Nuc5C7hRdp4vfsV/VdzI+des=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "0f6be815d258e435c9b137befe5ef4ff24bea32c",
|
||||
"rev": "2800e2b8ac90f678d7e4acebe4fa253f602e05b2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -658,11 +674,11 @@
|
||||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1764465359,
|
||||
"narHash": "sha256-lbSVPqLEk2SqMrnpvWuKYGCaAlfWFMA6MVmcOFJjdjE=",
|
||||
"lastModified": 1767489635,
|
||||
"narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "edf89a780e239263cc691a987721f786ddc4f6aa",
|
||||
"rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -674,11 +690,11 @@
|
||||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1764464512,
|
||||
"narHash": "sha256-rCD/pAhkMdCx6blsFwxIyvBJbPZZ1oL2sVFrH07lmqg=",
|
||||
"lastModified": 1767488740,
|
||||
"narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "907dbba5fb8cf69ebfd90b00813418a412d0a29a",
|
||||
"rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -707,11 +723,11 @@
|
||||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1765201946,
|
||||
"narHash": "sha256-7zkEUqmeWToaTGp29YI7HUN7qiSCauNB2ep0TpB1Jwk=",
|
||||
"lastModified": 1772429643,
|
||||
"narHash": "sha256-M+bAeCCcjBnVk6w/4dIVvXvpJwOKnXjwi/lDbaN6Yws=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "2f9981ad0890739980d09cd2a18293a1d47d0f01",
|
||||
"rev": "10f985b84cdbcc3bbf35b3e7e43d1b2a84fa9ce2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -719,27 +735,6 @@
|
||||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765175766,
|
||||
"narHash": "sha256-M4zs4bVUv0UNuVGspwwlcGs5FpCDt52LQBA5a9nj5Lg=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "5126a8426773dc213a8c0f0d646aca116194dab6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
||||
40
flake.nix
40
flake.nix
@ -15,9 +15,6 @@
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
||||
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||
zen-browser.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
#stylix.url = "github:nix-community/stylix/";
|
||||
stylix.url = "github:nix-community/stylix/master"; #Had to use branch or it would not build corrently
|
||||
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
@ -42,13 +39,29 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
pam-fprint-grosshack = {
|
||||
url = "git+https://gitea.cookiee.org/cookiez/nix-fprint-grosshack-flake.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
|
||||
grub2-themes.url = "github:vinceliuice/grub2-themes";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, alejandra, home-manager, plasma-manager, nixos-hardware, stylix, niri, zen-browser, grub2-themes, nix-flatpak, ... }:
|
||||
let
|
||||
outputs = inputs @ {
|
||||
nixpkgs,
|
||||
alejandra,
|
||||
pam-fprint-grosshack,
|
||||
home-manager,
|
||||
plasma-manager,
|
||||
nixos-hardware,
|
||||
stylix,
|
||||
niri,
|
||||
grub2-themes,
|
||||
nix-flatpak,
|
||||
...
|
||||
}: let
|
||||
username = "cookiez";
|
||||
hostname = "nixos";
|
||||
project = "NixOS";
|
||||
@ -57,8 +70,9 @@
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
|
||||
framework13 = true;
|
||||
in
|
||||
{
|
||||
in {
|
||||
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
|
||||
|
||||
nixosConfigurations = {
|
||||
${hostname} = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
@ -69,12 +83,20 @@
|
||||
inherit system;
|
||||
inherit project;
|
||||
inherit alejandra;
|
||||
pam-fprint-grosshack-pkg = pam-fprint-grosshack.packages.${system}.default;
|
||||
host = hostname;
|
||||
};
|
||||
modules = [
|
||||
modules =
|
||||
[
|
||||
./modules
|
||||
#Conditional Modules!
|
||||
] ++ (if framework13 then [ nixos-hardware.nixosModules.framework-13-7040-amd ] else [ ]) ++ [
|
||||
]
|
||||
++ (
|
||||
if framework13
|
||||
then [nixos-hardware.nixosModules.framework-13-7040-amd]
|
||||
else []
|
||||
)
|
||||
++ [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
# silence first boot output
|
||||
consoleLogLevel = 3;
|
||||
|
||||
@ -3,23 +3,32 @@
|
||||
#nmcli device wifi connect <ssid> password <password>
|
||||
# or if no password (open wifi)
|
||||
#nmcli device wifi connect <ssid>
|
||||
|
||||
{ inputs, config, pkgs, lib, username, project, host, version, system, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
username,
|
||||
project,
|
||||
host,
|
||||
version,
|
||||
system,
|
||||
pam-fprint-grosshack-pkg,
|
||||
...
|
||||
}: {
|
||||
#Assign Swap to the PC
|
||||
#swapDevices = [{
|
||||
# device = "/swapfile";
|
||||
# size = 16 * 1024; # 16GB
|
||||
#}];
|
||||
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.grub2-themes.nixosModules.default
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
./hardware-configuration.nix
|
||||
|
||||
./firefox.nix
|
||||
./firefox
|
||||
./boot-splash.nix
|
||||
./zsh.nix
|
||||
./neovim
|
||||
@ -53,7 +62,7 @@
|
||||
footer = true;
|
||||
};
|
||||
|
||||
timeout = 10;
|
||||
timeout = 5;
|
||||
};
|
||||
};
|
||||
|
||||
@ -63,7 +72,6 @@
|
||||
#Manage flags -> Add bios_grub
|
||||
|
||||
networking = {
|
||||
|
||||
# Enable networking
|
||||
networkmanager.enable = true;
|
||||
|
||||
@ -116,7 +124,7 @@
|
||||
# List services that you want to enable:
|
||||
services = {
|
||||
ollama = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
# Optional: load models on startup
|
||||
#loadModels = [ ... ];
|
||||
};
|
||||
@ -183,6 +191,11 @@
|
||||
openssh.enable = true;
|
||||
};
|
||||
|
||||
systemd.services.fprintd = {
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig.Type = "simple";
|
||||
};
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
font-awesome
|
||||
@ -301,10 +314,28 @@
|
||||
sudo.wheelNeedsPassword = false;
|
||||
|
||||
pam.services = {
|
||||
login.fprintAuth = true;
|
||||
sudo.fprintAuth = true;
|
||||
login.fprintAuth = false;
|
||||
sudo.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
|
||||
kscreenlocker.fprintAuth = true;
|
||||
polkit-1.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
|
||||
kde.fprintAuth = false;
|
||||
hyprlock = {};
|
||||
|
||||
sddm = {
|
||||
fprintAuth = false; # prevent NixOS from adding its own pam_fprintd block
|
||||
|
||||
text = lib.mkForce ''
|
||||
auth sufficient ${pam-fprint-grosshack-pkg}/lib/security/pam_fprintd_grosshack.so
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
auth sufficient ${pkgs.fprintd}/lib/security/pam_fprintd.so
|
||||
|
||||
account required pam_unix.so
|
||||
password required pam_deny.so
|
||||
|
||||
session required pam_unix.so
|
||||
session optional ${pkgs.systemd}/lib/security/pam_systemd.so
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./configuration.nix
|
||||
|
||||
@ -43,6 +42,5 @@
|
||||
environment.etc."nixos-tags".text = "niri";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
{ pkgs, username, project, ...}:
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
xdg = {
|
||||
desktopEntries.youtube = {
|
||||
name = "YouTube";
|
||||
@ -107,6 +111,5 @@
|
||||
name = "Discover";
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
{ username, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"${username}" = {
|
||||
extensions.force = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services."firefox-autostart" = {
|
||||
serviceConfig = {
|
||||
ExecStart = "";
|
||||
ExecStop = "";
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -1,105 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
lock-false = {
|
||||
Value = false;
|
||||
Status = "locked";
|
||||
};
|
||||
lock-true = {
|
||||
Value = true;
|
||||
Status = "locked";
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
home-manager.sharedModules = [
|
||||
./firefox-home.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
languagePacks = [ "de" "en-US" ];
|
||||
|
||||
/* ---- POLICIES ---- */
|
||||
# Check about:policies#documentation for options.
|
||||
policies = {
|
||||
PasswordManagerEnabled = false;
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
EnableTrackingProtection = {
|
||||
Value= true;
|
||||
Locked = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
};
|
||||
DisablePocket = true;
|
||||
#DisableFirefoxAccounts = true;
|
||||
#DisableAccounts = true;
|
||||
#DisableFirefoxScreenshots = true;
|
||||
OverrideFirstRunPage = "";
|
||||
OverridePostUpdatePage = "";
|
||||
DontCheckDefaultBrowser = true;
|
||||
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
||||
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
||||
SearchBar = "unified"; # alternative: "separate"
|
||||
|
||||
/* ---- EXTENSIONS ---- */
|
||||
# Check about:support for extension/add-on ID strings.
|
||||
# Valid strings for installation_mode are "allowed", "blocked",
|
||||
# "force_installed" and "normal_installed".
|
||||
|
||||
# How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265
|
||||
ExtensionSettings =
|
||||
with builtins;
|
||||
let
|
||||
extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
};
|
||||
in
|
||||
listToAttrs [
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
#(extension "2fas-two-factor-authentication" "admin@2fas.com")
|
||||
(extension "sponsorblock" "sponsorBlocker@ajay.app")
|
||||
#(extension "dearrow" "deArrow@ajay.app")
|
||||
#(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
|
||||
#(extension "tabliss" "extension@tabliss.io")
|
||||
#(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist")
|
||||
#(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
#(extension "react-devtools" "@react-devtools")
|
||||
(extension "keepa" "amptra@keepa.com")
|
||||
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
|
||||
(extension "darkreader" "addon@darkreader.org")
|
||||
];
|
||||
|
||||
/* ---- PREFERENCES ---- */
|
||||
# Check about:config for options.
|
||||
Preferences = {
|
||||
"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
|
||||
"extensions.pocket.enabled" = lock-false;
|
||||
"extensions.screenshots.disabled" = lock-true;
|
||||
"browser.topsites.contile.enabled" = lock-false;
|
||||
#"browser.formfill.enable" = lock-false;
|
||||
#"browser.search.suggest.enabled" = lock-false;
|
||||
#"browser.search.suggest.enabled.private" = lock-false;
|
||||
#"browser.urlbar.suggest.searches" = lock-false;
|
||||
"browser.urlbar.showSearchSuggestionsFirst" = lock-false;
|
||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
|
||||
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
|
||||
"browser.newtabpage.activity-stream.showSponsored" = lock-false;
|
||||
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
171
modules/firefox/default.nix
Normal file
171
modules/firefox/default.nix
Normal file
@ -0,0 +1,171 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
lock-false = {
|
||||
Value = false;
|
||||
Status = "locked";
|
||||
};
|
||||
lock-true = {
|
||||
Value = true;
|
||||
Status = "locked";
|
||||
};
|
||||
in {
|
||||
home-manager.sharedModules = [
|
||||
./home.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
languagePacks = ["de" "en-US"];
|
||||
|
||||
/*
|
||||
---- POLICIES ----
|
||||
*/
|
||||
# Check about:policies#documentation for options.
|
||||
policies = {
|
||||
PasswordManagerEnabled = false;
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Locked = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
};
|
||||
DisablePocket = true;
|
||||
#DisableFirefoxAccounts = true;
|
||||
#DisableAccounts = true;
|
||||
#DisableFirefoxScreenshots = true;
|
||||
OverrideFirstRunPage = "";
|
||||
OverridePostUpdatePage = "";
|
||||
DontCheckDefaultBrowser = true;
|
||||
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
||||
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
||||
SearchBar = "unified"; # alternative: "separate"
|
||||
|
||||
/*
|
||||
---- EXTENSIONS ----
|
||||
*/
|
||||
# Check about:support for extension/add-on ID strings.
|
||||
# Valid strings for installation_mode are "allowed", "blocked",
|
||||
# "force_installed" and "normal_installed".
|
||||
|
||||
# How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265
|
||||
ExtensionSettings = with builtins; let
|
||||
extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
in
|
||||
listToAttrs [
|
||||
#(extension "{name in url}" "{about:support Add-ons on }")
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
(extension "sponsorblock" "sponsorBlocker@ajay.app")
|
||||
(extension "keepa" "amptra@keepa.com")
|
||||
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
|
||||
(extension "darkreader" "addon@darkreader.org")
|
||||
(extension "youtube-shorts-block" "{34daeb50-c2d2-4f14-886a-7160b24d66a4}")
|
||||
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
];
|
||||
|
||||
/*
|
||||
---- PREFERENCES ----
|
||||
*/
|
||||
# Check about:config for options.
|
||||
Preferences = {
|
||||
"browser.contentblocking.category" = {
|
||||
Value = "strict"; # strictest tracker/ad blocking mode
|
||||
Status = "locked";
|
||||
};
|
||||
"extensions.pocket.enabled" = lock-false; # disables Pocket integration
|
||||
"extensions.screenshots.disabled" = lock-true; # disables Firefox Screenshots
|
||||
"browser.topsites.contile.enabled" = lock-false; # disables sponsored tiles on newtab
|
||||
"browser.formfill.enable" = lock-false; # disables form autofill (prevents local data leakage)
|
||||
"browser.search.suggest.enabled" = lock-false; # disables search suggestions in normal mode
|
||||
"browser.search.suggest.enabled.private" = lock-false; # disables search suggestions in private mode
|
||||
"browser.urlbar.suggest.searches" = lock-false; # disables search suggestions in address bar dropdown
|
||||
"browser.urlbar.showSearchSuggestionsFirst" = lock-false; # hides search suggestions in address bar
|
||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false; # disables sponsored stories on newtab
|
||||
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false; # disables news snippets on newtab
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false; # removes Pocket from highlights
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false; # removes bookmarks from highlights
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false; # removes downloads from highlights
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false; # removes visited sites from highlights
|
||||
"browser.newtabpage.activity-stream.showSponsored" = lock-false; # disables all sponsored content
|
||||
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false; # disables system-level sponsored content
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false; # disables sponsored top sites
|
||||
|
||||
"privacy.resistFingerprinting" = lock-true; # spoofs/normalizes fingerprinting signals (screen, timezone, fonts)
|
||||
"privacy.firstparty.isolate" = lock-true; # isolates cookies/storage per top-level domain (breaks cross-site tracking)
|
||||
"network.dns.disablePrefetch" = lock-true; # stops speculative DNS lookups for unclicked links
|
||||
"network.predictor.enabled" = lock-false; # disables ML-based prefetch predictions
|
||||
"network.prefetch-next" = lock-false; # disables link-hover prefetching
|
||||
"toolkit.telemetry.enabled" = lock-false; # disables core telemetry reporting
|
||||
"toolkit.telemetry.unified" = lock-false; # disables unified telemetry pipeline
|
||||
"datareporting.healthreport.uploadEnabled" = lock-false; # disables Firefox Health Report uploads
|
||||
"dom.battery.enabled" = lock-false; # blocks Battery Status API fingerprinting
|
||||
"dom.gamepad.enabled" = lock-false; # blocks Gamepad API fingerprinting
|
||||
|
||||
"browser.startup.homepage" = {
|
||||
Value = "about:blank";
|
||||
Status = "locked";
|
||||
};
|
||||
"browser.startup.page" = {
|
||||
Value = 0;
|
||||
Status = "locked";
|
||||
}; # 0=blank, 3=homepage
|
||||
"browser.startup.homepage_override.mstone" = {
|
||||
Value = "ignore";
|
||||
Status = "locked";
|
||||
};
|
||||
|
||||
# HTTPS‑only / mixed‑content
|
||||
"dom.security.https_only_mode" = {
|
||||
Value = true;
|
||||
Status = "locked";
|
||||
};
|
||||
"dom.security.https_only_mode_ever_enabled" = {
|
||||
Value = true;
|
||||
Status = "locked";
|
||||
};
|
||||
|
||||
# Referrer / headers tightening
|
||||
"network.http.referer.XOriginPolicy" = {
|
||||
Value = 2;
|
||||
Status = "locked";
|
||||
}; # strict cross‑origin
|
||||
"network.http.referer.XOriginTrimmingPolicy" = {
|
||||
Value = 2;
|
||||
Status = "locked";
|
||||
};
|
||||
|
||||
# DNS‑over‑HTTPS (if you want enforced DoH)
|
||||
"network.trr.mode" = {
|
||||
Value = 2;
|
||||
Status = "locked";
|
||||
}; # 2=prefer TRR
|
||||
"network.trr.custom_uri" = {
|
||||
Value = "https://dns.quad9.net/dns-query";
|
||||
Status = "locked";
|
||||
};
|
||||
|
||||
# Disable various Web APIs that can leak or be abused
|
||||
"dom.webnotifications.enabled" = lock-false; # disable desktop notifications
|
||||
"media.navigator.enabled" = lock-false; # disable getUserMedia permission prompts
|
||||
"media.webrtc.legacy_global_callback" = lock-false;
|
||||
|
||||
# Disable geolocation / sensors
|
||||
"geo.enabled" = lock-false;
|
||||
"device.sensors.enabled" = lock-false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
44
modules/firefox/home.nix
Normal file
44
modules/firefox/home.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{username, ...}: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"${username}" = {
|
||||
extensions.force = true;
|
||||
|
||||
#Create multiple containers, like "work" "social media" ..., for cookies to reside in so they dont cross leak
|
||||
#containers.force = true;
|
||||
|
||||
search = {
|
||||
force = true;
|
||||
default = "SearXNG";
|
||||
order = ["SearXNG"];
|
||||
engines = {
|
||||
"SearXNG" = {
|
||||
name = "SearXNG";
|
||||
urls = [
|
||||
{
|
||||
template = "https://searxng.cookiee.org/search";
|
||||
params = [
|
||||
{
|
||||
name = "q";
|
||||
value = "{searchTerms}";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
iconMapObj."16" = "https://searxng.cookiee.org/favicon.ico";
|
||||
definedAliases = ["@sx"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services."firefox-autostart" = {
|
||||
serviceConfig = {
|
||||
ExecStart = "";
|
||||
ExecStop = "";
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -1,11 +1,15 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "uas" "usbhid" "sd_mod"];
|
||||
@ -13,13 +17,13 @@
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/58D5-0C06";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/58D5-0C06";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
@ -1,24 +1,33 @@
|
||||
{ lib, inputs, config, pkgs, username, project, host, version, ... }:
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
host,
|
||||
version,
|
||||
...
|
||||
}: {
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.packages = [
|
||||
(import ./ncli.nix { inherit pkgs host project; backupFiles = [
|
||||
(import ./ncli.nix {
|
||||
inherit pkgs host project;
|
||||
backupFiles = [
|
||||
".gtkrc-2.0.backup"
|
||||
".config/gtk-3.0/gtk.css.backup"
|
||||
".config/gtk-3.0/settings.ini.backup"
|
||||
".config/gtk-4.0/gtk.css.backup"
|
||||
".config/gtk-4.0/settings.ini.backup"
|
||||
".config/niri/config.kdl"
|
||||
]; })
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
imports = [
|
||||
inputs.zen-browser.homeModules.beta
|
||||
# or inputs.zen-browser.homeModules.twilight
|
||||
# or inputs.zen-browser.homeModules.twilight-official
|
||||
#./neovim-home.nix
|
||||
./desktop-entries.nix
|
||||
];
|
||||
@ -37,7 +46,6 @@
|
||||
programs = {
|
||||
home-manager = {enable = true;};
|
||||
|
||||
|
||||
zoxide = {
|
||||
enable = true;
|
||||
#enableZshIntegration = true;
|
||||
@ -56,7 +64,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -68,75 +75,5 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
enable = false;
|
||||
#package = inputs.zen-browser.packages.${pkgs.system}.default;
|
||||
profiles = {
|
||||
${username} = {
|
||||
id = 0;
|
||||
name = username;
|
||||
# profileAvatarPath = "chrome://browser/content/zen-avatars/avatar-57.svg";
|
||||
path = "${username}.default";
|
||||
isDefault = true;
|
||||
settings = {
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
policies = {
|
||||
AutofillAddressEnabled = false;
|
||||
AutofillCreditCardEnabled = false;
|
||||
PasswordManagerEnabled = false;
|
||||
NoDefaultBookmarks = true;
|
||||
DisableAppUpdate = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DontCheckDefaultBrowser = true;
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Locked = true;
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
};
|
||||
OfferToSaveLogins = false;
|
||||
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
||||
|
||||
ExtensionSettings =
|
||||
with builtins;
|
||||
let
|
||||
extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
in
|
||||
listToAttrs [
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
#(extension "2fas-two-factor-authentication" "admin@2fas.com")
|
||||
(extension "sponsorblock" "sponsorBlocker@ajay.app")
|
||||
#(extension "dearrow" "deArrow@ajay.app")
|
||||
#(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
|
||||
#(extension "tabliss" "extension@tabliss.io")
|
||||
#(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist")
|
||||
#(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
#(extension "react-devtools" "@react-devtools")
|
||||
(extension "keepa" "amptra@keepa.com")
|
||||
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
|
||||
];
|
||||
# To add additional extensions, find it on addons.mozilla.org, find
|
||||
# the short ID in the url (like https=//addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/)
|
||||
# Then, download the XPI by filling it in to the install_url template, unzip it,
|
||||
# run `jq .browser_specific_settings.gecko.id manifest.json` or
|
||||
# `jq .applications.gecko.id manifest.json` to get the UUID
|
||||
Preferences = {
|
||||
#"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
|
||||
"browser.urlbar.showSearchSuggestionsFirst" = false;
|
||||
"browser.sessionstore.resume_session_once" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}; #End of programs = {};
|
||||
}
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
{ config, inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
@ -7,8 +11,7 @@
|
||||
./home.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprlock
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
{pkgs, inputs, username, ...}:
|
||||
{
|
||||
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
{ config, inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
@ -7,8 +11,7 @@
|
||||
./home.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprpaper
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
{pkgs, inputs, username, project, ...}:
|
||||
{
|
||||
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
|
||||
@ -3,11 +3,15 @@
|
||||
#nmcli device wifi connect <ssid> password <password>
|
||||
# or if no password (open wifi)
|
||||
#nmcli device wifi connect <ssid>
|
||||
|
||||
{ config, pkgs, lib, username, version, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
username,
|
||||
version,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./zsh.nix
|
||||
#./ncli.nix
|
||||
|
||||
@ -161,13 +161,64 @@ in
|
||||
echo -e "Updating flake and rebuilding system for current host: $HOST on generation: $YELLOW$geno$NOCOLOR"
|
||||
cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; }
|
||||
|
||||
echo "Updating flake..."
|
||||
if nix flake update; then
|
||||
# --- Selective flake update ---
|
||||
read -rp "Update [a]ll inputs or [s]elect manually? (a/s): " choice
|
||||
|
||||
case "$choice" in
|
||||
a|A)
|
||||
echo "Updating all inputs..."
|
||||
if nix flake update --flake .; then
|
||||
echo "✓ Flake updated successfully"
|
||||
else
|
||||
echo "✗ Flake update failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
s|S)
|
||||
echo "Fetching available updates (this may take a moment)..."
|
||||
TEMP_LOCK=$(mktemp)
|
||||
trap 'rm -f "$TEMP_LOCK"' EXIT
|
||||
|
||||
nix flake update --output-lock-file "$TEMP_LOCK" --flake . 2>/dev/null
|
||||
|
||||
outdated=$(jq -r --slurpfile new "$TEMP_LOCK" '
|
||||
.nodes as $old |
|
||||
$new[0].nodes as $newn |
|
||||
($old | keys[]) |
|
||||
select(. != "root") |
|
||||
select(
|
||||
($old[.].locked.lastModified // 0) !=
|
||||
($newn[.].locked.lastModified // 0)
|
||||
)
|
||||
' flake.lock)
|
||||
|
||||
if [[ -z "$outdated" ]]; then
|
||||
echo "✓ All inputs are already up to date, skipping flake update."
|
||||
else
|
||||
echo
|
||||
echo "Updates available for:"
|
||||
printf '%s\n' "$outdated"
|
||||
echo
|
||||
echo "Tab to select, Enter to update, Esc to cancel."
|
||||
selected=$(printf '%s\n' "$outdated" | fzf --multi) || {
|
||||
echo "No inputs selected, skipping flake update."
|
||||
selected=""
|
||||
}
|
||||
if [[ -n "$selected" ]]; then
|
||||
if nix flake update --flake . $selected; then
|
||||
echo "✓ Flake updated successfully"
|
||||
else
|
||||
echo "✗ Flake update failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Invalid choice, skipping flake update."
|
||||
;;
|
||||
esac
|
||||
# --- End selective flake update ---
|
||||
|
||||
|
||||
current=""
|
||||
@ -261,6 +312,9 @@ in
|
||||
cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; }
|
||||
git status
|
||||
;;
|
||||
format)
|
||||
nix fmt .
|
||||
;;
|
||||
trim)
|
||||
echo "Running 'sudo fstrim -v /' may take a few minutes and impact system performance."
|
||||
read -p "Enter to run now or enter to exit (y/N): " -n 1 -r
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
{ inputs, config, lib, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
vimPlugins.LazyVim
|
||||
vimPlugins.lazygit-nvim
|
||||
@ -13,7 +17,6 @@
|
||||
./home.nix
|
||||
];
|
||||
|
||||
|
||||
# programs.neovim = {
|
||||
# enable = true;
|
||||
#};
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
{ inputs, config, lib, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
];
|
||||
@ -60,6 +65,8 @@
|
||||
];
|
||||
|
||||
plugins = {
|
||||
# Remeber where you left the file last time
|
||||
lastplace.enable = true;
|
||||
# Statusline at the bottom of the screen
|
||||
lualine.enable = true;
|
||||
# Tab bar at the top of the screen
|
||||
@ -79,7 +86,40 @@
|
||||
};
|
||||
};
|
||||
# Shows the current function/class context pinned at the top of the buffer
|
||||
treesitter-context.enable = true;
|
||||
treesitter-context = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# Cap the context header
|
||||
max_lines = 4;
|
||||
# When over the limit, drop outermost context
|
||||
trim_scope = "outer";
|
||||
# Only show context in tall-enough windows
|
||||
min_window_height = 20;
|
||||
};
|
||||
};
|
||||
|
||||
# Provides autocompletion suggestions
|
||||
blink-cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
keymap.preset = "default"; # Tab/S-Tab to navigate, Enter to confirm
|
||||
sources.default = ["lsp" "path" "snippets" "buffer"];
|
||||
completion = {
|
||||
documentation.auto_show = true;
|
||||
ghost_text.enabled = true; # inline preview of the top suggestion
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
nixd.enable = true; # Nix
|
||||
ts_ls.enable = true; # TypeScript/JavaScript
|
||||
# ... add more as needed
|
||||
};
|
||||
};
|
||||
|
||||
# Text objects based on treesitter nodes (e.g. select a function body)
|
||||
treesitter-textobjects.enable = true;
|
||||
# Auto-closes and renames HTML/JSX tags using treesitter
|
||||
@ -108,6 +148,22 @@
|
||||
check_ts = true; # Use treesitter to avoid pairing inside strings/comments
|
||||
};
|
||||
};
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
formatters_by_ft = {
|
||||
nix = ["alejandra"];
|
||||
};
|
||||
format_on_save = {
|
||||
lsp_format = "fallback";
|
||||
timeout_ms = 500;
|
||||
};
|
||||
};
|
||||
# Pin the exact binary path so Nix guarantees it's available
|
||||
settings.formatters = {
|
||||
alejandra.command = "${pkgs.alejandra}/bin/alejandra";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
{config, pkgs, libs, inputs, ...}:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
libs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
#CLI tools
|
||||
pdftk #PDF toolkit
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
imports = [
|
||||
./desktop.nix
|
||||
./cli.nix
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
{config, pkgs, libs, inputs, ...}:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
libs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
#Programming
|
||||
jetbrains.pycharm-community #The PyCharm IDE to edit Python code
|
||||
jetbrains.idea-community #The IntelliJ IDE to edit Java code
|
||||
jetbrains.pycharm #The PyCharm IDE to edit Python code
|
||||
jetbrains.idea #The IntelliJ IDE to edit Java code
|
||||
jetbrains.clion #The CLion IDE to edit and compile c/c++ code
|
||||
jetbrains.datagrip #The DataGrip IDE to manage Databases
|
||||
#jetbrains-toolbox
|
||||
@ -33,9 +37,10 @@
|
||||
atlauncher #Minecraft Launcher
|
||||
#discord
|
||||
vesktop #Aternative for discord on Wayland
|
||||
wineWowPackages.stagingFull
|
||||
wineWow64Packages.stagingFull
|
||||
winetricks
|
||||
wasistlos #Whatsapp
|
||||
losslesscut-bin #Lossless cut for quckly cutting videos
|
||||
#obs-studio #Screen Recorder
|
||||
gparted #Disk partition Manager
|
||||
#rustdesk #Remote Desktop Client
|
||||
|
||||
@ -1,12 +1,19 @@
|
||||
{config, pkgs, libs, inputs, system, alejandra, ...}:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
libs,
|
||||
inputs,
|
||||
system,
|
||||
alejandra,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
#Essentials (CLI Only)
|
||||
wget #A tool for quickly downloading things from the Web
|
||||
javaPackages.compiler.openjdk25 #Java Development Kit 25
|
||||
python312 #Python 3.12
|
||||
python312Packages.pip #Pip for Python 3.12
|
||||
python312Packages.cmake #The CMake tool to manage project build configurations
|
||||
python314 #Python
|
||||
python314Packages.pip #Pip for Python 3.12
|
||||
python314Packages.cmake #The CMake tool to manage project build configurations
|
||||
fastfetch #A utility to see information about your machine
|
||||
btop #A replacement for htop to see your machines resources
|
||||
git #Git ... no need to explain
|
||||
@ -21,7 +28,7 @@
|
||||
konsave #A package to transfer the look and feel of KDE Plasma to other machines
|
||||
openssh #SSH
|
||||
zoxide #Alternatice to cd, browse files
|
||||
fzf-zsh #Search for file names
|
||||
zsh #Search for file names
|
||||
coreutils-full #Full set of coreutils, including some missing ones
|
||||
multipath-tools
|
||||
docker #Docker ... no need to explain
|
||||
@ -38,6 +45,8 @@
|
||||
rocmPackages.rocm-runtime #AMD ROCm runtime
|
||||
ripgrep #Alternative to grep search for text in files
|
||||
pipewire #Multimedia handling
|
||||
fzf #Needed for nix-selective update tool
|
||||
jq #Needed for nix-selective update tool
|
||||
distrobox
|
||||
dbus
|
||||
cifs-utils
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
{config, pkgs, libs, inputs, nix-flatpak, ...}:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
libs,
|
||||
inputs,
|
||||
nix-flatpak,
|
||||
...
|
||||
}: {
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
{ pkgs, inputs, username, ... }:
|
||||
{
|
||||
|
||||
imports =
|
||||
[
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
{pkgs, inputs, username, ...}:
|
||||
{
|
||||
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
@ -18,7 +21,6 @@
|
||||
qt.enable = true;
|
||||
qt.platform = "kde";
|
||||
#kde.enable = false;
|
||||
zen-browser.profileNames = [ "${username}" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
# xdg.configFile."waybar/config.jsonc".source = ./config.jsonc;
|
||||
# xdg.configFile."waybar/style.css".source = ./style.css;
|
||||
}
|
||||
|
||||
@ -1,4 +1,10 @@
|
||||
{ config, pkgs, username, project, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = false;
|
||||
@ -19,7 +25,6 @@
|
||||
|
||||
#To reset powerlevel10k, write 'p10k configure' in shell!
|
||||
promptInit = ''
|
||||
source ${pkgs.zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# Make ← and → move the cursor on the command line, even when in the menu
|
||||
@ -35,7 +40,6 @@
|
||||
pkgs.zsh-completions
|
||||
pkgs.zsh-powerlevel10k
|
||||
pkgs.zsh-syntax-highlighting
|
||||
pkgs.zsh-autocomplete
|
||||
pkgs.zsh-autosuggestions
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
{ config, pkgs, username, project, ... }:
|
||||
{
|
||||
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
#To show logs of services run:
|
||||
#journalctl --user-unit={service-name} --user
|
||||
systemd.user.services.niri-waybar = {
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
{ config, inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./autostart.nix
|
||||
../modules/hyprlock
|
||||
@ -11,8 +15,7 @@
|
||||
./home.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
environment.systemPackages = with pkgs; [
|
||||
#mako
|
||||
fuzzel
|
||||
waybar
|
||||
@ -26,11 +29,11 @@
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
|
||||
#services.xserver.enable = true;
|
||||
#services.xserver.displayManager.sddm.enable = true;
|
||||
|
||||
xdg.portal = { #Needed for waybar
|
||||
xdg.portal = {
|
||||
#Needed for waybar
|
||||
enable = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr];
|
||||
config.common.default = "*";
|
||||
@ -38,5 +41,4 @@
|
||||
|
||||
#sound.enable = true;
|
||||
#security.rtkit.enable = true;
|
||||
|
||||
}
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
{pkgs, inputs, ...}:
|
||||
{
|
||||
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.niri.homeModules.niri
|
||||
../modules/waybar/home.nix
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
#-----
|
||||
alias py="python3"
|
||||
alias mcrow="echo 'you better try to use nvim you little shit! :3'"
|
||||
alias vi="nvim"
|
||||
alias srcals="source $HOME/NixOS/other/aliases && echo 'Sourced Aliases ... successful!'"
|
||||
alias please="sudo"
|
||||
alias se="sudoedit"
|
||||
@ -25,7 +26,8 @@ alias nix-clear="sudo nix-store --gc"
|
||||
|
||||
#KDE Plasma Specific
|
||||
#-----
|
||||
alias kde-theme-apply="source $HOME/NixOS/plasma/konsave.sh"
|
||||
alias plasma-snap="cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc.snap"
|
||||
alias plasma-diff="diff ~/appletsrc.snap ~/.config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||
|
||||
#LaTeX Commands
|
||||
alias makepdf="makeglossaries main && pdflatex main.tex"
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
{ config, pkgs, username, project, ... }:
|
||||
{
|
||||
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
#To show logs of services run: journalctl --user-unit={service-name} --user
|
||||
|
||||
systemd.user.services.autostart-yakuake = {
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
{config, pkgs, username, project, ...}:
|
||||
let
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: let
|
||||
# Define the custom background package with the correct relative path
|
||||
background-package = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "background-image";
|
||||
@ -12,10 +17,8 @@ let
|
||||
|
||||
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
|
||||
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[
|
||||
in {
|
||||
imports = [
|
||||
./autostart.nix
|
||||
../modules/stylix
|
||||
];
|
||||
@ -75,7 +78,6 @@ in
|
||||
'';
|
||||
|
||||
environment = {
|
||||
|
||||
plasma6.excludePackages = with pkgs; [
|
||||
kdePackages.elisa
|
||||
];
|
||||
|
||||
@ -1,7 +1,14 @@
|
||||
{pkgs, lib, inputs, username, project, plasmaTheme, ...}:
|
||||
{
|
||||
|
||||
imports = [
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
plasmaTheme,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
./settings/common.nix
|
||||
./settings/powerProfile.nix
|
||||
]
|
||||
|
||||
@ -1,9 +1,15 @@
|
||||
{pkgs, inputs, username, project, plasmaTheme, ...}:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
plasmaTheme,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
plasma = {
|
||||
enable = true;
|
||||
overrideConfig = true;
|
||||
overrideConfig = false;
|
||||
|
||||
input.mice = [
|
||||
{
|
||||
@ -13,10 +19,29 @@
|
||||
leftHanded = false;
|
||||
#middleButtonEmulation = false;
|
||||
#naturalScroll = false;
|
||||
acceleration = -0.25;
|
||||
#acceleration = -0.25;
|
||||
acceleration = 0;
|
||||
accelerationProfile = "none";
|
||||
scrollSpeed = 1.0;
|
||||
}
|
||||
{
|
||||
name = "ROCCAT ROCCAT Kone Aimo 16K";
|
||||
vendorId = "1e7d";
|
||||
productId = "2e2c";
|
||||
leftHanded = false;
|
||||
acceleration = -1;
|
||||
accelerationProfile = "none";
|
||||
scrollSpeed = 1.0;
|
||||
}
|
||||
#{
|
||||
# name = "ROCCAT ROCCAT Vulcan AIMO";
|
||||
# vendorId = "1e7d";
|
||||
# productId = "3098";
|
||||
# leftHanded = false;
|
||||
# acceleration = -1;
|
||||
# accelerationProfile = "none";
|
||||
# scrollSpeed = 1.0;
|
||||
#}
|
||||
];
|
||||
|
||||
shortcuts = {
|
||||
@ -32,7 +57,6 @@
|
||||
"Switch to Next Keyboard Layout" = [];
|
||||
};
|
||||
|
||||
|
||||
#kaccess."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
||||
#kcm_touchpad."Disable Touchpad" = "Touchpad Off";
|
||||
#kcm_touchpad."Enable Touchpad" = "Touchpad On";
|
||||
@ -293,10 +317,11 @@
|
||||
#baloofilerc.General."exclude filters version" = 9;
|
||||
dolphinrc = {
|
||||
General = {
|
||||
ShowTerminal = true;
|
||||
#ShowTerminal = true;
|
||||
RememberOpenedTabs = false;
|
||||
# ViewPropsTimestamp = "2024,8,12,15,7,43.15";
|
||||
};
|
||||
"MainWindow"."TerminalPanel Visible" = true;
|
||||
# IconsMode.PreviewSize = 80;
|
||||
# "KFileDialog Settings"."Places Icons Auto-resize" = false;
|
||||
# "KFileDialog Settings"."Places Icons Static Size" = 22;
|
||||
@ -379,6 +404,7 @@
|
||||
kwinrc = {
|
||||
# "Activities/LastVirtualDesktop"."0f8d8349-5b1b-4b77-bfa5-22829bfaf459" = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
|
||||
# "Activities/LastVirtualDesktop".e85f493f-046d-4dca-9e07-987ecd4ca4bc = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
|
||||
"EdgeBarrier"."EdgeBarrier" = 15;
|
||||
Desktops = {
|
||||
# Id_1 = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
|
||||
# Id_2 = "fc5cf4ff-2e08-4059-ac1f-7c5540efa4fc";
|
||||
|
||||
@ -1,11 +1,16 @@
|
||||
{pkgs, inputs, username, project, plasmaTheme, ...}:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
plasmaTheme,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
plasma = {
|
||||
overrideConfig = true;
|
||||
|
||||
panels = [
|
||||
{
|
||||
screen = "all";
|
||||
height = 44;
|
||||
location = "bottom";
|
||||
alignment = "center";
|
||||
@ -21,7 +26,8 @@
|
||||
launchers = [
|
||||
# optional pinned apps
|
||||
"applications:org.kde.dolphin.desktop"
|
||||
"applications:systemsettings.desktop""applications:kitty.desktop"
|
||||
"applications:systemsettings.desktop"
|
||||
"applications:kitty.desktop"
|
||||
"applications:firefox.desktop"
|
||||
];
|
||||
};
|
||||
@ -104,7 +110,8 @@
|
||||
theme = "Win10OS-cursors";
|
||||
size = 24;
|
||||
};
|
||||
wallpaper = /home/${username}/${project}/other/wallpaper1.png;
|
||||
# Do not use wallpaper option here as it causes issues! Use it in configFile
|
||||
# wallpaper = /home/${username}/${project}/other/wallpaper1.png;
|
||||
soundTheme = "ocean";
|
||||
iconTheme = "We10X";
|
||||
splashScreen = {
|
||||
@ -115,6 +122,9 @@
|
||||
theme = "__aurorae__svg__Win11OS-dark";
|
||||
};
|
||||
};
|
||||
configFile = {
|
||||
plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
{pkgs, inputs, username, project, plasmaTheme, ...}:
|
||||
{
|
||||
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
plasmaTheme,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
plasma = {
|
||||
overrideConfig = true;
|
||||
|
||||
panels = [
|
||||
{
|
||||
screen = "all";
|
||||
height = 44;
|
||||
location = "top";
|
||||
alignment = "center";
|
||||
@ -111,13 +115,13 @@
|
||||
launchers = [
|
||||
# optional pinned apps
|
||||
"applications:org.kde.dolphin.desktop"
|
||||
"applications:systemsettings.desktop""applications:kitty.desktop"
|
||||
"applications:systemsettings.desktop"
|
||||
"applications:kitty.desktop"
|
||||
"applications:firefox.desktop"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
}
|
||||
];
|
||||
@ -129,7 +133,8 @@
|
||||
theme = "Breeze_Light";
|
||||
size = 24;
|
||||
};
|
||||
wallpaper = /home/${username}/${project}/other/wallpaper3.png;
|
||||
# Do not use wallpaper option here as it causes issues! Use it in configFile
|
||||
# wallpaper = /home/${username}/${project}/other/wallpaper3.png;
|
||||
soundTheme = "freedesktop";
|
||||
iconTheme = "Breeze-LaCapitaine-apps";
|
||||
splashScreen = {
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
{pkgs, inputs, username, project, powerProfile, ...}:
|
||||
let
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
username,
|
||||
project,
|
||||
powerProfile,
|
||||
...
|
||||
}: let
|
||||
profiles = {
|
||||
laptop = {
|
||||
AC.powerProfile = "powerSaving";
|
||||
@ -14,12 +20,9 @@ let
|
||||
};
|
||||
|
||||
selectedProfile = profiles.${powerProfile};
|
||||
in
|
||||
{
|
||||
in {
|
||||
programs = {
|
||||
plasma = {
|
||||
overrideConfig = true;
|
||||
|
||||
powerdevil = {
|
||||
AC = {
|
||||
powerProfile = selectedProfile.AC.powerProfile;
|
||||
|
||||
Reference in New Issue
Block a user