Compare commits
27 Commits
10074b37d1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
e3c54e352c
|
|||
|
ac862dfc1f
|
|||
|
4f6c1e337d
|
|||
|
c5209b0d90
|
|||
|
bbdb6339b0
|
|||
|
0466a882db
|
|||
|
2de46453f3
|
|||
|
4b566d5cea
|
|||
|
16d77233a8
|
|||
|
c6645d3fc9
|
|||
|
6c1d2f501b
|
|||
|
1ba5ec2357
|
|||
|
0788960a9d
|
|||
|
d9e8d23f7d
|
|||
|
03f8271567
|
|||
|
e61cf08607
|
|||
|
1a2796a159
|
|||
|
ff8f8d7e39
|
|||
|
746d6c525e
|
|||
|
13944b3b0b
|
|||
|
dff4d5762d
|
|||
|
066334b880
|
|||
|
e923c84902
|
|||
|
b1c21ee77d
|
|||
|
12bd99e84c
|
|||
| a502f58756 | |||
| c6c55abde2 |
@@ -24,5 +24,6 @@
|
||||
waybar
|
||||
quickshell
|
||||
qt6.qtdeclarative
|
||||
wlogout
|
||||
];
|
||||
}
|
||||
|
||||
Generated
+504
-43
@@ -1,6 +1,43 @@
|
||||
{
|
||||
"nodes": {
|
||||
"cachix": {
|
||||
"inputs": {
|
||||
"devenv": [
|
||||
"clonee",
|
||||
"devenv"
|
||||
],
|
||||
"flake-compat": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"flake-compat"
|
||||
],
|
||||
"git-hooks": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"git-hooks"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777487137,
|
||||
"narHash": "sha256-TuvKVBX60mqyMT6OB5JqVEh1YIWtFMR/igLCaCdC9tw=",
|
||||
"owner": "cachix",
|
||||
"repo": "cachix",
|
||||
"rev": "a66a440c321d35f7193472c317f42a55ccd1cb93",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"ref": "latest",
|
||||
"repo": "cachix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cachix_2": {
|
||||
"inputs": {
|
||||
"devenv": [
|
||||
"silicate",
|
||||
@@ -37,6 +74,28 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"clonee": {
|
||||
"inputs": {
|
||||
"devenv": "devenv",
|
||||
"naersk": "naersk",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783739292,
|
||||
"narHash": "sha256-4Q15SKZFttcCqnD1MC/qQCqA/L/QqqtN7d9iyMz+ld0=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "378c1f7c0d1c004d504ad8496d136ec381688f10",
|
||||
"revCount": 9,
|
||||
"type": "git",
|
||||
"url": "https://gitea.maariz.org/pure_sagacity/clonee"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.maariz.org/pure_sagacity/clonee"
|
||||
}
|
||||
},
|
||||
"crate2nix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -54,6 +113,23 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crate2nix_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1772186516,
|
||||
"narHash": "sha256-8s28pzmQ6TOIUzznwFibtW1CMieMUl1rYJIxoQYor58=",
|
||||
"owner": "rossng",
|
||||
"repo": "crate2nix",
|
||||
"rev": "ba5dd398e31ee422fbe021767eb83b0650303a6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rossng",
|
||||
"repo": "crate2nix",
|
||||
"rev": "ba5dd398e31ee422fbe021767eb83b0650303a6e",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"devenv": {
|
||||
"inputs": {
|
||||
"cachix": "cachix",
|
||||
@@ -65,11 +141,41 @@
|
||||
"nix": "nix",
|
||||
"nixd": "nixd",
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
"clonee",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1782860656,
|
||||
"narHash": "sha256-HiSNP0/eEhKGZBWC6kLZVN8I6j6AwVnI4gjeH25+/5k=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"rev": "3f6df48c00d8aa408f0440f2707662aa91a1f033",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"devenv_2": {
|
||||
"inputs": {
|
||||
"cachix": "cachix_2",
|
||||
"crate2nix": "crate2nix_2",
|
||||
"flake-compat": "flake-compat_2",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"ghostty": "ghostty_2",
|
||||
"git-hooks": "git-hooks_2",
|
||||
"nix": "nix_2",
|
||||
"nixd": "nixd_2",
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783109842,
|
||||
"narHash": "sha256-Fi7lW+sg1ChduOOQRBCK5JeA1cw4x5wSjIJcppRGGqQ=",
|
||||
@@ -104,14 +210,58 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fast": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783830645,
|
||||
"narHash": "sha256-lEx9RLAYwpUS/SpIlRUiIoThQKwjGOj+jXIlmi6CWxg=",
|
||||
"owner": "GitanElyon",
|
||||
"repo": "fast",
|
||||
"rev": "60fb5b7e1f6343bc1fc9a1e168845b71b142810f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GitanElyon",
|
||||
"repo": "fast",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"naersk",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1752475459,
|
||||
"narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fenix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
"naersk",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
"rust-analyzer-src": "rust-analyzer-src_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1752475459,
|
||||
@@ -143,7 +293,45 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778716662,
|
||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"silicate",
|
||||
@@ -165,7 +353,41 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ghostty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1779069789,
|
||||
"narHash": "sha256-ojo+gso45/6CVSuqfSVnlWpQ4d0QeLgwok+v/g3yu0E=",
|
||||
"owner": "ghostty-org",
|
||||
"repo": "ghostty",
|
||||
"rev": "4b7bf0b20e3baf9c1ba10c63f2ad1fd853faea8f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ghostty-org",
|
||||
"repo": "ghostty",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ghostty_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1782866021,
|
||||
@@ -182,6 +404,34 @@
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"flake-compat"
|
||||
],
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778507602,
|
||||
"narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks_2": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"silicate",
|
||||
@@ -208,6 +458,49 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"herdr": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783468284,
|
||||
"narHash": "sha256-no8aODMs+tYEnEShJPHKap2imToiA++joPFL+o/ZAmg=",
|
||||
"owner": "ogulcancelik",
|
||||
"repo": "herdr",
|
||||
"rev": "77f0339c3cd387c4ca3f4f240ff8b88065d66a22",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ogulcancelik",
|
||||
"repo": "herdr",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -215,11 +508,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783134515,
|
||||
"narHash": "sha256-qMoZazubXlXUD9k/syJ/aiWC4X4g73mwVmZ7Z4+rdpM=",
|
||||
"lastModified": 1783458499,
|
||||
"narHash": "sha256-a8whUXG4ThsZNjL92cH4wbl+/dt8CbT/F0zJsfhzFbM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "b885baad531fa3d3beae2ba9a0712d22974d8016",
|
||||
"rev": "53ebbdc405acc04acd9bb73ccca462b51ddb8c6d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -231,6 +524,25 @@
|
||||
"naersk": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1782220280,
|
||||
"narHash": "sha256-thLTFbp9D5Qknmh8q/v4FRpLGphUSijT3E86cbLYTXo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "naersk",
|
||||
"rev": "9aa07bb0256d300219b30622d2454e85f7f3667e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "naersk",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"naersk_2": {
|
||||
"inputs": {
|
||||
"fenix": "fenix_2",
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
"nixpkgs"
|
||||
@@ -251,6 +563,52 @@
|
||||
}
|
||||
},
|
||||
"nix": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-parts": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"flake-parts"
|
||||
],
|
||||
"git-hooks-nix": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"git-hooks"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-23-11": [
|
||||
"clonee",
|
||||
"devenv"
|
||||
],
|
||||
"nixpkgs-regression": [
|
||||
"clonee",
|
||||
"devenv"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779748925,
|
||||
"narHash": "sha256-meIhqGC04O5VXbKSFXSQoOKp+XCq5RMnwAk1Guo0VQo=",
|
||||
"owner": "cachix",
|
||||
"repo": "nix",
|
||||
"rev": "0bc443c8ff235c3547d09327b48aaa2ab98b15f2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"ref": "devenv-2.34",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix_2": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"silicate",
|
||||
@@ -297,6 +655,34 @@
|
||||
}
|
||||
},
|
||||
"nixd": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"flake-parts"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
],
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778381404,
|
||||
"narHash": "sha256-FqhdOTA8vyoIpkHhbs2cCT7h6EWM7nsLeOYJc1ifQLE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixd",
|
||||
"rev": "e3e45eb76663f522e196b7f0cf34cab201db7779",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixd",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixd_2": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"silicate",
|
||||
@@ -308,7 +694,7 @@
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
],
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
"treefmt-nix": "treefmt-nix_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780381423,
|
||||
@@ -326,11 +712,27 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1782959384,
|
||||
"narHash": "sha256-l57y2CK9dTSChgb6Edg7kkXu5DA4rucVbNFoQHUBjmw=",
|
||||
"rev": "65179426c83bb3f6bc14898b42ea1c6f01d374b0",
|
||||
"lastModified": 1752077645,
|
||||
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "be9e214982e20b8310878ac2baa063a961c1bdf6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1783224372,
|
||||
"narHash": "sha256-FGQ8TfSm9WviNE/fQAWsKs+y4GkX8fU4EScewpw54Y8=",
|
||||
"rev": "d407951447dcd00442e97087bf374aad70c04cea",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1026231.65179426c83b/nixexprs.tar.xz"
|
||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1027867.d407951447dc/nixexprs.tar.xz"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
@@ -338,32 +740,14 @@
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"quickshell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783212316,
|
||||
"narHash": "sha256-tknenPoA90o+Z7woiHchSAHiQzI8s0qYWlB87lIVPEc=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "4f2c62486b0c939f7fc1f7cea68037173813dbfe",
|
||||
"revCount": 826,
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"clonee": "clonee",
|
||||
"disko": "disko",
|
||||
"fast": "fast",
|
||||
"herdr": "herdr",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"quickshell": "quickshell",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"silicate": "silicate"
|
||||
}
|
||||
},
|
||||
@@ -384,7 +768,46 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1752428706,
|
||||
"narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=",
|
||||
"owner": "rust-lang",
|
||||
"repo": "rust-analyzer",
|
||||
"rev": "591e3b7624be97e4443ea7b5542c191311aa141d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rust-lang",
|
||||
"ref": "nightly",
|
||||
"repo": "rust-analyzer",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779074409,
|
||||
"narHash": "sha256-6aXy8Ga41iLVM8ibddFU1O5+wYWcBGNEfZzZuL91eIc=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "2a77b5b1dc952f214e8102acdef1622b68515560",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
@@ -408,27 +831,65 @@
|
||||
},
|
||||
"silicate": {
|
||||
"inputs": {
|
||||
"devenv": "devenv",
|
||||
"naersk": "naersk",
|
||||
"devenv": "devenv_2",
|
||||
"naersk": "naersk_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783213376,
|
||||
"narHash": "sha256-hjI1NqI84sKFcxdWIDvZ/4sEvw/rYdZdp2MYtb64uJ0=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "c29be7a627b03d4713b77e5dbbe46d8196e3a821",
|
||||
"revCount": 71,
|
||||
"type": "git",
|
||||
"url": "https://github.com/pure-sagacity/silicate"
|
||||
"lastModified": 1783234406,
|
||||
"narHash": "sha256-mtP+W1DYWrzf29HqjsgWECcdxRf6zGtXVvyeyqLhl9E=",
|
||||
"owner": "pure-sagacity",
|
||||
"repo": "silicate",
|
||||
"rev": "63e8d8e8efdb523442b29243cb456ffafd519c18",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pure-sagacity/silicate"
|
||||
"owner": "pure-sagacity",
|
||||
"repo": "silicate",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"clonee",
|
||||
"devenv",
|
||||
"nixd",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"silicate",
|
||||
|
||||
@@ -12,15 +12,23 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
quickshell = {
|
||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
||||
herdr = {
|
||||
url = "github:ogulcancelik/herdr";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
fast = {
|
||||
url = "github:GitanElyon/fast";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
silicate = {
|
||||
url = "git+https://github.com/pure-sagacity/silicate";
|
||||
url = "github:pure-sagacity/silicate";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
clonee = {
|
||||
url = "git+https://gitea.maariz.org/pure_sagacity/clonee";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
{
|
||||
home.username = "aariz";
|
||||
|
||||
home.homeDirectory = "/home/aariz";
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
if status is-interactive
|
||||
starship init fish | source
|
||||
zoxide init fish | source
|
||||
glow completion fish | source
|
||||
|
||||
alias cd=z
|
||||
alias docker=podman
|
||||
alias ls='/etc/profiles/per-user/river/bin/eza --icons'
|
||||
@@ -15,6 +17,8 @@ if status is-interactive
|
||||
alias config="nvim /home/river/nixos-dotfiles/hosts/pc/configuration.nix"
|
||||
alias v=nvim
|
||||
alias y=yazi
|
||||
alias k=kubectl
|
||||
alias j=jj
|
||||
end
|
||||
|
||||
function fish_greeting
|
||||
|
||||
@@ -10,9 +10,10 @@ hl.bind(mainMod .. " + B", hl.dsp.exec_cmd(config.browser))
|
||||
|
||||
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
|
||||
hl.bind(
|
||||
mainMod .. " + Escape",
|
||||
mainMod .. " + SHIFT + Escape",
|
||||
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'")
|
||||
)
|
||||
hl.bind("CTRL + ALT + DELETE", hl.dsp.exec_cmd("wlogout"))
|
||||
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit"))
|
||||
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ mode = "fullscreen", action = "toggle" }))
|
||||
@@ -66,4 +67,3 @@ hl.bind(
|
||||
)
|
||||
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true })
|
||||
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true })
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
gopls = {},
|
||||
nixd = {},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -8,6 +8,13 @@
|
||||
email = "khokharmaaz@gmail.com";
|
||||
name = "Maaz Khokhar";
|
||||
};
|
||||
|
||||
signing = {
|
||||
behavior = "own";
|
||||
backend = "gpg";
|
||||
key = "A8D1AEA9C92D6867";
|
||||
};
|
||||
|
||||
ui.color = "always";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
../../modules/ollama
|
||||
../../modules/development
|
||||
../../modules/development/claude.nix
|
||||
../../modules/development/go.nix
|
||||
../../modules/additionalUsers/aariz.nix
|
||||
../../modules/obs
|
||||
|
||||
@@ -26,11 +27,6 @@
|
||||
../../desktops/hyprland
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
libsecret
|
||||
tree
|
||||
@@ -52,8 +48,97 @@
|
||||
tsx
|
||||
slack
|
||||
mosh
|
||||
code-cursor
|
||||
kdePackages.kdenlive
|
||||
kdePackages.kwallet
|
||||
kdePackages.kwallet-pam
|
||||
element-desktop
|
||||
cmatrix
|
||||
rustdesk
|
||||
];
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
services.keyd = {
|
||||
enable = false;
|
||||
keyboards.default = {
|
||||
ids = [ "*" ];
|
||||
settings.main = {
|
||||
capslock = "up";
|
||||
up = "w";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
workstation = {
|
||||
core = {
|
||||
kernel = "latest";
|
||||
allowUnfree = true;
|
||||
ssh.permitRootLogin = true;
|
||||
|
||||
user = {
|
||||
name = "river";
|
||||
fullName = "Maaz Khokhar";
|
||||
shell = "fish";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
core = {
|
||||
firewall = {
|
||||
allowPing = true;
|
||||
ports.tcp = [
|
||||
22
|
||||
80
|
||||
5900
|
||||
16570
|
||||
18789
|
||||
];
|
||||
};
|
||||
extraHosts = [
|
||||
{
|
||||
ip_address = "192.168.1.60";
|
||||
hostname = "laptop";
|
||||
}
|
||||
];
|
||||
nameservers = [
|
||||
"192.168.1.193"
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
];
|
||||
};
|
||||
tailscale.enable = true;
|
||||
};
|
||||
|
||||
virtualization = {
|
||||
user = "river";
|
||||
|
||||
qemu = {
|
||||
enable = true;
|
||||
containers = true;
|
||||
spiceUSBRedirection = true;
|
||||
virtManager = true;
|
||||
bootModules = [
|
||||
"kvm-amd"
|
||||
];
|
||||
};
|
||||
|
||||
podman = {
|
||||
enable = true;
|
||||
packages.enable = true;
|
||||
};
|
||||
|
||||
lima.enable = true;
|
||||
};
|
||||
|
||||
development = {
|
||||
enable = true;
|
||||
rust.enable = true;
|
||||
typescript.enable = true;
|
||||
go.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
brotli
|
||||
stdenv.cc.cc.lib
|
||||
@@ -73,6 +158,4 @@
|
||||
enableAllFirmware = true;
|
||||
enableRedistributableFirmware = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7082-DAFE";
|
||||
{ device = "/dev/disk/by-uuid/8750-9317";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,122 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
shared,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.core;
|
||||
system = pkgs.stdenv.hostPlatform.system;
|
||||
allowRootSSH = if cfg.ssh.permitRootLogin then "yes" else "no";
|
||||
in
|
||||
{
|
||||
config = {
|
||||
networking.hostName = cfg.hostname;
|
||||
|
||||
boot = {
|
||||
kernelPackages = shared.kernelOptions.${cfg.kernel};
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
editor = true;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
programs.${cfg.user.shell}.enable = true;
|
||||
|
||||
users.users.${cfg.user.name} = with cfg.user; {
|
||||
isNormalUser = true;
|
||||
description = fullName;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"input"
|
||||
];
|
||||
|
||||
shell = pkgs.${shell};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gitFull
|
||||
neovim
|
||||
btop
|
||||
unzip
|
||||
mpv
|
||||
wl-clipboard
|
||||
wireplumber
|
||||
brightnessctl
|
||||
pulseaudio
|
||||
pavucontrol
|
||||
ghostty
|
||||
git-credential-manager
|
||||
gnupg
|
||||
yazi
|
||||
jujutsu
|
||||
glow
|
||||
|
||||
inputs.silicate.packages.${system}.default
|
||||
inputs.herdr.packages.${system}.default
|
||||
inputs.fast.packages.${system}.default
|
||||
inputs.clonee.packages.${system}.default
|
||||
];
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"root"
|
||||
cfg.user.name
|
||||
];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||
LC_MEASUREMENT = "en_US.UTF-8";
|
||||
LC_MONETARY = "en_US.UTF-8";
|
||||
LC_NAME = "en_US.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "en_US.UTF-8";
|
||||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services = {
|
||||
xserver.xkb = {
|
||||
layout = "us";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = allowRootSSH;
|
||||
};
|
||||
};
|
||||
system.stateVersion = "26.11";
|
||||
};
|
||||
}
|
||||
@@ -1,102 +1,13 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
shared = import ./shared.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.river = {
|
||||
isNormalUser = true;
|
||||
description = "Maaz Khokhar";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"input"
|
||||
imports = [
|
||||
./options.nix
|
||||
./config.nix
|
||||
];
|
||||
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gitFull
|
||||
neovim
|
||||
btop
|
||||
unzip
|
||||
mpv
|
||||
wl-clipboard
|
||||
wireplumber
|
||||
brightnessctl
|
||||
pulseaudio
|
||||
pavucontrol
|
||||
ghostty
|
||||
git-credential-manager
|
||||
gnupg
|
||||
yazi
|
||||
inputs.silicate.packages.${pkgs.system}.default
|
||||
jujutsu
|
||||
];
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"root"
|
||||
"river"
|
||||
];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||
LC_MEASUREMENT = "en_US.UTF-8";
|
||||
LC_MONETARY = "en_US.UTF-8";
|
||||
LC_NAME = "en_US.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "en_US.UTF-8";
|
||||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services = {
|
||||
xserver.xkb = {
|
||||
layout = "us";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
|
||||
printing.enable = true;
|
||||
};
|
||||
_module.args.shared = shared;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
shared,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.workstation.core = {
|
||||
hostname = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "nixos";
|
||||
description = "Hostname of the machine";
|
||||
};
|
||||
|
||||
kernel = lib.mkOption {
|
||||
type = with lib.types; enum (builtins.attrNames shared.kernelOptions);
|
||||
default = "lts";
|
||||
description = "The kernel of the machine";
|
||||
};
|
||||
|
||||
user = {
|
||||
name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "river";
|
||||
description = "The username of the primary user";
|
||||
};
|
||||
|
||||
fullName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "Maaz Khokhar";
|
||||
description = "The full name of the user";
|
||||
};
|
||||
|
||||
shell = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "fish";
|
||||
description = "The shell the primary user uses";
|
||||
};
|
||||
};
|
||||
|
||||
allowUnfree = lib.mkEnableOption "unfree packages" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
ssh = {
|
||||
permitRootLogin = lib.mkEnableOption "root SSH login";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
kernelOptions = {
|
||||
stable = pkgs.linuxPackages;
|
||||
lts = pkgs.linuxPackages_6_12;
|
||||
latest = pkgs.linuxPackages_latest;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gitFull
|
||||
neovim
|
||||
nixfmt
|
||||
nixd
|
||||
kubectl
|
||||
jq
|
||||
tmux
|
||||
vscode
|
||||
devenv
|
||||
xh
|
||||
nodejs
|
||||
obsidian
|
||||
];
|
||||
|
||||
# Nix LSP
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.clang;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gcc
|
||||
cmake
|
||||
clang
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.claude;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
claude-code
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,30 +1,15 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./basic.nix
|
||||
./rust.nix
|
||||
./clang.nix
|
||||
./claude.nix
|
||||
./go.nix
|
||||
./options.nix
|
||||
./python.nix
|
||||
./typescript.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# General
|
||||
git
|
||||
neovim
|
||||
nixfmt
|
||||
nixd
|
||||
kubectl
|
||||
jq
|
||||
tmux
|
||||
vscode
|
||||
devenv
|
||||
xh
|
||||
nodejs
|
||||
];
|
||||
|
||||
# Nix LSP
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.go;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
go
|
||||
|
||||
# Language server
|
||||
gopls
|
||||
|
||||
# Formatter with automatic import management
|
||||
gotools
|
||||
|
||||
# Linting
|
||||
golangci-lint
|
||||
|
||||
# Debugger
|
||||
delve
|
||||
|
||||
# Useful extras
|
||||
air # Live reload for web apps
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.workstation.development = {
|
||||
enable = lib.mkEnableOption "the basic development toolkit";
|
||||
|
||||
clang = {
|
||||
enable = lib.mkEnableOption "the clang toolkit";
|
||||
};
|
||||
|
||||
claude = {
|
||||
enable = lib.mkEnableOption "the AI harness";
|
||||
};
|
||||
|
||||
go = {
|
||||
enable = lib.mkEnableOption "the go toolkit";
|
||||
};
|
||||
|
||||
python = {
|
||||
enable = lib.mkEnableOption "the python toolkit";
|
||||
};
|
||||
|
||||
rust = {
|
||||
enable = lib.mkEnableOption "the rust toolkit";
|
||||
};
|
||||
|
||||
typescript = {
|
||||
enable = lib.mkEnableOption "the typescript toolkit";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.python;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
python313
|
||||
|
||||
@@ -17,4 +25,5 @@
|
||||
python313Packages.numpy
|
||||
python313Packages.pandas
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.rust;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
@@ -11,4 +19,5 @@
|
||||
environment.variables = {
|
||||
RUST_BACKTRACE = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,17 +1,29 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.development.typescript;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
bun
|
||||
prettier
|
||||
eslint
|
||||
typescript-language-server
|
||||
|
||||
# TS tooling (optional but common)
|
||||
typescript
|
||||
nodePackages.typescript-language-server
|
||||
nodePackages.eslint
|
||||
nodePackages.prettier
|
||||
|
||||
# API Client
|
||||
bruno
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
NODE_OPTIONS = "--max-old-space-size=4096";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
osu-lazer-bin # if you want
|
||||
steam
|
||||
prismlauncher
|
||||
nvtopPackages.amd
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
{ ... }:
|
||||
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.workstation.networking.core;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./firewall.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = "systemd-resolved";
|
||||
};
|
||||
extraHosts = "192.168.1.60 laptop";
|
||||
|
||||
extraHosts = lib.concatMapStringsSep "\n" (
|
||||
host: "${host.ip_address} ${host.hostname}"
|
||||
) cfg.extraHosts;
|
||||
|
||||
nftables.enable = true;
|
||||
|
||||
nameservers = [
|
||||
"192.168.1.193" # Pi-hole
|
||||
"1.1.1.1" # Cloudflare
|
||||
"1.0.0.1" # Cloudflare (Secondary)
|
||||
];
|
||||
nameservers = cfg.nameservers;
|
||||
};
|
||||
|
||||
services.resolved = {
|
||||
@@ -27,12 +30,9 @@
|
||||
dnssec = "true";
|
||||
DNSOverTLS = "true";
|
||||
domains = [ "~." ];
|
||||
fallbackDns = [
|
||||
"192.168.1.193" # Pi-hole
|
||||
"1.1.1.1" # Cloudflare
|
||||
"1.0.0.1" # Cloudflare (Secondary)
|
||||
];
|
||||
fallbackDns = cfg.nameservers;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
{ ... }:
|
||||
|
||||
{ config, ... }:
|
||||
let
|
||||
cfg = config.workstation.networking.core.firewall;
|
||||
in
|
||||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
|
||||
allowPing = true;
|
||||
allowPing = cfg.allowPing;
|
||||
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
53
|
||||
];
|
||||
allowedTCPPorts = cfg.ports.tcp;
|
||||
allowedUDPPorts = cfg.ports.udp;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./options.nix
|
||||
./core
|
||||
./wireguard.nix
|
||||
./tailscale.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,122 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.workstation.networking = {
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "river";
|
||||
description = "The user to run tailscale's services as.";
|
||||
};
|
||||
|
||||
# core
|
||||
core = {
|
||||
firewall = {
|
||||
allowPing = lib.mkEnableOption "ICMP pinging" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
ports = {
|
||||
tcp = lib.mkOption {
|
||||
type = with lib.types; listOf number;
|
||||
default = [
|
||||
22
|
||||
80
|
||||
];
|
||||
};
|
||||
udp = lib.mkOption {
|
||||
type = with lib.types; listOf number;
|
||||
default = [ 53 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraHosts = lib.mkOption {
|
||||
type =
|
||||
with lib.types;
|
||||
listOf (
|
||||
submodule (
|
||||
{ ... }: {
|
||||
options = {
|
||||
ip_address = lib.mkOption {
|
||||
type = str;
|
||||
};
|
||||
|
||||
hostname = lib.mkOption {
|
||||
type = str;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
default = [ ];
|
||||
description = "Additional hosts to add.";
|
||||
};
|
||||
|
||||
nameservers = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
|
||||
default = [
|
||||
"192.168.1.193"
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
];
|
||||
description = "DNS Resolvers for System";
|
||||
};
|
||||
};
|
||||
|
||||
# wireguard
|
||||
wireguard = {
|
||||
enable = lib.mkEnableOption "Wireguard support";
|
||||
|
||||
interfaces = lib.mkOption {
|
||||
type = lib.types.attrsOf (
|
||||
lib.types.submodule {
|
||||
options = {
|
||||
enable = lib.mkEnableOption "Enable this WG interface";
|
||||
|
||||
address = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
};
|
||||
|
||||
privateKeyFile = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
};
|
||||
|
||||
peers = lib.mkOption {
|
||||
type = lib.types.listOf (
|
||||
lib.types.submodule {
|
||||
options = {
|
||||
publicKey = lib.mkOption { type = lib.types.str; };
|
||||
allowedIPs = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
};
|
||||
endpoint = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
persistentKeepalive = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.int;
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
default = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
# tailscale
|
||||
tailscale = {
|
||||
enable = lib.mkEnableOption "Tailscale mesh VPN";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,10 +1,14 @@
|
||||
{ config, ... }:
|
||||
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.workstation.networking.tailscale;
|
||||
user = config.workstation.networking.user;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
extraSetFlags = [ "--operator=river" ];
|
||||
extraSetFlags = [ "--operator=${user}" ];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
@@ -19,7 +23,8 @@
|
||||
systemd.network.wait-online.enable = false;
|
||||
boot.initrd.systemd.network.wait-online.enable = false;
|
||||
|
||||
users.users.river.extraGroups = [
|
||||
users.users.${user}.extraGroups = [
|
||||
"tailscale"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,22 +1,21 @@
|
||||
{ ... }:
|
||||
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.workstation.networking.wireguard;
|
||||
in
|
||||
{
|
||||
networking.wireguard.interfaces = {
|
||||
wg0 = {
|
||||
ips = [ "10.0.0.2/24" ];
|
||||
privateKeyFile = "/etc/wireguard/private.key"; # Keep secrets out of the nix store!
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.wg-quick.interfaces = lib.mapAttrs (name: iface: {
|
||||
address = iface.address;
|
||||
privateKeyFile = iface.privateKeyFile;
|
||||
peers = map (p: {
|
||||
publicKey = p.publicKey;
|
||||
allowedIPs = p.allowedIPs;
|
||||
endpoint = p.endpoint;
|
||||
|
||||
peers = [
|
||||
{
|
||||
publicKey = "vUUL4CD+1Sa2U2SZYa2P9IoFC2HxEr+PYNmYfRE8wwY=";
|
||||
allowedIPs = [ "0.0.0.0/0" ];
|
||||
endpoint = "server.maariz.org:51820";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
persistentKeepalive = if p.persistentKeepalive != null then p.persistentKeepalive else null;
|
||||
}) iface.peers;
|
||||
}) (lib.filterAttrs (_: v: v.enable) cfg.interfaces);
|
||||
|
||||
# Ensure the Wireguard UDP port is open if you are hosting the server
|
||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
gimp
|
||||
google-fonts
|
||||
pinta
|
||||
];
|
||||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
imports = [
|
||||
./podman.nix
|
||||
./qemu.nix
|
||||
./lima.nix
|
||||
./options.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.virtualization.lima;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lima
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.workstation.virtualization = {
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "river";
|
||||
description = "The user to run virtualization services as.";
|
||||
};
|
||||
|
||||
# podman
|
||||
podman = {
|
||||
enable = lib.mkEnableOption "Podman support";
|
||||
|
||||
packages = {
|
||||
enable = lib.mkEnableOption "relevant Podman packages";
|
||||
};
|
||||
};
|
||||
|
||||
# qemu
|
||||
qemu = {
|
||||
enable = lib.mkEnableOption "QEMU support";
|
||||
|
||||
containers = lib.mkEnableOption "container support for QEMU";
|
||||
|
||||
spiceUSBRedirection = lib.mkEnableOption "spice USB redirection support for QEMU";
|
||||
|
||||
virtManager = lib.mkEnableOption "virt-manager support for QEMU";
|
||||
|
||||
bootModules = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [
|
||||
"kvm-intel"
|
||||
"kvm-amd"
|
||||
];
|
||||
description = "The kernel modules to load for QEMU support.";
|
||||
};
|
||||
};
|
||||
|
||||
lima = {
|
||||
enable = lib.mkEnableOption "Lima lite VM";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,30 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.podman = {
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.virtualization;
|
||||
in
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf cfg.podman.enable {
|
||||
virtualisation = {
|
||||
oci-containers.backend = "podman";
|
||||
podman = {
|
||||
|
||||
enable = true;
|
||||
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
# For rootless containers
|
||||
security.unprivilegedUsernsClone = true;
|
||||
|
||||
users.users.river = {
|
||||
users.users.${cfg.user} = {
|
||||
subUidRanges = [
|
||||
{
|
||||
startUid = 100000;
|
||||
@@ -29,10 +42,14 @@
|
||||
"podman"
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.podman.packages.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
podman
|
||||
podman-compose
|
||||
podman-desktop
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.workstation.virtualization;
|
||||
in
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf cfg.qemu.enable {
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
@@ -13,18 +19,26 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" ];
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
users.users.river.extraGroups = [
|
||||
users.users.${cfg.user}.extraGroups = [
|
||||
"libvirtd"
|
||||
"kvm"
|
||||
];
|
||||
})
|
||||
|
||||
boot.kernelModules = [
|
||||
"kvm-intel"
|
||||
"kvm-amd"
|
||||
(lib.mkIf cfg.qemu.spiceUSBRedirection {
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.qemu.virtManager {
|
||||
programs.virt-manager.enable = true;
|
||||
})
|
||||
|
||||
(lib.mkIf (cfg.qemu.enable && cfg.qemu.containers) {
|
||||
virtualisation.containers.enable = true;
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.qemu.enable {
|
||||
boot.kernelModules = cfg.qemu.bootModules;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user