Compare commits
190 Commits
gitea
...
888ce3e9d3
| Author | SHA1 | Date | |
|---|---|---|---|
| 888ce3e9d3 | |||
| 0929e6a15a | |||
| 7a9083d0ef | |||
| 1409e3b988 | |||
| f1ae7a7f08 | |||
| 27047ed38f | |||
| 23a653ad1c | |||
| fb2370516e | |||
| dd5d771387 | |||
| 0252a728d9 | |||
| 03011c7617 | |||
| 1f137c2f0c | |||
| a3afa8eb2c | |||
| bebe8ddc78 | |||
| 5b9f5bb9c7 | |||
| 4e43f7a0ef | |||
| bd54abed0b | |||
| c13476e500 | |||
| 0e91761bf6 | |||
| c18090ec1f | |||
| 8fc2d67f1b | |||
| 3392908cb8 | |||
| 4c8cd73aea | |||
| ce94276d77 | |||
| e16e8be594 | |||
| ae7c8ac11f | |||
| c703dbed58 | |||
| 17ce01d6a3 | |||
| b5806072f0 | |||
| 79c95f6461 | |||
| cbbb085355 | |||
| c18f70fab0 | |||
| 47527f8dfc | |||
| 73f2692668 | |||
| 0447736d0a | |||
| cea1a06c70 | |||
| f25f05f731 | |||
| ed4f6edda8 | |||
| 1b6a90c955 | |||
| 4d4098987c | |||
| 6d6459418d | |||
| fd0b02a8a9 | |||
| d6311eb216 | |||
| 3b6a816df6 | |||
| d7549af76f | |||
| 9dc1cbab4e | |||
| a253164951 | |||
| 1e947269cc | |||
| 5929600955 | |||
| aeed8760b8 | |||
| 61658f1654 | |||
| 009dcee4dc | |||
| 209055fba8 | |||
| eec8c77033 | |||
| f61f5d211b | |||
| 91a88ac419 | |||
| 8b3c85fa17 | |||
| bcb3d4428b | |||
| 29dde91b5d | |||
| 6df736c3b3 | |||
| 27cb6291ed | |||
| 3636840638 | |||
| 2bbce7ec6c | |||
| 382f67d9dd | |||
| b5fbc0572a | |||
| 81c55bd08c | |||
| e8ae1cae07 | |||
| 8aa69a181d | |||
| f09a93c7c0 | |||
| edaf1d4164 | |||
| 685dad74a7 | |||
| 4e0b2e7072 | |||
| 6e4a5ad587 | |||
| d2de85b10b | |||
| c7520982ab | |||
| 46423a6f88 | |||
| 7fb8960f2b | |||
| 9ddca91f2f | |||
| 440f739cab | |||
| 812974e7c8 | |||
| 8512ede266 | |||
| 7f2beb6d27 | |||
| 2d8a5291fb | |||
| b8f85a99a2 | |||
| 2028d54ab2 | |||
| 87ce8e0d1c | |||
| 34e893bd68 | |||
| 1d2df8e35b | |||
| 0dcb90d8b3 | |||
| fc6a934277 | |||
| edb6395781 | |||
| bc19801474 | |||
| 5c003eacb6 | |||
| 2b8ac26b47 | |||
| 8200266d5d | |||
| dec88731aa | |||
| d17d612bf4 | |||
| 146ec0270f | |||
| ccc595d9a6 | |||
| e0dbd097c4 | |||
| b3a695aac3 | |||
| 846f4551d3 | |||
| a7851d5fc0 | |||
| eb3697769e | |||
| eaf40b993e | |||
| 9097d40703 | |||
| 2851c593da | |||
| 1f6b51e3d8 | |||
| cfb3d63efc | |||
| 75c53fd412 | |||
| 05b3577683 | |||
| 505f9b7d3d | |||
| 2b57af1e5e | |||
| c43f634d89 | |||
| 64dbdd82ed | |||
| 41ec08a030 | |||
| 7fc7b71ee3 | |||
| a9553d17a5 | |||
| f795b5615f | |||
| 09ebd7a317 | |||
| 6bc3c38858 | |||
| 5e6a06fbeb | |||
| 7ef0bdbc36 | |||
| 47ac1ae1be | |||
| 882ab2d92f | |||
| db608b0268 | |||
| 836a3778ef | |||
| e4b1987e3e | |||
| f6c2446196 | |||
| e1dfd3193e | |||
| 586df7389b | |||
| 44b3a8c9ab | |||
| 6b48654cd6 | |||
| 69ec3990a7 | |||
| 16a9b5afd7 | |||
| 963f5e56bf | |||
| c9c4d2c95d | |||
| e74bcbc30c | |||
| acbe732614 | |||
| 9dfac1e83f | |||
| a9cae0f3ea | |||
| 271c2aec5c | |||
| b36d7ffe20 | |||
| 2e3cb758da | |||
| 4132b0ea05 | |||
| 99c223a78d | |||
| fc7f1ee0f1 | |||
| d4a77341ee | |||
| 8864fc294d | |||
| 5eb965823e | |||
| 88674ae2b2 | |||
| 1b555cfe8a | |||
| e619684457 | |||
| 1b8bf567cb | |||
| 6ce762a34b | |||
| 8004fa6afd | |||
| 906918ab23 | |||
| 3b58ebf4cc | |||
| 1f81dfb7dd | |||
| 5c48075076 | |||
| bd61589f76 | |||
| a5369549c3 | |||
| e5216e86c5 | |||
| fea06af403 | |||
| 7c6971138b | |||
| 1e4e09d40d | |||
| 65583b9494 | |||
| c52869341b | |||
| ce9662c6f1 | |||
| d68c40b775 | |||
| 39dddc247b | |||
| f6179c56df | |||
| 33e7850f2a | |||
| 86a53cbdea | |||
| 06bf466512 | |||
| bb0f730d0d | |||
| 0cd10b3a89 | |||
| 12ab5b3348 | |||
| 693d05de84 | |||
| a8abdfde89 | |||
| 479e5f94a9 | |||
| 9b6d360432 | |||
| 5de2030d27 | |||
| 6c5c8d1f1e | |||
| dd13ad35ca | |||
| 3f5483d747 | |||
| a57ce6bb7d | |||
| ef80e0555e | |||
| 6b40745b29 | |||
| f8ca661d58 |
8
.envrc
Normal file
8
.envrc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
if ! has nix_direnv_version || ! nix_direnv_version 2.2.0; then
|
||||||
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.0/direnvrc" "sha256-5EwyKnkJNQeXrRkYbwwRBcXbibosCJqyIUuz9Xq+LRc="
|
||||||
|
fi
|
||||||
|
|
||||||
|
nix_direnv_watch_file devenv.nix
|
||||||
|
nix_direnv_watch_file devenv.lock
|
||||||
|
nix_direnv_watch_file devenv.yaml
|
||||||
|
use flake . --impure
|
||||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.direnv
|
||||||
|
.devenv
|
||||||
515
flake.lock
generated
515
flake.lock
generated
@@ -3,16 +3,18 @@
|
|||||||
"agenix": {
|
"agenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
],
|
||||||
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677969766,
|
"lastModified": 1750173260,
|
||||||
"narHash": "sha256-AIp/ZYZMNLDZR/H7iiAlaGpu4lcXsVt9JQpBlf43HRY=",
|
"narHash": "sha256-9P1FziAwl5+3edkfFcr5HeGtQUtrSdk/MksX39GieoA=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "03b51fe8e459a946c4b88dcfb6446e45efb2c24e",
|
"rev": "531beac616433bac6f9e2a19feb8e99a22a66baf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -21,6 +23,38 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"cachix": {
|
||||||
|
"inputs": {
|
||||||
|
"devenv": [
|
||||||
|
"devenv"
|
||||||
|
],
|
||||||
|
"flake-compat": [
|
||||||
|
"devenv"
|
||||||
|
],
|
||||||
|
"git-hooks": [
|
||||||
|
"devenv",
|
||||||
|
"git-hooks"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"devenv",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1748883665,
|
||||||
|
"narHash": "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "cachix",
|
||||||
|
"rev": "f707778d902af4d62d8dd92c269f8e70de09acbe",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"ref": "latest",
|
||||||
|
"repo": "cachix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -29,11 +63,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673295039,
|
"lastModified": 1744478979,
|
||||||
"narHash": "sha256-AsdYgE8/GPwcelGgrntlijMg4t3hLFJFCRF3tL5WVjA=",
|
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "87b9d090ad39b25b2400029c64825fc2a8868943",
|
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -43,22 +77,85 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"devenv": {
|
||||||
|
"inputs": {
|
||||||
|
"cachix": "cachix",
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"git-hooks": "git-hooks",
|
||||||
|
"nix": "nix",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1676283394,
|
"lastModified": 1752604051,
|
||||||
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
|
"narHash": "sha256-cAvJMEsp2ZOfnbZcobyLjhZ7U0Z9qJcgmWaDBpxg3Lc=",
|
||||||
"owner": "numtide",
|
"owner": "cachix",
|
||||||
"repo": "flake-utils",
|
"repo": "devenv",
|
||||||
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
|
"rev": "ee0fd5cd4d0d45650f8a41c7861c6599bd120e79",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "cachix",
|
||||||
"repo": "flake-utils",
|
"repo": "devenv",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_2": {
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1747046372,
|
||||||
|
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696426674,
|
||||||
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"devenv",
|
||||||
|
"nix",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1649676176,
|
"lastModified": 1649676176,
|
||||||
"narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
|
"narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
|
||||||
@@ -73,19 +170,103 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"golink": {
|
"flake-utils_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_3": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1705309234,
|
||||||
|
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git-hooks": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": [
|
||||||
|
"devenv",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"devenv",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677628298,
|
"lastModified": 1750779888,
|
||||||
"narHash": "sha256-1R/bnkbApMANd5m8bY0zUUsXB8vS8X/c+D/rl/jJ0To=",
|
"narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gitignore": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"golink": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": "systems_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752499558,
|
||||||
|
"narHash": "sha256-BnrGmH1GOvNLEXAhMtxTgL/E/WmGA0s9xaGxbK0MaL0=",
|
||||||
"owner": "tailscale",
|
"owner": "tailscale",
|
||||||
"repo": "golink",
|
"repo": "golink",
|
||||||
"rev": "7fa6e009f6b1a0079fd7407b15326ee57161a33d",
|
"rev": "6b857a337f16c6960e5511dd4dc1e1b638c8b350",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -97,16 +278,36 @@
|
|||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"agenix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"utils": "utils"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1679067095,
|
"lastModified": 1745494811,
|
||||||
"narHash": "sha256-G2dJQURL/CCi+8RP6jNJG8VqgtzEMCA+6mNodd3VR6E=",
|
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3239e0b40f242f47bf6c0c37b2fd35ab3e76e370",
|
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752603129,
|
||||||
|
"narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -116,51 +317,30 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprland": {
|
"home-manager_3": {
|
||||||
"inputs": {
|
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"wlroots": "wlroots",
|
|
||||||
"xdph": "xdph"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1679166084,
|
|
||||||
"narHash": "sha256-yr+alTr1eGjEKpMiD06FTTMP6vaoNwYEZT6mW6dQ5rM=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"rev": "06244555915339967864292dd0b83cd9732516d8",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-protocols": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
"zen-browser",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1671839510,
|
"lastModified": 1743604125,
|
||||||
"narHash": "sha256-+PY1qqJfmZzzROgcIY4I7AkCwpnC+qBIYk2eFoA9RWc=",
|
"narHash": "sha256-ZD61DNbsBt1mQbinAaaEqKaJk2RFo9R/j+eYWeGMx7A=",
|
||||||
"owner": "hyprwm",
|
"owner": "nix-community",
|
||||||
"repo": "hyprland-protocols",
|
"repo": "home-manager",
|
||||||
"rev": "b8f55e02a328c47ed373133c52483bbfa20a1b75",
|
"rev": "180fd43eea296e62ae68e079fcf56aba268b9a1a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hyprwm",
|
"owner": "nix-community",
|
||||||
"repo": "hyprland-protocols",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"i3utils": {
|
"i3utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
@@ -180,29 +360,71 @@
|
|||||||
"url": "https://git.sr.ht/~dpatterbee/i3utils"
|
"url": "https://git.sr.ht/~dpatterbee/i3utils"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nix": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": [
|
||||||
|
"devenv",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"git-hooks-nix": [
|
||||||
|
"devenv",
|
||||||
|
"git-hooks"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"devenv",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nixpkgs-23-11": [
|
||||||
|
"devenv"
|
||||||
|
],
|
||||||
|
"nixpkgs-regression": [
|
||||||
|
"devenv"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677676435,
|
"lastModified": 1752251701,
|
||||||
"narHash": "sha256-6FxdcmQr5JeZqsQvfinIMr0XcTyTuR7EXX0H3ANShpQ=",
|
"narHash": "sha256-fkkkwB7jz+14ZdIHAYCCNypO9EZDCKpj7LEQZhV6QJs=",
|
||||||
"owner": "NixOS",
|
"owner": "cachix",
|
||||||
"repo": "nixpkgs",
|
"repo": "nix",
|
||||||
"rev": "a08d6979dd7c82c4cef0dcc6ac45ab16051c1169",
|
"rev": "54df04f09cb084b9e58529c0ae6f53f0e50f1a19",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "cachix",
|
||||||
"ref": "nixos-unstable",
|
"ref": "devenv-2.30",
|
||||||
"repo": "nixpkgs",
|
"repo": "nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixgl": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1678898370,
|
"lastModified": 1752054764,
|
||||||
"narHash": "sha256-xTICr1j+uat5hk9FyuPOFGxpWHdJRibwZC+ATi0RbtE=",
|
"narHash": "sha256-Ob/HuUhANoDs+nvYqyTKrkcPXf4ZgXoqMTQoCK0RFgQ=",
|
||||||
|
"owner": "guibou",
|
||||||
|
"repo": "nixGL",
|
||||||
|
"rev": "a8e1ce7d49a149ed70df676785b07f63288f53c5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "guibou",
|
||||||
|
"repo": "nixGL",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752480373,
|
||||||
|
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ac718d02867a84b42522a0ece52d841188208f2c",
|
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -211,71 +433,150 @@
|
|||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1751274312,
|
||||||
|
"narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "50ab793786d9de88ee30ec4e4c24fb4236fc2674",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-24.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1708161998,
|
||||||
|
"narHash": "sha256-6KnemmUorCvlcAvGziFosAVkrlWZGIc6UNT9GUYr0jQ=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "84d981bae8b5e783b3b548de505b22880559515f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-23.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
"devenv": "devenv",
|
||||||
"golink": "golink",
|
"golink": "golink",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager_2",
|
||||||
"hyprland": "hyprland",
|
|
||||||
"i3utils": "i3utils",
|
"i3utils": "i3utils",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixgl": "nixgl",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
|
"zen-browser": "zen-browser",
|
||||||
|
"zig": "zig"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"utils": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1676283394,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
"owner": "numtide",
|
"owner": "nix-systems",
|
||||||
"repo": "flake-utils",
|
"repo": "default",
|
||||||
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "nix-systems",
|
||||||
"repo": "flake-utils",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"wlroots": {
|
"systems_2": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"host": "gitlab.freedesktop.org",
|
"lastModified": 1681028828,
|
||||||
"lastModified": 1677789111,
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
"narHash": "sha256-dWrk+Q3bLdtFe5rkyaAKWCQJCeE/KFNllcu1DvBC38c=",
|
"owner": "nix-systems",
|
||||||
"owner": "wlroots",
|
"repo": "default",
|
||||||
"repo": "wlroots",
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
"rev": "5ae17de23f5fd9bb252a698f3771c840280e2c05",
|
"type": "github"
|
||||||
"type": "gitlab"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"host": "gitlab.freedesktop.org",
|
"owner": "nix-systems",
|
||||||
"owner": "wlroots",
|
"repo": "default",
|
||||||
"repo": "wlroots",
|
"type": "github"
|
||||||
"type": "gitlab"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"xdph": {
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": [
|
"home-manager": "home-manager_3",
|
||||||
"hyprland",
|
|
||||||
"hyprland-protocols"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673116118,
|
"lastModified": 1752584655,
|
||||||
"narHash": "sha256-eR0yDSkR2XYMesfdRWJs25kAdXET2mbNNHu5t+KUcKA=",
|
"narHash": "sha256-nPHrsq0vSh0+BqV2xAAVsfoVqzP9KYG7Zicc6oA0nfk=",
|
||||||
"owner": "hyprwm",
|
"owner": "0xc000022070",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "d479c846531fd0e1d2357c9588b8310a2b859ef2",
|
"rev": "759a7860416dfd8c86f383d4ea4009bb034d869c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hyprwm",
|
"owner": "0xc000022070",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "zen-browser-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zig": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat_2",
|
||||||
|
"flake-utils": "flake-utils_3",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752453549,
|
||||||
|
"narHash": "sha256-3c6/4K+0I/zGC86mC+4FrWNl61/9D/HUYxrFb6nd7u4=",
|
||||||
|
"owner": "mitchellh",
|
||||||
|
"repo": "zig-overlay",
|
||||||
|
"rev": "fff2cca28feb0dc52cdcf0ba7d142f8dad435324",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "mitchellh",
|
||||||
|
"repo": "zig-overlay",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
128
flake.nix
128
flake.nix
@@ -4,77 +4,106 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
|
|
||||||
agenix.url = "github:ryantm/agenix";
|
agenix.url = "github:ryantm/agenix";
|
||||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
i3utils.url = "git+https://git.sr.ht/~dpatterbee/i3utils?ref=main";
|
devenv.url = "github:cachix/devenv";
|
||||||
i3utils.inputs.nixpkgs.follows = "nixpkgs";
|
devenv.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
golink.url = "github:tailscale/golink";
|
||||||
|
golink.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
i3utils.url = "git+https://git.sr.ht/~dpatterbee/i3utils?ref=main";
|
||||||
|
i3utils.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
golink.url = "github:tailscale/golink";
|
nixgl.url = "github:/guibou/nixGL";
|
||||||
golink.inputs.nixpkgs.follows = "nixpkgs";
|
nixgl.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||||
|
zen-browser.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
zig.url = "github:mitchellh/zig-overlay";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
nixpkgs-stable,
|
||||||
agenix,
|
agenix,
|
||||||
|
devenv,
|
||||||
|
golink,
|
||||||
home-manager,
|
home-manager,
|
||||||
i3utils,
|
i3utils,
|
||||||
hyprland,
|
nixgl,
|
||||||
golink,
|
zen-browser,
|
||||||
|
zig,
|
||||||
...
|
...
|
||||||
}: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
|
overlays = [
|
||||||
|
golink.overlays.default
|
||||||
|
nixgl.overlay
|
||||||
|
zig.overlays.default
|
||||||
|
(final: prev: {
|
||||||
|
zen-browser = zen-browser.packages.${prev.system}.default;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
pkgs =
|
pkgs =
|
||||||
(import nixpkgs {
|
(import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = [
|
overlays = overlays;
|
||||||
golink.overlay
|
config.permittedInsecurePackages = [
|
||||||
|
"electron-25.9.0"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
// {
|
// {
|
||||||
i3utils = i3utils.packages.${system}.default;
|
i3utils = i3utils.packages.${system}.default;
|
||||||
hyprland = hyprland.packages."x86_64-linux".default.overrideAttrs (finalAttrs: previousAttrs: {
|
|
||||||
buildInputs = previousAttrs.buildInputs ++ [pkgs.makeWrapper];
|
|
||||||
postInstall = ''
|
|
||||||
ls -lar $out
|
|
||||||
wrapProgram $out/bin/Hyprland \
|
|
||||||
--set LIBVA_DRIVER_NAME nvidia \
|
|
||||||
--set XDG_SESSION_TYPE wayland \
|
|
||||||
--set __GLX_VENDOR_LIBRARY_NAME nvidia \
|
|
||||||
--set WLR_NO_HARDWARE_CURSORS 1
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
|
deckSystem = {hostname}:
|
||||||
|
home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
./users/deck
|
||||||
|
];
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit hostname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hostSystem = {
|
hostSystem = {
|
||||||
hostname,
|
hostname,
|
||||||
headless,
|
headless,
|
||||||
|
np,
|
||||||
}:
|
}:
|
||||||
lib.nixosSystem {
|
np.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
inherit pkgs;
|
pkgs = import np {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
overlays = overlays;
|
||||||
|
config.permittedInsecurePackages = [
|
||||||
|
"electron-25.9.0"
|
||||||
|
"jujutsu-0.23.0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
{nixpkgs.overlays = overlays;}
|
||||||
|
|
||||||
./hosts/${hostname}/configuration.nix
|
./hosts/${hostname}/configuration.nix
|
||||||
|
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
|
||||||
hyprland.nixosModules.default
|
|
||||||
{
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = !headless;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
golink.nixosModules.default
|
golink.nixosModules.default
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
@@ -86,9 +115,6 @@
|
|||||||
inherit hostname;
|
inherit hostname;
|
||||||
inherit headless;
|
inherit headless;
|
||||||
};
|
};
|
||||||
sharedModules = [
|
|
||||||
hyprland.homeManagerModules.default
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -98,23 +124,59 @@
|
|||||||
dingbox = hostSystem {
|
dingbox = hostSystem {
|
||||||
hostname = "dingbox";
|
hostname = "dingbox";
|
||||||
headless = false;
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
|
};
|
||||||
|
elderbug = hostSystem {
|
||||||
|
hostname = "elderbug";
|
||||||
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
};
|
};
|
||||||
miniding = hostSystem {
|
miniding = hostSystem {
|
||||||
hostname = "miniding";
|
hostname = "miniding";
|
||||||
headless = false;
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
};
|
};
|
||||||
pingbox = hostSystem {
|
pingbox = hostSystem {
|
||||||
hostname = "pingbox";
|
hostname = "pingbox";
|
||||||
headless = false;
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
};
|
};
|
||||||
dingserver = hostSystem {
|
dingserver = hostSystem {
|
||||||
hostname = "dingserver";
|
hostname = "dingserver";
|
||||||
headless = true;
|
headless = true;
|
||||||
|
np = nixpkgs;
|
||||||
};
|
};
|
||||||
bigding = hostSystem {
|
bigding = hostSystem {
|
||||||
hostname = "bigding";
|
hostname = "bigding";
|
||||||
headless = true;
|
headless = true;
|
||||||
|
np = nixpkgs;
|
||||||
};
|
};
|
||||||
|
sidon = hostSystem {
|
||||||
|
hostname = "sidon";
|
||||||
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
|
};
|
||||||
|
ranni = hostSystem {
|
||||||
|
hostname = "ranni";
|
||||||
|
headless = false;
|
||||||
|
np = nixpkgs;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
homeConfigurations = {
|
||||||
|
"deck" = deckSystem {
|
||||||
|
hostname = "deck";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
devShell.${system} = pkgs.mkShell {
|
||||||
|
packages = [
|
||||||
|
pkgs.alejandra
|
||||||
|
(
|
||||||
|
pkgs.writeScriptBin "tidy" ''
|
||||||
|
alejandra .
|
||||||
|
''
|
||||||
|
)
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,29 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
|
}: let
|
||||||
|
mkVHost = baseUrl: {
|
||||||
|
service,
|
||||||
|
port,
|
||||||
}: {
|
}: {
|
||||||
|
name = "${service}.${baseUrl}";
|
||||||
|
value = {
|
||||||
|
listenAddresses = ["100.91.249.54"];
|
||||||
|
extraConfig = ''
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy localhost:${builtins.toString port}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mkVHosts = baseUrl: hosts: builtins.listToAttrs (builtins.map (mkVHost baseUrl) hosts);
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../common
|
../common
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
@@ -19,22 +41,38 @@
|
|||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.version = 2;
|
|
||||||
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "bigding";
|
hostName = "bigding";
|
||||||
interfaces.ens3.useDHCP = true;
|
interfaces.ens3.useDHCP = true;
|
||||||
|
|
||||||
firewall.interfaces = {
|
firewall = {
|
||||||
|
allowedTCPPorts = [80 8448 443];
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 12500;
|
||||||
|
to = 12515;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 12500;
|
||||||
|
to = 12515;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
interfaces = {
|
||||||
"tailscale0" = {
|
"tailscale0" = {
|
||||||
allowedUDPPorts = [41641];
|
allowedUDPPorts = [41641];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.tailscale.permitCertUid = "caddy";
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
extraOptions = {
|
settings = {
|
||||||
gui = {
|
gui = {
|
||||||
insecureSkipHostcheck = true;
|
insecureSkipHostcheck = true;
|
||||||
};
|
};
|
||||||
@@ -42,6 +80,105 @@
|
|||||||
guiAddress = "localhost:8387";
|
guiAddress = "localhost:8387";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.groups."media".name = "media";
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
caddy_porkbun_api_env.file = ../../secrets/caddy_porkbun_api_env.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.sabnzbd = {
|
||||||
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.radarr = {
|
||||||
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
enableReload = false;
|
||||||
|
environmentFile = config.age.secrets.caddy_porkbun_api_env.path;
|
||||||
|
package = pkgs.caddy.withPlugins {
|
||||||
|
plugins = ["github.com/caddy-dns/porkbun@v0.2.1"];
|
||||||
|
hash = "sha256-X8QbRc2ahW1B5niV8i3sbfpe1OPYoaQ4LwbfeaWvfjg=";
|
||||||
|
};
|
||||||
|
logFormat = "level INFO";
|
||||||
|
virtualHosts =
|
||||||
|
(mkVHosts "broccoli.town" [
|
||||||
|
{
|
||||||
|
service = "radarr";
|
||||||
|
port = 7878;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "sonarr";
|
||||||
|
port = 8989;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "sab";
|
||||||
|
port = 8085;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "transmission";
|
||||||
|
port = 9091;
|
||||||
|
}
|
||||||
|
])
|
||||||
|
// {
|
||||||
|
"danielpatterson.dev" = {
|
||||||
|
extraConfig = ''
|
||||||
|
header {
|
||||||
|
proof proven.lol/de4a14
|
||||||
|
}
|
||||||
|
root * /srv/site/danielpatterson.dev
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"movies.danielpatterson.dev" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:8096
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"git.broccoli.town" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:3030
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# containers.radarr = {
|
||||||
|
# autoStart = false;
|
||||||
|
# bindMounts = {
|
||||||
|
# "/data" = {
|
||||||
|
# hostPath = "/var/media";
|
||||||
|
# mountPoint = "/data";
|
||||||
|
# isReadOnly = false;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# forwardPorts = [
|
||||||
|
# {
|
||||||
|
# containerPort = 7878;
|
||||||
|
# hostPort = 7979;
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# config = {config, pkgs, lib, ...}: {
|
||||||
|
# services.radarr = {
|
||||||
|
# enable = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
services.sonarr = {
|
||||||
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
helix
|
helix
|
||||||
kitty # For terminfo
|
kitty # For terminfo
|
||||||
|
|||||||
@@ -4,15 +4,23 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
mkUser = userName: {
|
mkUser = {
|
||||||
|
userName,
|
||||||
|
uid,
|
||||||
|
}: {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${userName}";
|
home = "/home/${userName}";
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
extraGroups = ["wheel" "networkmanager" "docker" "video" "syncthing"];
|
extraGroups = ["wheel" "networkmanager" "docker" "video" "syncthing"];
|
||||||
shell = pkgs.nushell;
|
uid = uid;
|
||||||
|
group = "users";
|
||||||
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultUser = "daniel";
|
defaultUser = {
|
||||||
|
userName = "daniel";
|
||||||
|
uid = 1000;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
@@ -21,18 +29,17 @@ in {
|
|||||||
|
|
||||||
# nix flakes compatibility
|
# nix flakes compatibility
|
||||||
nix = {
|
nix = {
|
||||||
|
settings.trusted-users = [
|
||||||
|
"root"
|
||||||
|
"daniel"
|
||||||
|
];
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
warn-dirty = false
|
warn-dirty = false
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
security.sudo.wheelNeedsPassword = false;
|
||||||
substituters = [
|
|
||||||
"https://hyprland.cachix.org"
|
|
||||||
];
|
|
||||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set time zone.
|
# Set time zone.
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
@@ -41,21 +48,23 @@ in {
|
|||||||
defaultLocale = "en_GB.UTF-8";
|
defaultLocale = "en_GB.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
||||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
||||||
# replicates the default behaviour.
|
|
||||||
networking.useDHCP = false;
|
|
||||||
|
|
||||||
console = {
|
console = {
|
||||||
useXkbConfig = true;
|
useXkbConfig = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
virtualisation.podman.enable = true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
users.users."${defaultUser}" = mkUser defaultUser;
|
users.users."${defaultUser.userName}" = mkUser defaultUser;
|
||||||
xdg.portal.wlr.enable = true;
|
|
||||||
|
users.groups."users" = {
|
||||||
|
gid = 100;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal.wlr.enable = lib.mkDefault true;
|
||||||
|
xdg.portal.config.common.default = "*";
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
@@ -65,13 +74,17 @@ in {
|
|||||||
firefox
|
firefox
|
||||||
fzf
|
fzf
|
||||||
gcc
|
gcc
|
||||||
|
ghostty
|
||||||
git
|
git
|
||||||
htop
|
htop
|
||||||
helix
|
helix
|
||||||
|
jujutsu
|
||||||
|
jq
|
||||||
nnn
|
nnn
|
||||||
nushell
|
|
||||||
ripgrep
|
ripgrep
|
||||||
wget
|
wget
|
||||||
|
zed-editor
|
||||||
|
zen-browser
|
||||||
zsh
|
zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -84,14 +97,17 @@ in {
|
|||||||
networking.firewall.trustedInterfaces = ["tailscale0"];
|
networking.firewall.trustedInterfaces = ["tailscale0"];
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
programs.nm-applet.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
|
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = defaultUser;
|
user = defaultUser.userName;
|
||||||
dataDir = "/home/${defaultUser}";
|
dataDir = "/home/${defaultUser.userName}";
|
||||||
|
overrideDevices = false;
|
||||||
|
overrideFolders = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
tailscale = {
|
tailscale = {
|
||||||
|
|||||||
@@ -1,19 +1,32 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.graphics.enable32Bit = true;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
programs.nm-applet.enable = true;
|
|
||||||
programs.partition-manager.enable = true;
|
programs.partition-manager.enable = true;
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
networkmanager.enable = true;
|
||||||
|
|
||||||
|
firewall.checkReversePath = "loose";
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.NetworkManager-wait-online = {
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = ["" "${pkgs.networkmanager}/bin/nm-online -q"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
age_identity = {
|
age_identity = {
|
||||||
file = ../../../secrets/age_identity.age;
|
file = ../../../secrets/age_identity.age;
|
||||||
@@ -25,12 +38,46 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts = {
|
||||||
(nerdfonts.override {fonts = ["Iosevka"]; })
|
packages = with pkgs; [
|
||||||
|
fraunces
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-emoji
|
||||||
|
nerd-fonts.iosevka
|
||||||
|
monocraft
|
||||||
|
source-code-pro
|
||||||
|
ubuntu_font_family
|
||||||
];
|
];
|
||||||
|
|
||||||
|
fontDir.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
sway.enable = true;
|
||||||
|
|
||||||
|
steam = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
|
libinput = {
|
||||||
|
enable = true;
|
||||||
|
mouse = {
|
||||||
|
accelProfile = "flat";
|
||||||
|
accelSpeed = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
displayManager.sddm = {
|
||||||
|
enable = false;
|
||||||
|
package = pkgs.kdePackages.sddm;
|
||||||
|
wayland.enable = true;
|
||||||
|
# extraPackages = with pkgs; [(catppuccin-sddm.override {flavor = "macchiato";})];
|
||||||
|
theme = "maldives";
|
||||||
|
};
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -58,21 +105,7 @@ SUBSYSTEM="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0666"
|
|||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = "gb";
|
xkb.layout = "gb";
|
||||||
|
|
||||||
libinput = {
|
|
||||||
enable = true;
|
|
||||||
mouse = {
|
|
||||||
accelProfile = "flat";
|
|
||||||
accelSpeed = "1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
displayManager = {
|
|
||||||
gdm = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
# 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")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
|
||||||
boot.initrd.kernelModules = [];
|
|
||||||
boot.kernelModules = ["kvm-intel"];
|
|
||||||
boot.extraModulePackages = [];
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/1c0e1988-4420-4485-bf16-ffb8ec854c69";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/F5EA-A9CB";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [];
|
|
||||||
|
|
||||||
# high-resolution display
|
|
||||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
|
||||||
}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
# Include the results of the hardware scan.
|
|
||||||
../common
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./tmux.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# Force disable the common boot loader
|
|
||||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.version = 2;
|
|
||||||
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
hostName = "dingserver";
|
|
||||||
interfaces.ens3.useDHCP = true;
|
|
||||||
|
|
||||||
firewall.interfaces = {
|
|
||||||
"tailscale0" = {
|
|
||||||
allowedUDPPorts = [41641];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
helix
|
|
||||||
kitty # For terminfo
|
|
||||||
lazygit
|
|
||||||
];
|
|
||||||
|
|
||||||
system.stateVersion = "21.11"; # Did you read the comment?
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# 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 + "/profiles/qemu-guest.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
|
||||||
boot.initrd.kernelModules = [];
|
|
||||||
boot.kernelModules = [];
|
|
||||||
boot.extraModulePackages = [];
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/f91229ad-de6b-49ad-8858-e49fea85e8a1";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [];
|
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
programs.tmux = {
|
|
||||||
enable = true;
|
|
||||||
keyMode = "vi";
|
|
||||||
terminal = "tmux-256color";
|
|
||||||
escapeTime = 0;
|
|
||||||
baseIndex = 1;
|
|
||||||
historyLimit = 10000;
|
|
||||||
clock24 = true;
|
|
||||||
extraConfig = ''
|
|
||||||
unbind-key -a -T prefix
|
|
||||||
unbind-key -a -T root
|
|
||||||
unbind-key -a -T copy-mode
|
|
||||||
unbind-key -a -T copy-mode-vi
|
|
||||||
|
|
||||||
set -g prefix M-w
|
|
||||||
|
|
||||||
bind q detach
|
|
||||||
bind : command-prompt
|
|
||||||
bind c new-window
|
|
||||||
bind -T root MouseDown1Status select-window -t =
|
|
||||||
|
|
||||||
bind space copy-mode
|
|
||||||
bind -T copy-mode-vi Escape send-keys -X cancel
|
|
||||||
|
|
||||||
bind -T copy-mode-vi Escape send -X cancel
|
|
||||||
bind -T copy-mode-vi k send -X cursor-up
|
|
||||||
bind -T copy-mode-vi j send -X cursor-down
|
|
||||||
bind -T copy-mode-vi h send -X cursor-left
|
|
||||||
bind -T copy-mode-vi l send -X cursor-right
|
|
||||||
|
|
||||||
bind -T copy-mode-vi Space send -X begin-selection
|
|
||||||
bind -T copy-mode-vi y send -X copy-selection-no-clear
|
|
||||||
bind -T copy-mode-vi Enter send -X copy-selection-and-cancel
|
|
||||||
|
|
||||||
set -g mouse on
|
|
||||||
bind -n WheelUpPane copy-mode -e
|
|
||||||
bind -T copy-mode-vi WheelUpPane send -X -N 5 scroll-up
|
|
||||||
bind -T copy-mode-vi WheelDownPane send -X -N 5 scroll-down
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
../common
|
../common
|
||||||
../common/graphical
|
../common/graphical
|
||||||
|
|
||||||
(import ../../modules).dingbox
|
(import ../../modules).elderbug
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
@@ -27,11 +27,14 @@
|
|||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
security.pam.u2f = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
hardware.nvidia.modesetting.enable = true;
|
hardware.nvidia.modesetting.enable = true;
|
||||||
|
|
||||||
networking.hostName = "dingbox"; # Define your hostname.
|
networking.hostName = "elderbug"; # Define your hostname.
|
||||||
networking.interfaces.enp5s0.useDHCP = true;
|
networking.interfaces.enp6s0.useDHCP = true;
|
||||||
networking.interfaces.wlp6s0.useDHCP = true;
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
@@ -39,5 +42,5 @@
|
|||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
42
hosts/elderbug/hardware-configuration.nix
Normal file
42
hosts/elderbug/hardware-configuration.nix
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# 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")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||||
|
boot.initrd.kernelModules = [];
|
||||||
|
boot.kernelModules = ["kvm-intel"];
|
||||||
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/1abab84b-47d7-45bb-b31d-e5668f545d7f";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/1F77-6B2D";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
# networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# 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")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "sd_mod"];
|
|
||||||
boot.initrd.kernelModules = [];
|
|
||||||
boot.kernelModules = ["kvm-intel"];
|
|
||||||
boot.extraModulePackages = [];
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/6a362ee7-854b-4a5b-8989-e65af01b9b99";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/C103-FFC1";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [];
|
|
||||||
}
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
hardware.acpilight.enable = lib.mkDefault true;
|
hardware.acpilight.enable = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
@@ -30,6 +30,16 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
|
# programs.virt-manager.enable = true;
|
||||||
|
|
||||||
|
# users.groups.libvirtd.members = ["daniel"];
|
||||||
|
|
||||||
|
# virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
# virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "pingbox";
|
hostName = "pingbox";
|
||||||
interfaces.wlp170s0.useDHCP = true;
|
interfaces.wlp170s0.useDHCP = true;
|
||||||
@@ -47,21 +57,20 @@
|
|||||||
PCIE_ASPM_ON_BAT = "powersupersave";
|
PCIE_ASPM_ON_BAT = "powersupersave";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xserver = {
|
|
||||||
dpi = 144;
|
|
||||||
|
|
||||||
videoDrivers = ["intel"];
|
|
||||||
deviceSection = ''
|
|
||||||
Option "DRI" "2"
|
|
||||||
Option "TearFree" "true"
|
|
||||||
'';
|
|
||||||
|
|
||||||
libinput.touchpad = {
|
libinput.touchpad = {
|
||||||
naturalScrolling = true;
|
naturalScrolling = true;
|
||||||
horizontalScrolling = false;
|
horizontalScrolling = false;
|
||||||
tapping = true;
|
tapping = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xserver = {
|
||||||
|
dpi = 144;
|
||||||
|
|
||||||
|
videoDrivers = ["modesetting"];
|
||||||
|
deviceSection = ''
|
||||||
|
Option "DRI" "2"
|
||||||
|
Option "TearFree" "true"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
logind = {
|
logind = {
|
||||||
|
|||||||
@@ -29,14 +29,8 @@
|
|||||||
|
|
||||||
swapDevices = [];
|
swapDevices = [];
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
|
||||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
|
||||||
# replicates the default behaviour.
|
|
||||||
networking.useDHCP = lib.mkDefault false;
|
|
||||||
networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true;
|
networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
# high-resolution display
|
|
||||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
346
hosts/ranni/configuration.nix
Normal file
346
hosts/ranni/configuration.nix
Normal file
@@ -0,0 +1,346 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
mkVHost = baseUrl: {
|
||||||
|
service,
|
||||||
|
port,
|
||||||
|
}: {
|
||||||
|
name = "${service}.${baseUrl}";
|
||||||
|
value = {
|
||||||
|
listenAddresses = ["100.76.159.53"];
|
||||||
|
extraConfig = ''
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy localhost:${builtins.toString port}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mkVHosts = baseUrl: hosts: builtins.listToAttrs (builtins.map (mkVHost baseUrl) hosts);
|
||||||
|
|
||||||
|
zfsCompatibleKernelPackages =
|
||||||
|
lib.filterAttrs (
|
||||||
|
name: kernelPackages:
|
||||||
|
(builtins.match "linux_[0-9]+_[0-9]+" name)
|
||||||
|
!= null
|
||||||
|
&& (builtins.tryEval kernelPackages).success
|
||||||
|
&& (!kernelPackages.${config.boot.zfs.package.kernelModuleAttribute}.meta.broken)
|
||||||
|
)
|
||||||
|
pkgs.linuxKernel.packages;
|
||||||
|
|
||||||
|
latestKernelPackage = lib.last (
|
||||||
|
lib.sort (a: b: (lib.versionOlder a.kernel.version b.kernel.version)) (
|
||||||
|
builtins.attrValues zfsCompatibleKernelPackages
|
||||||
|
)
|
||||||
|
);
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
../common
|
||||||
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
(import ../../modules).ranni
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = lib.mkForce latestKernelPackage;
|
||||||
|
|
||||||
|
boot.loader.systemd-boot.enable = false;
|
||||||
|
boot.loader.grub = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = false;
|
||||||
|
devices = ["/dev/disk/by-id/ata-ST4000NM0245-1Z2107_ZC1A059L" "/dev/disk/by-id/ata-ST4000NM0245-1Z2107_ZC19X508"];
|
||||||
|
copyKernels = true;
|
||||||
|
};
|
||||||
|
boot.supportedFilesystems = ["zfs"];
|
||||||
|
boot.swraid.enable = true;
|
||||||
|
boot.kernelParams = ["boot.shell_on_fail"];
|
||||||
|
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
intel-media-driver
|
||||||
|
vaapiIntel
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
hostName = "ranni";
|
||||||
|
hostId = "00000001";
|
||||||
|
|
||||||
|
useDHCP = false;
|
||||||
|
|
||||||
|
interfaces."enp0s31f6" = {
|
||||||
|
ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "95.216.12.238";
|
||||||
|
# Hetzner requires /32, see:
|
||||||
|
# https://docs.hetzner.com/robot/dedicated-server/network/net-config-debian-ubuntu/#ipv4.
|
||||||
|
# NixOS automatically sets up a route to the gateway
|
||||||
|
# (but only because we set "networking.defaultGateway.interface" below), see
|
||||||
|
# https://github.com/NixOS/nixops/pull/1032#issuecomment-2763497444
|
||||||
|
prefixLength = 32;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
ipv6.addresses = [
|
||||||
|
{
|
||||||
|
address = "2a01:4f9:2a:d05::1";
|
||||||
|
prefixLength = 64;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
defaultGateway = {
|
||||||
|
address = "95.216.12.193";
|
||||||
|
# Interface must be given for Hetzner networking to work, see comment above.
|
||||||
|
interface = "enp0s31f6";
|
||||||
|
};
|
||||||
|
|
||||||
|
defaultGateway6 = {
|
||||||
|
address = "fe80::1";
|
||||||
|
interface = "enp0s31f6";
|
||||||
|
};
|
||||||
|
|
||||||
|
nameservers = [
|
||||||
|
# cloudflare
|
||||||
|
"1.1.1.1"
|
||||||
|
"2606:4700:4700::1111"
|
||||||
|
"2606:4700:4700::1001"
|
||||||
|
# google
|
||||||
|
"8.8.8.8"
|
||||||
|
"2001:4860:4860::8888"
|
||||||
|
"2001:4860:4860::8844"
|
||||||
|
];
|
||||||
|
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPorts = [80 8448 443];
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 12500;
|
||||||
|
to = 12515;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 12500;
|
||||||
|
to = 12515;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
interfaces = {
|
||||||
|
"tailscale0" = {
|
||||||
|
allowedUDPPorts = [41641];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.tailscale.permitCertUid = "caddy";
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
settings = {
|
||||||
|
gui = {
|
||||||
|
insecureSkipHostcheck = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
guiAddress = "localhost:8387";
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
jellyfin.enable = true;
|
||||||
|
jellyfin.group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups."media".name = "media";
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
caddy_porkbun_api_env.file = ../../secrets/caddy_porkbun_api_env.age;
|
||||||
|
danflix_hetzner_storage_box_pub_key.file = ../../secrets/danflix_hetzner_storage_box_pub_key.age;
|
||||||
|
danflix_rclone_config.file = ../../secrets/danflix_rclone_config.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.sabnzbd = {
|
||||||
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
};
|
||||||
|
|
||||||
|
containers.radarr = {
|
||||||
|
autoStart = true;
|
||||||
|
bindMounts = {
|
||||||
|
"/data" = {
|
||||||
|
hostPath = "/var/media";
|
||||||
|
mountPoint = "/var/media";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.radarr = {
|
||||||
|
enable = true;
|
||||||
|
user = "root";
|
||||||
|
group = "root";
|
||||||
|
};
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# containers.radarr-small = {
|
||||||
|
# autoStart = true;
|
||||||
|
# bindMounts = {
|
||||||
|
# "/data" = {
|
||||||
|
# hostPath = "/var/media";
|
||||||
|
# mountPoint = "/var/media";
|
||||||
|
# isReadOnly = false;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# forwardPorts = [
|
||||||
|
# {
|
||||||
|
# containerPort = 7878;
|
||||||
|
# hostPort = 7979;
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# config = {
|
||||||
|
# config,
|
||||||
|
# pkgs,
|
||||||
|
# lib,
|
||||||
|
# ...
|
||||||
|
# }: {
|
||||||
|
# environment.systemPackages = with pkgs; [
|
||||||
|
# ghostty
|
||||||
|
# helix
|
||||||
|
# ];
|
||||||
|
# services.radarr = {
|
||||||
|
# enable = true;
|
||||||
|
# user = "root";
|
||||||
|
# group = "root";
|
||||||
|
# };
|
||||||
|
# system.stateVersion = "24.11";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
containers.sonarr = {
|
||||||
|
autoStart = true;
|
||||||
|
bindMounts = {
|
||||||
|
"/data" = {
|
||||||
|
hostPath = "/var/media";
|
||||||
|
mountPoint = "/var/media";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.sonarr = {
|
||||||
|
enable = true;
|
||||||
|
user = "root";
|
||||||
|
group = "root";
|
||||||
|
};
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
containers.lidarr = {
|
||||||
|
autoStart = true;
|
||||||
|
bindMounts = {
|
||||||
|
"/var/media" = {
|
||||||
|
hostPath = "/var/media";
|
||||||
|
mountPoint = "/var/media";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.lidarr = {
|
||||||
|
enable = true;
|
||||||
|
user = "root";
|
||||||
|
group = "root";
|
||||||
|
};
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
enableReload = false;
|
||||||
|
environmentFile = config.age.secrets.caddy_porkbun_api_env.path;
|
||||||
|
package = pkgs.caddy.withPlugins {
|
||||||
|
plugins = ["github.com/caddy-dns/porkbun@v0.3.1"];
|
||||||
|
hash = "sha256-sa+L2YoTM1ZfhfowoCZwmggrUsqw0NmGWRK45TevxFo=";
|
||||||
|
};
|
||||||
|
logFormat = "level INFO";
|
||||||
|
virtualHosts =
|
||||||
|
(mkVHosts "broccoli.town" [
|
||||||
|
{
|
||||||
|
service = "radarr";
|
||||||
|
port = 7878;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "sonarr";
|
||||||
|
port = 8989;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "sab";
|
||||||
|
port = 8085;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "lidarr";
|
||||||
|
port = 8686;
|
||||||
|
}
|
||||||
|
])
|
||||||
|
// {
|
||||||
|
"http://ranni:8085" = {
|
||||||
|
listenAddresses = ["100.76.159.53"];
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:8085
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"http://ranni:8384" = {
|
||||||
|
listenAddresses = ["100.76.159.53"];
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:8387
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"movies.danielpatterson.dev" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:8096
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"git.broccoli.town" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:3030
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
helix
|
||||||
|
kitty # For terminfo
|
||||||
|
lazygit
|
||||||
|
];
|
||||||
|
|
||||||
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||||||
|
}
|
||||||
58
hosts/ranni/hardware-configuration.nix
Normal file
58
hosts/ranni/hardware-configuration.nix
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# 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")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = ["ahci" "sd_mod"];
|
||||||
|
boot.initrd.kernelModules = [];
|
||||||
|
boot.kernelModules = ["kvm-intel"];
|
||||||
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "root_pool/root/nixos";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" = {
|
||||||
|
device = "root_pool/home";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/lib/postgres" = {
|
||||||
|
device = "root_pool/postgres";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/media" = {
|
||||||
|
device = "root_pool/media";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot/efi" = {
|
||||||
|
device = "/dev/disk/by-uuid/555A-CAFA";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = ["fmask=0022" "dmask=0022"];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.eth0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
boot.swraid.enable = true;
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@@ -11,23 +12,45 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../common
|
../common
|
||||||
../common/graphical
|
../common/graphical
|
||||||
|
|
||||||
|
(import ../../modules).sidon
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_6_8;
|
||||||
hostName = "miniding";
|
|
||||||
interfaces.wlp2s0.useDHCP = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
dpi = 144;
|
dpi = 144;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.loader.systemd-boot.enable = false;
|
||||||
|
boot.loader.grub = {
|
||||||
|
enable = true;
|
||||||
|
device = "nodev";
|
||||||
|
useOSProber = true;
|
||||||
|
efiSupport = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
time.hardwareClockInLocalTime = true;
|
||||||
|
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wlr-randr
|
||||||
|
];
|
||||||
|
|
||||||
|
security.pam.u2f = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
|
||||||
|
networking.hostName = "sidon"; # Define your hostname.
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
46
hosts/sidon/hardware-configuration.nix
Normal file
46
hosts/sidon/hardware-configuration.nix
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# 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")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid"];
|
||||||
|
boot.initrd.kernelModules = [];
|
||||||
|
boot.kernelModules = ["kvm-amd"];
|
||||||
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/1abab84b-47d7-45bb-b31d-e5668f545d7f";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/1F77-6B2D";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.br-06c6ce3e0c6d.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.br-e024580aae91.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp8s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
44
modules/backups/bigding/default.nix
Normal file
44
modules/backups/bigding/default.nix
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
age.secrets = {
|
||||||
|
bigding_backup_s3_creds.file = ../../../secrets/bigding_backup_s3_creds.age;
|
||||||
|
bigding_backup_repo_password.file = ../../../secrets/bigding_backup_repo_password.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.restic.backups = {
|
||||||
|
"system" = {
|
||||||
|
initialize = true;
|
||||||
|
passwordFile = config.age.secrets.bigding_backup_repo_password.path;
|
||||||
|
timerConfig = {
|
||||||
|
OnCalendar = "02:00";
|
||||||
|
};
|
||||||
|
repository = "s3:s3.eu-central-003.backblazeb2.com/bigding-backup";
|
||||||
|
environmentFile = config.age.secrets.bigding_backup_s3_creds.path;
|
||||||
|
|
||||||
|
paths = [
|
||||||
|
"/etc/group"
|
||||||
|
"/etc/machine-id"
|
||||||
|
"/etc/NetworkManager/system-connections"
|
||||||
|
"/etc/passwd"
|
||||||
|
"/etc/subgid"
|
||||||
|
"/home"
|
||||||
|
"/root"
|
||||||
|
"/var/lib/prometheus2"
|
||||||
|
"/var/lib/jellyfin"
|
||||||
|
"/var/lib/fail2ban"
|
||||||
|
"/var/lib/matrix-synapse"
|
||||||
|
"/var/lib/golink"
|
||||||
|
"/var/lib/tailscale"
|
||||||
|
"/var/lib/caddy"
|
||||||
|
"/var/backup"
|
||||||
|
];
|
||||||
|
|
||||||
|
backupPrepareCommand = ''
|
||||||
|
${pkgs.postgresql_16}/bin/pg_dumpall --clean -U postgres | ${pkgs.zstd}/bin/zstd --rsyncable > /var/backup/pgdump.sql.zst
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
109
modules/caddy/Caddyfile
Normal file
109
modules/caddy/Caddyfile
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
log {
|
||||||
|
level ERROR
|
||||||
|
}
|
||||||
|
# admin off
|
||||||
|
servers {
|
||||||
|
metrics
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
matrix.broccoli.town {
|
||||||
|
reverse_proxy /_matrix/* http://localhost:8008
|
||||||
|
reverse_proxy /_synapse/client/* http://localhost:8008
|
||||||
|
}
|
||||||
|
|
||||||
|
syncv3.broccoli.town {
|
||||||
|
reverse_proxy http://localhost:8009
|
||||||
|
}
|
||||||
|
|
||||||
|
broccoli.town:8448 {
|
||||||
|
reverse_proxy http://localhost:8008
|
||||||
|
}
|
||||||
|
|
||||||
|
radarr.broccoli.town {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy http://localhost:7878
|
||||||
|
}
|
||||||
|
|
||||||
|
sab.broccoli.town {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy http://localhost:8085
|
||||||
|
}
|
||||||
|
|
||||||
|
sonarr.broccoli.town {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy localhost:8989
|
||||||
|
}
|
||||||
|
|
||||||
|
transmission.broccoli.town {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
tls {
|
||||||
|
dns porkbun {
|
||||||
|
api_key {env.PORKBUN_API_KEY}
|
||||||
|
api_secret_key {env.PORKBUN_SECRET_KEY}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy localhost:9091
|
||||||
|
}
|
||||||
|
|
||||||
|
danielpatterson.dev {
|
||||||
|
header {
|
||||||
|
proof proven.lol/de4a14
|
||||||
|
}
|
||||||
|
root * /srv/site/danielpatterson.dev
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
|
movies.danielpatterson.dev {
|
||||||
|
reverse_proxy localhost:8096
|
||||||
|
}
|
||||||
|
|
||||||
|
elixir.danielpatterson.dev {
|
||||||
|
reverse_proxy localhost:8080
|
||||||
|
}
|
||||||
|
|
||||||
|
git.broccoli.town {
|
||||||
|
reverse_proxy localhost:3030
|
||||||
|
}
|
||||||
|
|
||||||
|
http://bigding:8384 {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
reverse_proxy localhost:8387
|
||||||
|
}
|
||||||
|
|
||||||
|
http://bigding {
|
||||||
|
bind 100.91.249.54
|
||||||
|
|
||||||
|
handle_path /prometheus/* {
|
||||||
|
reverse_proxy localhost:9090
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,102 +1,20 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
networking.firewall.allowedTCPPorts = [80 8448 443];
|
networking.firewall.allowedTCPPorts = [80 8448 443];
|
||||||
|
|
||||||
services.tailscale.permitCertUid = "caddy";
|
|
||||||
|
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
|
package = pkgs.caddy.withPlugins {
|
||||||
|
plugins = ["github.com/caddy-dns/porkbun@v0.2.1"];
|
||||||
|
hash = "sha256-X8QbRc2ahW1B5niV8i3sbfpe1OPYoaQ4LwbfeaWvfjg=";
|
||||||
|
};
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
enableReload = false;
|
||||||
"http://metrics.town" = {
|
adapter = "caddyfile";
|
||||||
extraConfig = ''
|
environmentFile = config.age.secrets.caddy_porkbun_api_env.path;
|
||||||
reverse_proxy http://localhost:3000
|
configFile = ./Caddyfile;
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"matrix.broccoli.town" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy /_matrix/* http://localhost:8008
|
|
||||||
reverse_proxy /_synapse/client/* http://localhost:8008
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"broccoli.town:8448" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy http://localhost:8008
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"broccoli.town" = {
|
|
||||||
extraConfig = ''
|
|
||||||
header /.well-known/* "Access-Control-Allow-Origin" "*"
|
|
||||||
respond /.well-known/matrix/client "{\"m.homeserver\": {\"base_url\": \"https://broccoli.town\"}}"
|
|
||||||
|
|
||||||
reverse_proxy /_matrix/* http://localhost:8008
|
|
||||||
reverse_proxy /_synapse/client/* http://localhost:8008
|
|
||||||
|
|
||||||
redir / https://chat.broccoli.town
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"chat.broccoli.town" = {
|
|
||||||
extraConfig = ''
|
|
||||||
header {
|
|
||||||
X-Frame-Options "SAMEORIGIN"
|
|
||||||
X-XSS-Protection "1; mode=block"
|
|
||||||
X-Content-Type-Options "nosniff"
|
|
||||||
X-Robots-Tag "noindex, noarchive, nofollow"
|
|
||||||
}
|
|
||||||
root * ${
|
|
||||||
pkgs.element-web.override {
|
|
||||||
conf = {
|
|
||||||
default_server_config."m.homeserver" = {
|
|
||||||
"base_url" = "https://broccoli.town";
|
|
||||||
"server_name" = "broccoli.town";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_server
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"danielpatterson.dev" = {
|
|
||||||
extraConfig = ''
|
|
||||||
root * /srv/site/danielpatterson.dev
|
|
||||||
encode zstd gzip
|
|
||||||
file_server
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"movies.danielpatterson.dev" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy localhost:8096
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"elixir.danielpatterson.dev" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy localhost:8080
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"http://bigding:8384" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy localhost:8387
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"bigding.squirrel-clownfish.ts.net" = {
|
|
||||||
extraConfig = ''
|
|
||||||
tls {
|
|
||||||
get_certificate tailscale
|
|
||||||
}
|
|
||||||
reverse_proxy localhost:9091
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
bigding = {
|
bigding = {
|
||||||
imports = [
|
imports = [
|
||||||
./caddy
|
./backups/bigding
|
||||||
|
# ./caddy
|
||||||
./dungflix
|
./dungflix
|
||||||
|
./fail2ban
|
||||||
|
./gitea
|
||||||
|
./golink
|
||||||
|
./livebook
|
||||||
./monitoring
|
./monitoring
|
||||||
./synapse
|
./synapse
|
||||||
./golink
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -15,9 +19,16 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elderbug = {};
|
||||||
|
|
||||||
|
sidon = {};
|
||||||
|
|
||||||
pingbox = {
|
pingbox = {
|
||||||
|
};
|
||||||
|
|
||||||
|
ranni = {
|
||||||
imports = [
|
imports = [
|
||||||
./postgres
|
./gitea
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,31 +3,24 @@
|
|||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
mountdir = "/var/media/dungflix";
|
mountdir = "/var/media/danflix";
|
||||||
|
|
||||||
rclone_config = pkgs.writeText "" ''
|
|
||||||
[dungflix]
|
|
||||||
type = b2
|
|
||||||
|
|
||||||
[dungflix-vault]
|
|
||||||
type = crypt
|
|
||||||
remote = dungflix:dungflix-bucket
|
|
||||||
'';
|
|
||||||
in {
|
in {
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
dungflix_bucket_account_id.file = ../../secrets/dungflix_bucket_account_id.age;
|
danflix_hetzner_storage_box_pub_key.file = ../../secrets/danflix_hetzner_storage_box_pub_key.age;
|
||||||
dungflix_bucket_account_key.file = ../../secrets/dungflix_bucket_account_key.age;
|
danflix_rclone_config.file = ../../secrets/danflix_rclone_config.age;
|
||||||
dungflix_crypt_remote_obscured_pass.file = ../../secrets/dungflix_crypt_remote_obscured_pass.age;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
|
jellyfin.group = "media";
|
||||||
|
|
||||||
transmission = {
|
transmission = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.transmission_3;
|
||||||
|
webHome = pkgs.transmission_3 + /share/transmission/web;
|
||||||
settings = {
|
settings = {
|
||||||
rpc-host-whitelist-enable = true;
|
rpc-host-whitelist-enable = true;
|
||||||
rpc-host-whitelist = "bigding.squirrel-clownfish.ts.net";
|
rpc-host-whitelist = "bigding.squirrel-clownfish.ts.net,bigding";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -40,35 +33,37 @@ in {
|
|||||||
MemoryMax = "1G";
|
MemoryMax = "1G";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.dungflix-mount = {
|
systemd.services.danflix-mount = {
|
||||||
description = "Mount the Backblaze B2 media store";
|
description = "Mount the Hetzner Storage Box media store";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
path = [pkgs.fuse];
|
path = [pkgs.fuse3];
|
||||||
preStart = ''
|
preStart = ''
|
||||||
mkdir -p -m 777 ${mountdir}
|
mkdir -p -m 777 ${mountdir}
|
||||||
'';
|
'';
|
||||||
|
environment = {
|
||||||
|
"RCLONE_SFTP_KEY_FILE" = config.age.secrets.danflix_hetzner_storage_box_pub_key.path;
|
||||||
|
};
|
||||||
script = ''
|
script = ''
|
||||||
export RCLONE_B2_ACCOUNT=''$(cat ${config.age.secrets.dungflix_bucket_account_id.path})
|
${pkgs.rclone}/bin/rclone --config="${config.age.secrets.danflix_rclone_config.path}" mount danflix-union: ${mountdir} \
|
||||||
export RCLONE_B2_KEY=''$(cat ${config.age.secrets.dungflix_bucket_account_key.path})
|
|
||||||
export RCLONE_CRYPT_PASSWORD=''$(cat ${config.age.secrets.dungflix_crypt_remote_obscured_pass.path})
|
|
||||||
${pkgs.rclone}/bin/rclone --config="${rclone_config}" mount dungflix-vault: ${mountdir} \
|
|
||||||
--transfers 32 \
|
|
||||||
--vfs-cache-mode full \
|
--vfs-cache-mode full \
|
||||||
--vfs-cache-max-age 336h \
|
--vfs-cache-max-age 336h \
|
||||||
--vfs-cache-max-size 200G \
|
--vfs-cache-max-size 60G \
|
||||||
--allow-other \
|
--allow-other \
|
||||||
--no-modtime \
|
--no-modtime \
|
||||||
--rc \
|
--rc \
|
||||||
|
--sftp-concurrency 8 \
|
||||||
|
--checkers 4 \
|
||||||
|
--rc-addr=localhost:5572 \
|
||||||
--rc-no-auth \
|
--rc-no-auth \
|
||||||
-vv
|
-v
|
||||||
'';
|
'';
|
||||||
postStart = ''
|
postStart = ''
|
||||||
sleep 5
|
sleep 5
|
||||||
${pkgs.rclone}/bin/rclone --config="${rclone_config}" rc vfs/refresh recursive=true _async=true
|
${pkgs.rclone}/bin/rclone --config="${config.age.secrets.danflix_rclone_config.path}" rc vfs/refresh recursive=true _async=true
|
||||||
'';
|
'';
|
||||||
postStop = ''
|
postStop = ''
|
||||||
sleep 3
|
sleep 3
|
||||||
fusermount -u ${mountdir}
|
${pkgs.fuse3}/bin/fusermount -u ${mountdir}
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|||||||
13
modules/fail2ban/default.nix
Normal file
13
modules/fail2ban/default.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{...}: {
|
||||||
|
services.fail2ban = {
|
||||||
|
enable = true;
|
||||||
|
maxretry = 5;
|
||||||
|
ignoreIP = [
|
||||||
|
"127.0.0.1/8"
|
||||||
|
"10.0.0.0/8"
|
||||||
|
"172.16.0.0/12"
|
||||||
|
"192.168.0.0/16"
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
54
modules/gitea/default.nix
Normal file
54
modules/gitea/default.nix
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
age.secrets = {
|
||||||
|
sendmail_email_key_gitea = {
|
||||||
|
file = ../../secrets/sendmail_email_key_gitea.age;
|
||||||
|
owner = "gitea";
|
||||||
|
group = "gitea";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gitea = {
|
||||||
|
enable = true;
|
||||||
|
appName = "The Broccoli Patch";
|
||||||
|
database = {
|
||||||
|
type = "sqlite3";
|
||||||
|
};
|
||||||
|
dump = {
|
||||||
|
enable = true;
|
||||||
|
type = "tar.zst";
|
||||||
|
file = "gitea.tar.zst";
|
||||||
|
backupDir = "/var/backup";
|
||||||
|
interval = "01:30";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
ROOT_URL = "https://git.broccoli.town/";
|
||||||
|
HTTP_PORT = 3030;
|
||||||
|
HTTP_ADDR = "127.0.0.1";
|
||||||
|
DOMAIN = "git.broccoli.town";
|
||||||
|
};
|
||||||
|
service = {
|
||||||
|
REGISTER_EMAIL_CONFIRM = true;
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
ENABLE_NOTIFY_MAIL = true;
|
||||||
|
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||||
|
};
|
||||||
|
repository = {
|
||||||
|
ENABLE_PUSH_CREATE_USER = true;
|
||||||
|
};
|
||||||
|
mailer = {
|
||||||
|
ENABLED = true;
|
||||||
|
FROM = "gitea@broccoli.town";
|
||||||
|
SMTP_ADDR = "smtp.sendgrid.net";
|
||||||
|
SMTP_PORT = 587;
|
||||||
|
USER = "apikey";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
mailerPasswordFile = config.age.secrets.sendmail_email_key_gitea.path;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
{...}: {
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.golink = {
|
services.golink = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
14
modules/livebook/default.nix
Normal file
14
modules/livebook/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{config, ...}: {
|
||||||
|
virtualisation.oci-containers = {
|
||||||
|
backend = "docker";
|
||||||
|
containers = {
|
||||||
|
"livebook" = {
|
||||||
|
image = "ghcr.io/livebook-dev/livebook";
|
||||||
|
ports = ["8080:8080" "8081:8081"];
|
||||||
|
volumes = ["/home/daniel/livebook/data:/data"];
|
||||||
|
user = "${toString config.users.users."daniel".uid}:${toString config.users.groups."users".gid}";
|
||||||
|
environmentFiles = ["/home/daniel/.livebook_env"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -6,7 +6,12 @@
|
|||||||
}: {
|
}: {
|
||||||
services.grafana = {
|
services.grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {};
|
settings = {
|
||||||
|
server = {
|
||||||
|
http_addr = "127.0.0.1";
|
||||||
|
http_port = 3033;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
@@ -24,6 +29,15 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "caddy";
|
||||||
|
scrape_interval = "15s";
|
||||||
|
static_configs = [
|
||||||
|
{
|
||||||
|
targets = ["localhost:2019"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,22 +7,20 @@
|
|||||||
fqdn = "matrix.broccoli.town";
|
fqdn = "matrix.broccoli.town";
|
||||||
in {
|
in {
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = false;
|
||||||
|
package = pkgs.postgresql_16;
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
|
||||||
name = "matrix-synapse";
|
|
||||||
ensurePermissions = {
|
|
||||||
"DATABASE synapse" = "ALL PRIVILEGES";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
authentication = ''
|
||||||
|
local all all trust
|
||||||
|
'';
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
"synapse"
|
"synapse"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
enable_metrics = true;
|
enable_metrics = true;
|
||||||
server_name = "broccoli.town";
|
server_name = "broccoli.town";
|
||||||
|
|||||||
21
scripts/selecthover
Executable file
21
scripts/selecthover
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
CURSORPOS=$(hyprctl cursorpos -j)
|
||||||
|
|
||||||
|
X_POS=$(jq '.x' <<< $CURSORPOS)
|
||||||
|
Y_POS=$(jq '.y' <<< $CURSORPOS)
|
||||||
|
|
||||||
|
ACTIVE_WORKSPACE=$(hyprctl activeworkspace -j | jq '.id')
|
||||||
|
|
||||||
|
hyprctl clients -j | jq "$(cat << EOF
|
||||||
|
.[] |
|
||||||
|
select(.workspace.id == $ACTIVE_WORKSPACE) |
|
||||||
|
select(
|
||||||
|
.at[0] <= $X_POS
|
||||||
|
and .at[1] <= $Y_POS
|
||||||
|
and (.at[0] + .size[0] >= $X_POS)
|
||||||
|
and (.at[1] + .size[1] >= $Y_POS)
|
||||||
|
) | .pid
|
||||||
|
EOF
|
||||||
|
)" | tail -n 1
|
||||||
|
|
||||||
48
scripts/swayutils
Executable file
48
scripts/swayutils
Executable file
@@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
function move {
|
||||||
|
CURR_WORKSPACE=$(swaymsg -t get_workspaces | jq -r '. | map(select(.focused == true)) | .[0].name')
|
||||||
|
|
||||||
|
echo $CURR_WORKSPACE
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
"next")
|
||||||
|
NEW_WORKSPACE=$(expr ${CURR_WORKSPACE} + 1)
|
||||||
|
;;
|
||||||
|
"prev")
|
||||||
|
[ ${CURR_WORKSPACE} -eq 1 ] && exit 0
|
||||||
|
NEW_WORKSPACE=$(expr ${CURR_WORKSPACE} - 1)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
swaymsg "move container to workspace ${NEW_WORKSPACE}"
|
||||||
|
swaymsg "workspace ${NEW_WORKSPACE}"
|
||||||
|
}
|
||||||
|
|
||||||
|
function focus {
|
||||||
|
CURR_WORKSPACE=$(swaymsg -t get_workspaces | jq -r '. | map(select(.focused == true)) | .[0].name')
|
||||||
|
|
||||||
|
echo $CURR_WORKSPACE
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
"next")
|
||||||
|
NEW_WORKSPACE=$(expr ${CURR_WORKSPACE} + 1)
|
||||||
|
;;
|
||||||
|
"prev")
|
||||||
|
[ ${CURR_WORKSPACE} -eq 1 ] && exit 0
|
||||||
|
NEW_WORKSPACE=$(expr ${CURR_WORKSPACE} - 1)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
swaymsg "workspace ${NEW_WORKSPACE}"
|
||||||
|
}
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
"move")
|
||||||
|
move $2
|
||||||
|
;;
|
||||||
|
|
||||||
|
"focus")
|
||||||
|
focus $2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Binary file not shown.
17
secrets/bigding_backup_repo_password.age
Normal file
17
secrets/bigding_backup_repo_password.age
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q EAZDNmNVPn4csM/YdGJFlORxQDMMtO5Dn7x2XfFRaFU
|
||||||
|
vuduGWTaLD//qz0GlOdArY7i4n3Uhwi4+nFr4jj8P3Y
|
||||||
|
-> ssh-ed25519 Bp5IaA XOy6sVXfaDVKhN81OZOtVlroHKIxpKgMwnJxcQ+i8Gs
|
||||||
|
dxXJCjBLmLru9L/sJEBmp8wA563MBc4nZYhXkE5P3zY
|
||||||
|
-> ssh-ed25519 T/DpgA XKdq7MGI+Gl+NYrwuMBPs0Wy4Z2/ewdItW3YhgEW/xY
|
||||||
|
SSeYZXSqY+FOv4A6+oxKgu2CzUI8DPEXiI2iMDXCkS4
|
||||||
|
-> ssh-ed25519 qMgRFg 6uBriCnYizzXcQ9Sj+PBHHHKajsBICdErIAN/m5zCwM
|
||||||
|
HiNfRVS3omZA9UopFXXlK7KzaLU5q78/murhClxw3Hk
|
||||||
|
-> ssh-ed25519 dMZXNw R7mVtYIYqYGRJ6T1u07eStvfXJPZRT/0yOc0a2haFAo
|
||||||
|
JNzKXxhW+MxJKCSlI6lJqpCbR3QYI+FAHlnXUpzW5pk
|
||||||
|
-> ssh-ed25519 +shbwg zIiwiExg9YyJ4ihqr10WPRv0deNFjj2on6EFFTnSFSU
|
||||||
|
WYem7R3Mwi8OBZPOqd/m0v+A8k9HUC0+e7BwlTbdIQc
|
||||||
|
-> ssh-ed25519 70Nt2Q VacvBAJYuKDhLKpoDsdoFtPB9po/Bq/lC6EKG7C3oSg
|
||||||
|
DrifwWRcqhHjt/yAcDrxKEPpY3ceL5VJy3BNPH7v4q8
|
||||||
|
--- vwailf0HFStDtxF94IGxV1jHWyhLjagTFAROxkCqnv4
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P<><1F>6<EFBFBD><36>i<EFBFBD>bɿ<62><C9BF>\
|
||||||
19
secrets/bigding_backup_s3_creds.age
Normal file
19
secrets/bigding_backup_s3_creds.age
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q s6gPZA/ZEuwYS5Bi+xbSPS0p3v4I5u5l3fyV9OlZKk8
|
||||||
|
Gy8aXFeM/Rsxoevdg6+yNA5Z00eBhWSU9d8YVPOSM0U
|
||||||
|
-> ssh-ed25519 Bp5IaA UAI6l3EjanPqPwiSDVRRDgdAbDV1rrhDBs04BFlOinc
|
||||||
|
v4UWes0gOqJy6HosZQ8/yqx68x4DLIL9RA3fEKi8PLQ
|
||||||
|
-> ssh-ed25519 T/DpgA CBy65h4QW/WIwf0FgbHqozqixKe2vsBKr34gorqhsBo
|
||||||
|
BJzaZ8BuPFlY3BAdqgn8SuqK2AcDnBhx5wJ8N02Wf4M
|
||||||
|
-> ssh-ed25519 qMgRFg i9Z+qD7U2uy1uqbRhecD7OdK9vQU65ynUeSkktOgjBs
|
||||||
|
rLFOAfWD5Z07EH/Wk+eG0+QpSBJXrn99UGTtAfdtQL0
|
||||||
|
-> ssh-ed25519 dMZXNw 4KKkxVh48JQ0RwJbAzuvsNIyJqBujwbI4IgXa0dwjEs
|
||||||
|
s9l2PmQVghLW0IBY2wWrACjNKggKgBl445/anfCiqv4
|
||||||
|
-> ssh-ed25519 +shbwg hY/Ug6N/cSqpTkID+NGEPq5VFFZsD/6pj8R2n7YLNng
|
||||||
|
AIe+oNND1F4HCFhkIDnyCO/QzW8UqvuCZ+C+pskOP04
|
||||||
|
-> ssh-ed25519 70Nt2Q 03k/+/zGVGwBhrY3aDepKa/qI7taJeT5k0aMRkOl1xI
|
||||||
|
Pjp17x4BIGlHfH03HoymYc7ngBlFhjHmg3cClxZwv5k
|
||||||
|
--- KB6upBqymAgaEUmoZ43yY69RMRKP/0ut4N+5jnorXro
|
||||||
|
1܇;<3B>Xθ<58><01>duU\$<24>,<2C>Ƌ<EFBFBD><12>E^Ri<52>D<EFBFBD><44><01><>BL<42><06>Ͱ!<21>K8<4B><38>z<EFBFBD>Y<0B>I<EFBFBD>"<0B>y2<16><><EFBFBD>E<EFBFBD>+
|
||||||
|
<EFBFBD><EFBFBD>h<EFBFBD><EFBFBD>Y<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>tD<EFBFBD>
|
||||||
|
6 <20>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><<3C><><EFBFBD><EFBFBD>9<EFBFBD><39><EFBFBD><EFBFBD>FԖ[fb<66><62>C<EFBFBD>
|
||||||
20
secrets/caddy_porkbun_api_env.age
Normal file
20
secrets/caddy_porkbun_api_env.age
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q HLv7VwiVXzh/uYmcwjMa0eZw7sJ+QDd1O2pKELLwi3s
|
||||||
|
Gv05590x4magr/A8oi1yAwFrwEZ5VXK1jFl8ojLabng
|
||||||
|
-> ssh-ed25519 Bp5IaA yuIBqQ+wKpMH9tOOXG8sWF8dVrElBtAAtIFv27XiZlU
|
||||||
|
+LYw0xUKS8340E0e3B9z3ijydbM/EJk4jEXqToOl4Uk
|
||||||
|
-> ssh-ed25519 T/DpgA ZVI8HGiPa0L8ACjz3L/qCFjShimO2xlF1iEJ8D+VNUo
|
||||||
|
jUqRKYaNLzNUAHj3U7lGEhJjHYp6Zge3pX9ogv7OTzs
|
||||||
|
-> ssh-ed25519 qMgRFg kWK3YMixuoNaCLvfqvxkIyVt7X/Fe1RnTU+9LgxyH3I
|
||||||
|
lv4DI+XrKOU89bdR1VEFv7BtMMKOaQCVkG1ntENDhOQ
|
||||||
|
-> ssh-ed25519 dMZXNw +A8bV+j+yrc6PurfbawA1cXwJFoW+SK7IMZvE62TkH4
|
||||||
|
fvawY41qd1/mj6yvYcl3j0hOEhao+rCyCVSOki8Xh2E
|
||||||
|
-> ssh-ed25519 +shbwg kbmKDfoo+Vh5EBxENBHfrBjP1cW9YjOEhPnMSSrspQU
|
||||||
|
2n0w1x/ZdpZBSJteCjNnleA3Am6xukaXGieBtfINYxk
|
||||||
|
-> ssh-ed25519 70Nt2Q F17IHEPl6iZKRIwRkZbtE9ekNobZf3uF8E47gZzM5QE
|
||||||
|
2poTmZo+Tkpsq0f5SigLajIaw3Ug+roWvkRZIJRd7vA
|
||||||
|
-> ssh-ed25519 YAvvLw 33rh0onpSuvq5RBZIOdb9vHKqxqFBYMVZ9tRQlwB9A0
|
||||||
|
FbALwt60o6hj4B/fPlVqBKOW9BPv04H+z2/mz+3pYK8
|
||||||
|
--- 1OPzsgbGklGa39hKcitpdDhUAhiy3U83PSh1OKNHP9Y
|
||||||
|
9<EFBFBD>XM<>PH<05><1D>1<><31>Y<EFBFBD>,M<>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b<><62>2<EFBFBD>ɍR<C98D><03><><EFBFBD>0<EFBFBD>3<EFBFBD><33>5<EFBFBD>^h⫍
|
||||||
|
<EFBFBD><EFBFBD><EFBFBD>rix[d<><64>M<EFBFBD><0C>6<1B>l<EFBFBD><6C>;P,<2C>nX6@N~<7E><>iȃ<69>i2<69><32><16>o<EFBFBD><6F>
|
||||||
19
secrets/danflix_env_file.age
Normal file
19
secrets/danflix_env_file.age
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q ffwMqZJLmL0Liq7hbLi6VxlOWs4MGYEXwQfzlz8UIk8
|
||||||
|
NOEzAl0dtRjKu7Fa+M2lK+hKA01nGJI7rLsp5wY23s4
|
||||||
|
-> ssh-ed25519 Bp5IaA mAvPbcRrBFeNx5KDi3Wvg2znSKoDQRprRU87UEtGolw
|
||||||
|
wavKPW0pceKtNEPjrpm6ME4dL83iY51NEcNXPBqiTGQ
|
||||||
|
-> ssh-ed25519 T/DpgA AuNVM6nulH1/4XILIBaIeg5R27hi7EPZLwIj3Sd6eRs
|
||||||
|
knPUWlIyEQTCaAWcH+BaZMscQxUu6GKDi0a51d/TeXg
|
||||||
|
-> ssh-ed25519 qMgRFg KnjOL8+AX0gSSPaQFR/ucRTWEHRo0QeM5txuThx9J1w
|
||||||
|
4el7Eftb87dy4GQaH4F9jA2EunXUcAKHQFWU9lM3v2E
|
||||||
|
-> ssh-ed25519 dMZXNw XnrQPPNB1xad7t/AOgU5TXhtEeXf1AV3ZbIti+DvMmE
|
||||||
|
x62z4ZbXCeN7HBn4MiSkBRKaoTC9hitf9Ktft0Eez1U
|
||||||
|
-> ssh-ed25519 +shbwg uTTR1Lf7Y2EQsYTGEskjRAJlm275xI3I/2fTTW7tpBw
|
||||||
|
QRFcEq6HKXdhsINrNc5JWi7YbjSPW6Tzg5AqVP0++4E
|
||||||
|
-> ssh-ed25519 70Nt2Q nkKIu9WgEsb0Oi76oyrCoONYQcBcY+wtaRmYH6HrshU
|
||||||
|
QO9qDH13wV9SRXjbEzauxreuK4Zs85MhEq5WNf2F88o
|
||||||
|
-> ssh-ed25519 YAvvLw el91vp7yefRCnRSi9X21I0hPxiQJQG2vmHQcq3Rggi0
|
||||||
|
MeGFtkqNuvQyelHePKBN5R3kI9HvWBJKzYeUJaw6XwU
|
||||||
|
--- RW3q/KPRYhBZOBU7HhHRwPhV14LtOkClG1l43BvujGA
|
||||||
|
:}*<2A><><06>Rj1<6A>t<EFBFBD><74><EFBFBD>OwЙ<77>[I{<7B>g֣Dh<44><0E><>=<3D><><EFBFBD>DRS0ߐB[<5B><><EFBFBD><13><>!%<25><0C>[<5B>R!<21><><EFBFBD><EFBFBD>=&<26>T<EFBFBD><54>'M`d<><64><EFBFBD><EFBFBD>E<EFBFBD><45><EFBFBD><7F><EFBFBD><EFBFBD>ԙ<EFBFBD>=(d<><64><EFBFBD>#<23><><EFBFBD>Z<EFBFBD>Q<EFBFBD>49<34>a\<5C>p<EFBFBD><70><06>+P2(<28>p<EFBFBD><70><04><>Z%<25>$<24><>ޙC<>wS<77>F<EFBFBD><46><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ư<EFBFBD>|kD<6B><44>ҡzH<7A><48>V8<56><38>Q<EFBFBD>Un<55>X1}Nj<4E>˄?<1C><0F><><EFBFBD>|
|
||||||
BIN
secrets/danflix_hetzner_storage_box_pub_key.age
Normal file
BIN
secrets/danflix_hetzner_storage_box_pub_key.age
Normal file
Binary file not shown.
BIN
secrets/danflix_rclone_config.age
Normal file
BIN
secrets/danflix_rclone_config.age
Normal file
Binary file not shown.
BIN
secrets/danflix_storage_box_crypt_obscured_pw.age
Normal file
BIN
secrets/danflix_storage_box_crypt_obscured_pw.age
Normal file
Binary file not shown.
17
secrets/danflix_storage_box_crypt_pw.age
Normal file
17
secrets/danflix_storage_box_crypt_pw.age
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q DkvqMZR4rAohR1WJlrCf+scaLWmNnx4mrrpgcqD7gmc
|
||||||
|
nwqDls/jnivUBmxLzYdcGnWSpKa8DsvSyK0liIQ+wEY
|
||||||
|
-> ssh-ed25519 Bp5IaA czaim73JnR6W+IxYafvYffYH1gKeHNYG3ADk6Ca2vDk
|
||||||
|
LaGtGNeIlTl3h0W550q96FxVI7Fck/eZ0x6S+9kEW78
|
||||||
|
-> ssh-ed25519 T/DpgA uvJRphdkclhfMX+9LgBhgy1cftqwFuq3+5sfJiDdIic
|
||||||
|
745R5UFsFjnqrqObeNyAAXSbEqjjb9dabvUROrV+gRk
|
||||||
|
-> ssh-ed25519 qMgRFg wNQxgCkIj1siNkJs9LfOd3KEx0fAvulACdL750boti8
|
||||||
|
bR8o6gcCL4HdElSbRrjrilphwGtYaAxTNV/L3nMBw/4
|
||||||
|
-> ssh-ed25519 dMZXNw yKvxiUeyY/sXlQWbMNFoR3LUEkIVRxVq8Si5BHRQw20
|
||||||
|
KpBldK1O/1BcZ09GouMWPtKbzWwChlATGvRlTZ/JPWk
|
||||||
|
-> ssh-ed25519 +shbwg z6bYYoy9SkF1LSVHpPJXujhF7lH8jsB6hOg908elpmc
|
||||||
|
et4d4F1Aid7f1TKcoEGrHOOScgBwgSwGyRAsjtxYKkk
|
||||||
|
-> ssh-ed25519 70Nt2Q wqR+O1nWUqC2vCjSCF1/JWerZ9njpYbBrXusm0A2xzU
|
||||||
|
cBoOmd7wIX7DhsiDKiC/xc4k1ieiJ4MB/gNShGax9d4
|
||||||
|
--- zJ+CdN6Qu8l0+5tCDKz0ZZLwhthLZD3DmWfgL536eS4
|
||||||
|
<EFBFBD> @V <20><><15>]-<2D><1E>pe<03>d}r1<72><31><EFBFBD>I_9<5F><<3C>=<3D><><EFBFBD><EFBFBD>Z<EFBFBD>@<40><><EFBFBD><EFBFBD><EFBFBD><12>n<1A>3<EFBFBD>ў<><D19E>*e<><65><EFBFBD><07>}<7D>-<2D><>:B<><42><EFBFBD>KX<4B>
|
||||||
Binary file not shown.
@@ -1,20 +0,0 @@
|
|||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 eYYv1Q NfUs85CEft9jTh44fnAnN/PcdOQ2mdEByoNkyUCNrWQ
|
|
||||||
MvA9BA3RoV2DRovXvlJzbY1E5lXdNSvkV82gtNCh6PA
|
|
||||||
-> ssh-ed25519 Bp5IaA lSrjQhwuY8ZiwVC82azl8rqN0/WasK4ZGRq9ohWDAVQ
|
|
||||||
CPBY/Eq7MJ6Em+h6ro3HtfRqn9gn5BR3z//dA+SHjxw
|
|
||||||
-> ssh-ed25519 T/DpgA cv9z3Ihe/GydTPMSXXiNFxNFQwVYyZBDO1TVGCygoAo
|
|
||||||
t4yCcPpM2Z7sqN55GbXUuLE0hvD7jXU1dCqOHcDT400
|
|
||||||
-> ssh-ed25519 qMgRFg jAcoxq4wyu8rYQGrt/rKUFSwp0Hz4QL4asEuJdA6nl0
|
|
||||||
K+bqqoheMofX+iwcZYCE4Y558m/kzqUHyieaDQ8jJgw
|
|
||||||
-> ssh-ed25519 dMZXNw imeVQpYX9guxDPulzYYeHedYxZsmTngy+jgpQulRo1Y
|
|
||||||
kpYgC6nzrhZsXkYHAl1273fwZ345towB1K84riX+Y+Q
|
|
||||||
-> ssh-ed25519 GzHGXw fgC690PsBF/lgRF9zwZqhvRkrK9Pm65tcZUWKzxookE
|
|
||||||
haaWg3MNhKl1+CodRS+4MzwRVsKgVaox/Kf2YnmBNVY
|
|
||||||
-> ssh-ed25519 70Nt2Q 46a4VTEFv80jOpVl/54J3sJhBUS4G1XqrAoPReb3gjs
|
|
||||||
ihr26HDZ40F6WJEqJmQgkjAUnnrz0Tc0ck26yLW0wOY
|
|
||||||
-> @c_kw-grease Au)%'xOy C/ A$Rd
|
|
||||||
X7eu3QrQyKDn
|
|
||||||
--- pqgV/pzN+qsLtrbL2382/1056D925Ko5y5Oe3vwWmoc
|
|
||||||
<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>3<>|<7C><><EFBFBD>wzb<7A><62>I<EFBFBD>0/<2F>:U<>.m(/<<3C>x<EFBFBD>P<03><><19><>o<EFBFBD><19><>U0<>\
|
|
||||||
<EFBFBD>'p;
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 eYYv1Q IGdoQqDAFgxgWVlqEpZJvG9gE2KCKoXpMmvburw8Fhk
|
|
||||||
66QE8kwl63xnvYj7nwmT6qR6Jj8fCfrzf/iAB7U+AU4
|
|
||||||
-> ssh-ed25519 Bp5IaA n3lgDi3bCV0t/TOjqdsNTRxnAlCs0GxoPPjpnaeIrzQ
|
|
||||||
Ip98hCbmz4W8+NY85DWv/nHHmLANfwo0rNaI2N6N0kQ
|
|
||||||
-> ssh-ed25519 T/DpgA VGDYHrof8rh7WTZ3DOrTIVcfyKkVbLJTL8bDDSfS4C8
|
|
||||||
3o3A3jfTL8L0dbpv9Xe3Oy93U3XkkjhRX0tqQtSZDtw
|
|
||||||
-> ssh-ed25519 qMgRFg Jchcic5fvRBviRtbdUyMl76Ea0aGW/7tRWkTt2habAg
|
|
||||||
91DpFYKWqA4rawbzkEEkLNRay352vkuU0srVBwYFkco
|
|
||||||
-> ssh-ed25519 dMZXNw Sa+BZdY+YLrlQkX7G7VSF/k6oVAVo17zSgXbq1OiqR8
|
|
||||||
xu894gtzqTFNDyvzwtejNw3WkMnVQLcpIaVF0CgVODI
|
|
||||||
-> ssh-ed25519 GzHGXw 2WNPWILkiCseWMN5GHpfNs9T566GV6dUxqse+YVXTSA
|
|
||||||
W1MT/CHcZKefKb+7UK8PWwDP0cDCOU1JKpiXTk0vY10
|
|
||||||
-> ssh-ed25519 70Nt2Q QnL9dyxLSG64ncFRCoLOEWtBI1y0qRDj0a0TESW4bXY
|
|
||||||
kHHQA72guLb7YYbU7/CTawylq1uNzcgNRwpS2z2WzeA
|
|
||||||
-> hg3-grease
|
|
||||||
O2O1JT79k6zrpiuexN5i/1eP5cTzjOPjHS3BCvprA/JxSxUNrV+a1RFFmLb6OTad
|
|
||||||
8cR0wG66tw6xaYQLvxWiKCzh2AqXkQ
|
|
||||||
--- tkk6rwRnFGtrrl6Z0kDoqS/NPV4hFhlKvwJ52zGuy+U
|
|
||||||
B<><42><EFBFBD>]$So<><6F>e(kV8ca<63><61><EFBFBD>LG<4C><47>(<28>ȗF<C897><10><><EFBFBD>Y<EFBFBD>mɒ<6D>h<EFBFBD><68>1<10>ď<13>y<15><><EFBFBD><18>L<EFBFBD><1F>ѩzJ!gD<67>{n<>U
|
|
||||||
<EFBFBD>N0<1A>
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 eYYv1Q HzNRL7zq6Lrum/2tHKjacsv1Y0LlXmgOZNWLXAk2lWg
|
|
||||||
no6sDeinVG3TPu3UVOEDauVrHqmJGzMgHB6Dr6UNrDE
|
|
||||||
-> ssh-ed25519 Bp5IaA 9UvpQHut2BFiXIkR+q1A/Ik4AYvwghddk9Fi5+rw4mM
|
|
||||||
Zs/ggJfYh/epVFRiJEnvICceCnlZBifeGLRDI/Eosj0
|
|
||||||
-> ssh-ed25519 T/DpgA k40Cb32UbfjsApxi0ccO4u8xP12uWpTot02BSCUvP08
|
|
||||||
LfXJLsRtNklus14Pg3TsDt9MMbRi9SrH7uvefK9Hxso
|
|
||||||
-> ssh-ed25519 qMgRFg iS9incss6tduf58gxdA8R5dqnwpXFy9PB8ZwNVWbvyc
|
|
||||||
e4KTD8Z4fUeaLAiqKGQXi/AIkyjlYEUNraHSB+TFhiM
|
|
||||||
-> ssh-ed25519 dMZXNw DKMC+uCWkUEOF2fFL6o41UuggAzcWHwM5TwYzw+5sjQ
|
|
||||||
zu/YdI+pzudPH7azRqwmDvf81m48EZYK9c3UcVPTaVI
|
|
||||||
-> ssh-ed25519 GzHGXw OX7ylQzBuyzErkhOpiUrBPhlGx/TrAgK5KuI6yEo4EY
|
|
||||||
DxeylfaVBkDEWxxRz3KCr5UZsREfqXwoAnC5tAdyFL4
|
|
||||||
-> ssh-ed25519 70Nt2Q pcGNeTUV7utxnH5a4H78YOvr8cpORGkQ7p8hh569zz4
|
|
||||||
STlbScxYbWXV3B8T+2PSiLfGkjKudkXwkRG67ZHlwtE
|
|
||||||
-> s-grease
|
|
||||||
FHLY7TFsme9Wd43MaAzpXiolSX0
|
|
||||||
--- b2uVM8dc8IXnmG4fb/DjApdEJ3yngTDN8d7J0mbYYYw
|
|
||||||
B<EFBFBD>љ<><13><>V<><56><EFBFBD><19><>EM<45><4D>N<EFBFBD>M<EFBFBD>=ݫ<>?]<5D><>A%<01><><EFBFBD><EFBFBD><EFBFBD>5<05>2/<2F>Xv5`[
|
|
||||||
19
secrets/gitea_actions_runner_token.age
Normal file
19
secrets/gitea_actions_runner_token.age
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 eYYv1Q NT/I7M2advY0rxFGH1wf2fS6131Ey2WsO+0lbHt0RTI
|
||||||
|
S8P3ev5JgbIAYTBLsX5HCTeaf2aGUc5FpceG6RruVec
|
||||||
|
-> ssh-ed25519 Bp5IaA DUNGRltZxtHuQISWvpdwN7NE9oWK/jYzyNuCNY9BwlM
|
||||||
|
q+B+BSRscrB05a2vzIOllHgwwsAw5ksjhaWyj2voqRU
|
||||||
|
-> ssh-ed25519 T/DpgA wqIIQl4g4DnpH9hBoQGfmP8fTIYipkybPQOWP4NmKTM
|
||||||
|
3aitfrlKD4HXik+pELBz3TiM7ktfpoKXcoiP2zbaS1M
|
||||||
|
-> ssh-ed25519 qMgRFg 0RJ2GTE21a2FgZgKZnb4i+70lmZdzqIHBAqyy6uZK1o
|
||||||
|
pecEVAN7+Y6dEXpY1Xz/SPWi1MVZx3rH9+YC0JUmNfo
|
||||||
|
-> ssh-ed25519 dMZXNw eSSiM/impi/GBNv8zzOzTnRwoR68mvr6o24kai6IDUw
|
||||||
|
VnJgTwJACdcsCgGzavaTn7bvb2VR9lvoJrEuQbx/aFs
|
||||||
|
-> ssh-ed25519 +shbwg uZaKYv0qROENTDHPlBT+LssNVFsA+BJznONnM0ap3Xg
|
||||||
|
6shNfpwayPdm0rmiKxmgSSQTt68fP2HxLrNC/thpvxs
|
||||||
|
-> ssh-ed25519 70Nt2Q OHAh0XRwfpYbeGs6MtOO1qx4FtmTN3B/IfYjhXIGlAg
|
||||||
|
hzJxbNQJZxmAeGhisVfTmzgR+P2mDDegackb5z7psFc
|
||||||
|
-> ssh-ed25519 YAvvLw 4ZznIEadBPmHkN/i4+P2xiGrIfaLe9J8va/xuQY8slE
|
||||||
|
k1BgyixkYxJxbKi/GxCHi15sAEjhzI/29oxrT56qtPo
|
||||||
|
--- HHCsUeX+Y2A6NkA2c0RfShW/DylAZkbEGMiR6lpht18
|
||||||
|
<EFBFBD>rS;<3B><>?HƊpiPF<50>Lu.2@JN<4A>,v<><76><EFBFBD>xK<><4B><EFBFBD>cʱ<63>e<EFBFBD><65>zR<7A>8d<38><64>V<EFBFBD>\<5C> <20>)<29><<08>^4<>j<EFBFBD><6A>$<24>c<EFBFBD><17><><EFBFBD>F<EFBFBD>+
|
||||||
Binary file not shown.
@@ -1,20 +1,19 @@
|
|||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 eYYv1Q 6I/C6kd0F8pPX1bIZ8f5ZTyddBqnLz835S/Q3o4ocVE
|
-> ssh-ed25519 eYYv1Q DqaKeDDz87lxpd5vMK4bcnq/3S7V116rZ6TdWMHNMjI
|
||||||
/dhM7FwPWEzyQCcUCw0CdCyt1J5oz0Ly7em7yZGxs2k
|
XUe76IIiS6vZ+WuX/geMimGr6VBQvZCU0xgGV+Juhh8
|
||||||
-> ssh-ed25519 Bp5IaA bnm7aVEatMbr76zpxqUCyCzEqn9ArmdwkjteA+auAQc
|
-> ssh-ed25519 Bp5IaA T1I5f0biigGMBg4YXGZF3WiY1X1N+3fh1zbwo/8UuHM
|
||||||
pLVxYtYdBVeCp3dMp9LTTLX/CLDUyBAv23hi7Aj4pD8
|
oksdQ76Ag6LpXy8cfezQPOxxvy/qZkzhmTy9sqNItqw
|
||||||
-> ssh-ed25519 T/DpgA mE97Fpws6KenlNQ8Hs/Csi0dY4GvB0z8LcwCmsM7PDA
|
-> ssh-ed25519 T/DpgA 9qc1fni0oFqFeE3l0pCAdHyMtn+pPOnH23rn8qVbPFE
|
||||||
N9Ap8u8qeeukvDM30pxwRok+pjs5i9Z/lQylOkaNTAs
|
2POXvcfNW2zXzBu7QCbGEw4pqGj8aTrHIfczPWl5RpI
|
||||||
-> ssh-ed25519 qMgRFg G0qEsVQNj0Z7rCglx81fmUr09AGbjJpgxW9UWmjGZh4
|
-> ssh-ed25519 qMgRFg q9M8wnO9MsaWpM941pwVaFF2RwKeON2cW+n8s8uRDBA
|
||||||
sgLx9+u+JAP9dH0F+xptRUQWJxRzL0ACTW/fbxyJ9ZE
|
R9fwzp6S4L8cFXaFi5Du+GcQickV0+SOU/b7Q8Nyrfc
|
||||||
-> ssh-ed25519 dMZXNw 8OuNPpD/GBa/UnxLTyTbiH02GTl+ZgL2/X9m8fR/FHg
|
-> ssh-ed25519 dMZXNw Aphy90he30P6uyIJdvpiegBncnBNIoMpahg2XYrOPCU
|
||||||
M+Qaldh0wGRFO4kiNyuw/ui0LsaNBqORfmbbuPFQcpA
|
1BroEQo4SHy11PwVcTluq7XM7DZql+LfZX4DxWCPHBY
|
||||||
-> ssh-ed25519 GzHGXw jNvSCxiYW4psZhdiFk36jXQigcFijAqfhjSi0YUT6y4
|
-> ssh-ed25519 +shbwg XX8o4B57nZ5teIicWs1LJysdM/irTe3wUpegSia2P2E
|
||||||
SqHCmEEUseX8XjOEH/QdFi8jX/6DyNGgm6yOHf5tEJM
|
Wh+vzzl2f+vO7KNIex/UY4wcEtmq7NG0z4I5OtUfiGM
|
||||||
-> ssh-ed25519 70Nt2Q D9lDPhjAJ6ntkg2VAys7MU3honDEAFzk+n3FPsjoARs
|
-> ssh-ed25519 GzHGXw 5rV4pXv5FpnOAGUkLcmFUnUwJv2xqh6NkbNUsPOhtlE
|
||||||
8F4p2DcD/JyxKZuzLMuuumY+0yAQjsAQfQhqvtbn/CY
|
wMHuKNeCXcz8e3zG1RaLQA6hKo7Cg/E6h7FfLUkQKuQ
|
||||||
-> j6O-grease v A$M=
|
-> ssh-ed25519 70Nt2Q N3MFptnU524HZBZrmzsHtATJWT/H2xegBQMr+0NS134
|
||||||
l9GAg+AXTZEc44390C60kR5df+XK283KeRlPR+JAthfe7MvF/NJ4cqF5TlqZo0AU
|
Ta1AszHsbQhzqqPfCePaOB8fT1OJQMzpoPCAKDM9J2E
|
||||||
AHmkD0k
|
--- VkzSldNpvwIE4KGzPt+CVOHsXylmJ/L3KdjMlPgVfVI
|
||||||
--- mUKNXFOZ36jA7vuAB+7CbAVrV6lYuUeKnOt8TJz/QR8
|
<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ae<08><11><>?0<><30><EFBFBD><EFBFBD>h<EFBFBD><15>zT<7A><54>x"<22><> <20>l<EFBFBD>P<EFBFBD><12><><02><><EFBFBD>Ӄ<EFBFBD><D383><EFBFBD>Q`<60><><EFBFBD>C<EFBFBD><43><EFBFBD>p<1D>2<EFBFBD><32>#35<33><35>
|
||||||
<EFBFBD><EFBFBD>Ė:<3A>1<EFBFBD><11>&9İ<39><C4B0>-<15><>?<3F><>4.<2E><><EFBFBD><0B>!ex<><78>I<EFBFBD>%<25>j<EFBFBD>O<EFBFBD>C5e%p<>N<EFBFBD>I<18><><EFBFBD>G<EFBFBD><47><EFBFBD><10><><EFBFBD>;<3B><><EFBFBD>`6
|
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 eYYv1Q LZwJmlO0K8OZBQcBp2KiirS6dOi0MI4QL3KZJAbSlSA
|
-> ssh-ed25519 eYYv1Q RIMmsWmolEIOQUGgoIQRlmjTWqDLQYInJbPVeB7f/wU
|
||||||
VN9IF2McXP7T576+HMnC/H8rBQPeuiFViCXKYVTYGxM
|
06vZZhfXi1zqHznmbub9/wqsE8XvTlULe181cCz1oFc
|
||||||
-> ssh-ed25519 Bp5IaA V9hkpjVVQlfB7jHbxHWcrDtXBAFsQdZM+wq8XB8hrHM
|
-> ssh-ed25519 Bp5IaA LdaP3AOLKqGe3ala1UGFf0e7EThr9ptn4qUYzYSktz8
|
||||||
40DsgVRpRxwnhTuc+KY9W5DAP2er4f4gwUS3XFSsP1Y
|
c/6py1I4vJOtmoNRjm/99nlWax+J5pdMhh1GUzpIsMQ
|
||||||
-> ssh-ed25519 T/DpgA YyovZ4r5p2Y0b0YMB3ybtj7RGa6YJIaCQvS4N8ACy30
|
-> ssh-ed25519 T/DpgA xvmg2ZQwPzUM9J6C0ggBPoRbW5R0w92unR3+W6dyo0M
|
||||||
bdWFxWQcgIbNspUSwtiytErZ105fQtvTmNazsprzVpU
|
lNDyhV3PBS56HDXrTECTdcHUVb2rSNA3GsirYdxjhN4
|
||||||
-> ssh-ed25519 qMgRFg I3+nfZVN7qNUUDpoLt7/lrlhH1dacQAoMyTeLbypD1s
|
-> ssh-ed25519 qMgRFg OLu/nzVnSnB6PdI5ZO0Nfp0Ga8ekWa5sWmqXhwYQ5VQ
|
||||||
SJspcVYfX6HuRH9lsAsnt8FR/n3J99Bax1dj/CC4dnA
|
x2LlyRBvB0Pw2yYi43KXeHUgJQ25OQEIX65L8wmcXz4
|
||||||
-> ssh-ed25519 dMZXNw 8rZ8Z/3IM9mkI2K/SuHsga96jsZ50Mw1nGiR3IGQVwc
|
-> ssh-ed25519 dMZXNw m3ydHsFKsxmbA3e6jcLVoZV60Y+OLmoOb4d05DQQsDU
|
||||||
CDzSdHl+xQktP8p5enfaKS9zxJaTdf6YcgXbVbQMrmc
|
MDOCsqlPc9rR3d0+sDbv0tPxr+hX3Kpc+E2HfZo87uo
|
||||||
-> ssh-ed25519 GzHGXw dP0X4HBhvAMw+6JoA0jT76jyjyykrzHwSvYub6Rskmg
|
-> ssh-ed25519 +shbwg eQnubQCP4+mjipTkxIrIEZ8rboOy2A/T5MWLe4Txz0w
|
||||||
2wgzuGKxv8SFz1DrMfAsHcvtprOqWEo8mporTPwhrVE
|
Y6GEm6UZDegoPuUXxbK/LkrqZBY86rHt475anCnoFxg
|
||||||
-> ssh-ed25519 70Nt2Q 5FfUOwKURR9Zv/uXaqWDzQF7Ms0xkdINA1Rz02tZ4Cs
|
-> ssh-ed25519 GzHGXw Z8Ut75VgG0ttf2LLjgfUb9TbxpW8nfSTLvx7FJoXDA0
|
||||||
+MqPawyZvwCZUEcN2/5nZt/Zwf59jm8h0BFsHyWUX9k
|
pjfgN5XokETssMCbolQ0nr2+4sTa1C0+oxg4IUIEgVw
|
||||||
-> n<90Kr$R-grease 2
|
-> ssh-ed25519 70Nt2Q Vmm5Dw+N8OVT9JawsVnYoC1FIOX7bKEb54Gb1cYMFC8
|
||||||
uQ51BhliS5bfdIO2YS68nlf4lS5oVSfqXFIGoVhHO0cwuh6cckL4aqNim/S3uNRf
|
/FNGoN4CbLahBtxj8zaNRjE7wM/3hXVJSFsfP0AJxc8
|
||||||
/J/a482wMBY2gchhnG2qyhH/UF8
|
--- HOnH0WA6bQZ0y9HEjgzmOo+P3hRosz1fM5tRVrYZ09A
|
||||||
--- 3UkEGyyoK/ejTo6/0rB8BvzBt0P/JnqubGZUIIjF+eY
|
<EFBFBD>,<2C>
|
||||||
<EFBFBD>A9Q}<>[<5B><><EFBFBD><EFBFBD><EFBFBD>,Hf<>-<2D>{^<5E><>@^<5E><><EFBFBD><EFBFBD>nb@<40><><EFBFBD><EFBFBD>C<EFBFBD><43>#d<>}X1<58><31><EFBFBD><EFBFBD>n<EFBFBD>+
|
<EFBFBD>9<EFBFBD><1A><03>Or4<72><34><EFBFBD><EFBFBD>ǔխ<17>H<>ě7<C49B>pkR<1E>+m<><0B>w<16>RS<02>)<29>&
|
||||||
@@ -4,7 +4,8 @@ let
|
|||||||
user3 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP0Ps8eEFIkLe863bisGvSIVXZqedp9z5AC8RKyvZtcA me@danielpatterson.dev";
|
user3 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP0Ps8eEFIkLe863bisGvSIVXZqedp9z5AC8RKyvZtcA me@danielpatterson.dev";
|
||||||
user4 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOjVwYfjyZ7kd7idwfGNtS62VKAc34WIsjQvypMe0d8N dingserver";
|
user4 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOjVwYfjyZ7kd7idwfGNtS62VKAc34WIsjQvypMe0d8N dingserver";
|
||||||
user5 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZKWq5v1xkK2d7D4lmwDKjdAHbWd+agXQCuMyjkzDEh daniel@dingserver";
|
user5 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZKWq5v1xkK2d7D4lmwDKjdAHbWd+agXQCuMyjkzDEh daniel@dingserver";
|
||||||
users = [user1 user2 user3 user4 user5];
|
user6 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIISn5FKNwsQtesuWbxSu8k+3o5inlDphDahq8URyGxzc daniel@ranni";
|
||||||
|
users = [user1 user2 user3 user4 user5 user6];
|
||||||
|
|
||||||
# dingbox
|
# dingbox
|
||||||
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKvWmwFd0xZcF0HcyhmemvT5Q8rHOW/fQ56IoLSVAljv root@nixos";
|
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKvWmwFd0xZcF0HcyhmemvT5Q8rHOW/fQ56IoLSVAljv root@nixos";
|
||||||
@@ -14,7 +15,9 @@ let
|
|||||||
system3 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMzy0KqakqljVqgA4lvfTt65cikgPOKFvBXF0WS0LxGP root@pingbox";
|
system3 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMzy0KqakqljVqgA4lvfTt65cikgPOKFvBXF0WS0LxGP root@pingbox";
|
||||||
# bigding
|
# bigding
|
||||||
system4 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINxzzoExkmb0kP+6OS2omcoa8xe1ETc+FAhU5gBuBUDR root@bigding";
|
system4 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINxzzoExkmb0kP+6OS2omcoa8xe1ETc+FAhU5gBuBUDR root@bigding";
|
||||||
systems = [system1 system2 system3 system4];
|
# ranni
|
||||||
|
system5 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII8aTDf4ue+ug3acFaN/3oU2UddC2WKFdj/QV/78b5jB root@ranni";
|
||||||
|
systems = [system1 system2 system3 system4 system5];
|
||||||
in {
|
in {
|
||||||
"rclone_password1.age".publicKeys = users ++ [system2 system4];
|
"rclone_password1.age".publicKeys = users ++ [system2 system4];
|
||||||
"rclone_password2.age".publicKeys = users ++ [system2 system4];
|
"rclone_password2.age".publicKeys = users ++ [system2 system4];
|
||||||
@@ -24,4 +27,14 @@ in {
|
|||||||
"dungflix_crypt_remote_pass.age".publicKeys = users ++ [system2 system4];
|
"dungflix_crypt_remote_pass.age".publicKeys = users ++ [system2 system4];
|
||||||
"age_identity.age".publicKeys = users ++ [system1 system3];
|
"age_identity.age".publicKeys = users ++ [system1 system3];
|
||||||
"minisign_private_key.age".publicKeys = users ++ [system1 system3];
|
"minisign_private_key.age".publicKeys = users ++ [system1 system3];
|
||||||
|
"bigding_backup_s3_creds.age".publicKeys = users ++ [system4];
|
||||||
|
"bigding_backup_repo_password.age".publicKeys = users ++ [system4];
|
||||||
|
"sendmail_email_key_gitea.age".publicKeys = users ++ [system4 system5];
|
||||||
|
"gitea_actions_runner_token.age".publicKeys = users ++ [system4 system5];
|
||||||
|
"danflix_hetzner_storage_box_pub_key.age".publicKeys = users ++ [system4 system5];
|
||||||
|
"danflix_storage_box_crypt_pw.age".publicKeys = users ++ [system4];
|
||||||
|
"danflix_storage_box_crypt_obscured_pw.age".publicKeys = users ++ [system4];
|
||||||
|
"danflix_env_file.age".publicKeys = users ++ [system4 system5];
|
||||||
|
"danflix_rclone_config.age".publicKeys = users ++ [system4 system5];
|
||||||
|
"caddy_porkbun_api_env.age".publicKeys = users ++ [system4 system5];
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
secrets/sendmail_email_key_gitea.age
Normal file
BIN
secrets/sendmail_email_key_gitea.age
Normal file
Binary file not shown.
11
users/configs/desktop/default.nix
Normal file
11
users/configs/desktop/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{config, ...}: {
|
||||||
|
imports = [
|
||||||
|
# ./i3
|
||||||
|
# ./i3status-rust
|
||||||
|
# ./polybar
|
||||||
|
./river
|
||||||
|
./sway
|
||||||
|
./tofi
|
||||||
|
./waybar
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -64,7 +64,7 @@ in {
|
|||||||
fonts = {
|
fonts = {
|
||||||
size = 11.0;
|
size = 11.0;
|
||||||
};
|
};
|
||||||
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs /home/daniel/.config/i3status-rust/config-main.toml";
|
# statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs /home/daniel/.config/i3status-rust/config-main.toml";
|
||||||
position = "top";
|
position = "top";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -205,14 +205,14 @@ in {
|
|||||||
modifier = mod;
|
modifier = mod;
|
||||||
|
|
||||||
startup = [
|
startup = [
|
||||||
{
|
# {
|
||||||
command = "$HOME/bin/scripts/flower";
|
# command = "$HOME/bin/scripts/flower";
|
||||||
always = true;
|
# always = true;
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
command = "feh --bg-fill $HOME/wallpapers/wallpaper.jpg";
|
# command = "feh --bg-fill $HOME/wallpapers/wallpaper.jpg";
|
||||||
always = false;
|
# always = false;
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
|
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
79
users/configs/desktop/river/default.nix
Normal file
79
users/configs/desktop/river/default.nix
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wlr-randr
|
||||||
|
];
|
||||||
|
wayland.windowManager.river = {
|
||||||
|
enable = false;
|
||||||
|
package = pkgs.river.overrideAttrs (finalAttrs: previousAttrs: {
|
||||||
|
version = "2024-11-04";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitea {
|
||||||
|
domain = "codeberg.org";
|
||||||
|
owner = "river";
|
||||||
|
repo = "river";
|
||||||
|
rev = "14e941bae16b1ca478c32198c131c4297157f888";
|
||||||
|
hash = "sha256-uACc9Cb1tSw3I0fMlEMX74NfU+Tg3It74tb+nc51AZ4=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
(pkgs.lib.lists.remove pkgs.wlroots_0_16 previousAttrs.buildInputs)
|
||||||
|
++ [
|
||||||
|
pkgs.wlroots
|
||||||
|
pkgs.makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
previousAttrs.postInstall
|
||||||
|
+ ''
|
||||||
|
wrapProgram "$out/bin/river" --set WLR_NO_HARDWARE_CURSORS 1 --set WLR_RENDERER vulkan
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
|
extraConfig =
|
||||||
|
(builtins.readFile ./${hostname})
|
||||||
|
+ ''
|
||||||
|
riverctl map normal $MAINMOD D spawn 'tofi-drun --drun-launch=true'
|
||||||
|
riverctl map normal $MAINMOD Return spawn 'kitty'
|
||||||
|
riverctl map normal $MAINMOD+Shift p exit
|
||||||
|
riverctl map normal $MAINMOD q close
|
||||||
|
riverctl map normal $MAINMOD escape spawn 'swaylock -i ~/wallpapers/lock.png'
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD l focus-view next
|
||||||
|
riverctl map normal $MAINMOD h focus-view previous
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD m swap next
|
||||||
|
riverctl map normal $MAINMOD COMMA swap previous
|
||||||
|
|
||||||
|
riverctl map -repeat normal None XF86AudioLowerVolume spawn 'wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-'
|
||||||
|
riverctl map -repeat normal None XF86AudioRaiseVolume spawn 'wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+'
|
||||||
|
riverctl map normal None XF86AudioMute spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
||||||
|
|
||||||
|
riverctl map -repeat normal None XF86MonBrightnessUp spawn 'xbacklight -inc 10'
|
||||||
|
riverctl map -repeat normal None XF86MonBrightnessDown spawn 'xbacklight -dec 10'
|
||||||
|
|
||||||
|
riverctl spawn rivertile
|
||||||
|
riverctl default-layout rivertile
|
||||||
|
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' accel-profile flat
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' natural-scroll enabled
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' tap enabled
|
||||||
|
|
||||||
|
riverctl keyboard-layout -options caps:escape gb
|
||||||
|
|
||||||
|
for i in $(seq 1 9); do
|
||||||
|
tags=$((1 << ($i - 1)))
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD $i set-focused-tags $tags
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD+Shift $i toggle-view-tags $tags
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
3
users/configs/desktop/river/pingbox
Normal file
3
users/configs/desktop/river/pingbox
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
MAINMOD="Super"
|
||||||
|
|
||||||
|
wlr-randr --output eDP-1 --scale 1.33
|
||||||
3
users/configs/desktop/river/sidon
Normal file
3
users/configs/desktop/river/sidon
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
MAINMOD="Control+Alt+Shift"
|
||||||
|
|
||||||
|
wlr-randr --output DP-2 --pos 0,0 --output HDMI-A-2 --pos 3840,0
|
||||||
188
users/configs/desktop/sway/default.nix
Normal file
188
users/configs/desktop/sway/default.nix
Normal file
@@ -0,0 +1,188 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
mod = "Mod4";
|
||||||
|
hyper = "Control+Shift+Mod1";
|
||||||
|
in {
|
||||||
|
home = {
|
||||||
|
file = {
|
||||||
|
"bin/swayutils" = {
|
||||||
|
source = ../../../../scripts/swayutils;
|
||||||
|
executable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.sway = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
startup = [
|
||||||
|
{command = "swaybg -i ~/wallpapers/wallpaper.jpg";}
|
||||||
|
];
|
||||||
|
bars = [
|
||||||
|
{
|
||||||
|
command = "waybar";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
input = {
|
||||||
|
"*" = {
|
||||||
|
xkb_layout = "gb";
|
||||||
|
xkb_options = "caps:escape";
|
||||||
|
tap = "enabled";
|
||||||
|
natural_scroll =
|
||||||
|
if hostname == "sidon"
|
||||||
|
then "disabled"
|
||||||
|
else "enabled";
|
||||||
|
};
|
||||||
|
"type:pointer" = {
|
||||||
|
accel_profile = "flat";
|
||||||
|
natural_scroll = "disabled";
|
||||||
|
pointer_accel = "0.1";
|
||||||
|
};
|
||||||
|
"type:touchpad" = {
|
||||||
|
scroll_factor = "0.5";
|
||||||
|
natural_scroll = "enabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
output = if hostname == "sidon"
|
||||||
|
then {
|
||||||
|
DP-3 = {
|
||||||
|
position = "0 600";
|
||||||
|
scale = "1.33";
|
||||||
|
};
|
||||||
|
HDMI-A-1 = {
|
||||||
|
position = "2880 0";
|
||||||
|
scale = "1.33";
|
||||||
|
transform = "270";
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
eDP-1 = {
|
||||||
|
scale = "1.33";
|
||||||
|
};
|
||||||
|
DP-3 = {
|
||||||
|
position = "0 0";
|
||||||
|
scale = "1.33";
|
||||||
|
};
|
||||||
|
DP-4 = {
|
||||||
|
position = "2880 0";
|
||||||
|
scale = "1.33";
|
||||||
|
};
|
||||||
|
HDMI-A-1 = {
|
||||||
|
position = "2880 0";
|
||||||
|
scale = "1.33";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
workspaceOutputAssign = [
|
||||||
|
{
|
||||||
|
output = "HDMI-A-1";
|
||||||
|
workspace = "1";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
output = "DP-3";
|
||||||
|
workspace = "2";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
modifier = mod;
|
||||||
|
keybindings = {
|
||||||
|
"${mod}+Return" = "exec ghostty";
|
||||||
|
"${mod}+q" = "kill";
|
||||||
|
"${mod}+d" = "exec tofi-drun --drun-launch=true";
|
||||||
|
"${hyper}+Return" = "exec ghostty";
|
||||||
|
"${hyper}+q" = "kill";
|
||||||
|
"${hyper}+d" = "exec tofi-drun --drun-launch=true";
|
||||||
|
|
||||||
|
"${mod}+Shift+s" = "exec grim -g \"$(slurp)\"";
|
||||||
|
|
||||||
|
"${mod}+Shift+Space" = "floating toggle";
|
||||||
|
"${hyper}+Shift+Space" = "floating toggle";
|
||||||
|
"${mod}+Space" = "focus mode_toggle";
|
||||||
|
# "${hyper}+Space" = "focus mode_toggle";
|
||||||
|
|
||||||
|
"${mod}+h" = "focus left";
|
||||||
|
"${mod}+j" = "focus down";
|
||||||
|
"${mod}+k" = "focus up";
|
||||||
|
"${mod}+l" = "focus right";
|
||||||
|
|
||||||
|
"${hyper}+h" = "focus left";
|
||||||
|
"${hyper}+j" = "focus down";
|
||||||
|
"${hyper}+k" = "focus up";
|
||||||
|
"${hyper}+l" = "focus right";
|
||||||
|
|
||||||
|
"${mod}+Left" = "movewindow left";
|
||||||
|
"${mod}+Up" = "movewindow up";
|
||||||
|
"${mod}+Down" = "movewindow down";
|
||||||
|
"${mod}+Right" = "movewindow right";
|
||||||
|
|
||||||
|
"${hyper}+Left" = "movewindow left";
|
||||||
|
"${hyper}+Up" = "movewindow up";
|
||||||
|
"${hyper}+Down" = "movewindow down";
|
||||||
|
"${hyper}+Right" = "movewindow right";
|
||||||
|
|
||||||
|
"${mod}+Shift+h" = "exec ${config.home.homeDirectory}/bin/swayutils move prev";
|
||||||
|
"${mod}+Shift+l" = "exec ${config.home.homeDirectory}/bin/swayutils move next";
|
||||||
|
|
||||||
|
"${mod}+Control+h" = "exec ${config.home.homeDirectory}/bin/swayutils focus prev";
|
||||||
|
"${mod}+Control+l" = "exec ${config.home.homeDirectory}/bin/swayutils focus next";
|
||||||
|
|
||||||
|
"${hyper}+u" = "exec ${config.home.homeDirectory}/bin/swayutils move prev";
|
||||||
|
"${hyper}+i" = "exec ${config.home.homeDirectory}/bin/swayutils move next";
|
||||||
|
|
||||||
|
"${hyper}+m" = "exec ${config.home.homeDirectory}/bin/swayutils focus prev";
|
||||||
|
"${hyper}+Comma" = "exec ${config.home.homeDirectory}/bin/swayutils focus next";
|
||||||
|
|
||||||
|
"${hyper}+y" = "move left";
|
||||||
|
"${hyper}+o" = "move right";
|
||||||
|
|
||||||
|
"${mod}+Tab" = "workspace back_and_forth";
|
||||||
|
"${hyper}+Tab" = "workspace back_and_forth";
|
||||||
|
|
||||||
|
"${mod}+b" = "split h";
|
||||||
|
"${mod}+v" = "split v";
|
||||||
|
|
||||||
|
"${hyper}+b" = "split h";
|
||||||
|
"${hyper}+v" = "split v";
|
||||||
|
|
||||||
|
"${mod}+p" = "scratchpad show, resize set 80 ppt 80ppt, move position center";
|
||||||
|
"${hyper}+p" = "scratchpad show, resize set 80 ppt 80ppt, move position center";
|
||||||
|
|
||||||
|
"${mod}+Escape" = "exec swaylock -i ~/wallpapers/lock.png";
|
||||||
|
"${hyper}+Escape" = "exec swaylock -i ~/wallpapers/lock.png";
|
||||||
|
|
||||||
|
"${hyper}+f" = "fullscreen toggle";
|
||||||
|
|
||||||
|
"XF86AudioLowerVolume" = "exec wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-";
|
||||||
|
"XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
"XF86AudioRaiseVolume" = "exec wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+";
|
||||||
|
|
||||||
|
"XF86MonBrightnessUp" = "exec xbacklight -inc 10";
|
||||||
|
"XF86MonBrightnessDown" = "exec xbacklight -dec 10";
|
||||||
|
"XF86AudioPrev" = "exec playerctl previous";
|
||||||
|
"XF86AudioPlay" = "exec playerctl play-pause";
|
||||||
|
"XF86AudioNext" = "exec playerctl next";
|
||||||
|
|
||||||
|
"${mod}+Shift+0" = "move container to workspace 0";
|
||||||
|
"${mod}+Shift+1" = "move container to workspace 1";
|
||||||
|
"${mod}+Shift+2" = "move container to workspace 2";
|
||||||
|
"${mod}+Shift+3" = "move container to workspace 3";
|
||||||
|
"${mod}+Shift+4" = "move container to workspace 4";
|
||||||
|
"${mod}+Shift+5" = "move container to workspace 5";
|
||||||
|
"${mod}+Shift+6" = "move container to workspace 6";
|
||||||
|
"${mod}+Shift+7" = "move container to workspace 7";
|
||||||
|
"${mod}+Shift+8" = "move container to workspace 8";
|
||||||
|
"${mod}+Shift+9" = "move container to workspace 9";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
bindgesture swipe:3:right exec ${config.home.homeDirectory}/bin/swayutils focus prev
|
||||||
|
bindgesture swipe:3:left exec ${config.home.homeDirectory}/bin/swayutils focus next
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
24
users/configs/desktop/tofi/default.nix
Normal file
24
users/configs/desktop/tofi/default.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
tofi
|
||||||
|
];
|
||||||
|
|
||||||
|
home.file.".config/tofi/config".text = ''
|
||||||
|
font = ${pkgs.iosevka}/share/fonts/truetype/iosevka-regular.ttf
|
||||||
|
font-size = 16
|
||||||
|
hint-font = false
|
||||||
|
|
||||||
|
text-color = #cad3f5
|
||||||
|
background-color = #24273a
|
||||||
|
|
||||||
|
selection-color = #24273a
|
||||||
|
selection-background = #a6da95
|
||||||
|
|
||||||
|
outline-width = 0
|
||||||
|
border-width = 3
|
||||||
|
border-color = #a6da95
|
||||||
|
|
||||||
|
corner-radius = 15
|
||||||
|
|
||||||
|
'';
|
||||||
|
}
|
||||||
91
users/configs/desktop/waybar/config.json
Normal file
91
users/configs/desktop/waybar/config.json
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"modules-left": [
|
||||||
|
"sway/workspaces",
|
||||||
|
"sway/window"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"backlight",
|
||||||
|
"pulseaudio/slider",
|
||||||
|
"pulseaudio",
|
||||||
|
"network",
|
||||||
|
"battery",
|
||||||
|
"tray"
|
||||||
|
],
|
||||||
|
"wlr/taskbar": {
|
||||||
|
"format": "{icon} {title}"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"tooltip-format": "{ipaddr}",
|
||||||
|
"format-wifi": "{icon} {essid}",
|
||||||
|
"format-ethernet": " {ifname}",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sway/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"urgent": "",
|
||||||
|
"active": "",
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
"disable-scroll-wraparound": true,
|
||||||
|
"disable-markup": false,
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"DP-2": ["sidebar"],
|
||||||
|
"HDMI-A-2": [2,3,4,5,6]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"format-alt": "{:%a, %d. %b %H:%M:%S}"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-muted": " MUTED",
|
||||||
|
"format-icons": {
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max-volume": 100,
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,5 +10,8 @@
|
|||||||
settings = {
|
settings = {
|
||||||
main = lib.importJSON ./config.json;
|
main = lib.importJSON ./config.json;
|
||||||
};
|
};
|
||||||
|
style = ./style.css;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".config/waybar/macchiato.css".source = ./macchiato.css;
|
||||||
}
|
}
|
||||||
37
users/configs/desktop/waybar/macchiato.css
Normal file
37
users/configs/desktop/waybar/macchiato.css
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* Catppuccin Mocha palette
|
||||||
|
* Maintainer: rubyowo
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
@define-color base #24273a;
|
||||||
|
@define-color mantle #1e2030;
|
||||||
|
@define-color crust #181926;
|
||||||
|
|
||||||
|
@define-color text #cad3f5;
|
||||||
|
@define-color subtext0 #a5adcb;
|
||||||
|
@define-color subtext1 #b8c0e0;
|
||||||
|
|
||||||
|
@define-color surface0 #363a4f;
|
||||||
|
@define-color surface1 #494d64;
|
||||||
|
@define-color surface2 #5b6078;
|
||||||
|
|
||||||
|
@define-color overlay0 #6e738d;
|
||||||
|
@define-color overlay1 #8087a2;
|
||||||
|
@define-color overlay2 #939ab7;
|
||||||
|
|
||||||
|
@define-color blue #8aadf4;
|
||||||
|
@define-color lavender #b7bdf8;
|
||||||
|
@define-color sapphire #7dc4e4;
|
||||||
|
@define-color sky #91d7e3;
|
||||||
|
@define-color teal #8bd5ca;
|
||||||
|
@define-color green #a6da95;
|
||||||
|
@define-color yellow #eed49f;
|
||||||
|
@define-color peach #f5a97f;
|
||||||
|
@define-color maroon #ee99a0;
|
||||||
|
@define-color red #ed8796;
|
||||||
|
@define-color mauve #c6a0f6;
|
||||||
|
@define-color pink #f5bde6;
|
||||||
|
@define-color flamingo #f0c6c6;
|
||||||
|
@define-color rosewater #f4dbd6;
|
||||||
77
users/configs/desktop/waybar/style.css
Normal file
77
users/configs/desktop/waybar/style.css
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
@import "macchiato.css";
|
||||||
|
|
||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 10px;
|
||||||
|
font-family: "Iosevka Nerd Font Propo", "Font Awesome";
|
||||||
|
font-size: 16px;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
margin-top: 5px;
|
||||||
|
background: @base;
|
||||||
|
color: @text;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
color: @text;
|
||||||
|
border-bottom: 2px solid @base;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button label {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
|
||||||
|
background: @surface0;
|
||||||
|
border-color: @surface1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: @green;
|
||||||
|
background: @surface1;
|
||||||
|
border-color: currentcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging {
|
||||||
|
color: @base;
|
||||||
|
background: @green;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.discharging {
|
||||||
|
color: @base;
|
||||||
|
background: @yellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray, #battery, #backlight, #pulseaudio, #network {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.ethernet, #network.wifi {
|
||||||
|
color: @base;
|
||||||
|
background: @blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disabled, #network.disconnected {
|
||||||
|
color: @base;
|
||||||
|
background: @red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: @base;
|
||||||
|
background: @green;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
background: @red;
|
||||||
|
}
|
||||||
10
users/configs/system/default.nix
Normal file
10
users/configs/system/default.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./ghostty
|
||||||
|
./helix
|
||||||
|
./kitty
|
||||||
|
./nb
|
||||||
|
./nvim
|
||||||
|
./wezterm
|
||||||
|
];
|
||||||
|
}
|
||||||
33
users/configs/system/ghostty/config
Normal file
33
users/configs/system/ghostty/config
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
font-family = Iosevka Nerd Font
|
||||||
|
font-size = 12
|
||||||
|
|
||||||
|
theme = catppuccin-macchiato
|
||||||
|
|
||||||
|
cursor-style = block
|
||||||
|
|
||||||
|
shell-integration-features = no-cursor
|
||||||
|
|
||||||
|
window-theme = ghostty
|
||||||
|
window-decoration = false
|
||||||
|
working-directory = home
|
||||||
|
|
||||||
|
unfocused-split-opacity = 1
|
||||||
|
|
||||||
|
keybind = ctrl+shift+enter>ctrl+shift+h=new_split:left
|
||||||
|
keybind = ctrl+shift+enter>ctrl+shift+l=new_split:right
|
||||||
|
keybind = ctrl+shift+enter>ctrl+shift+k=new_split:up
|
||||||
|
keybind = ctrl+shift+enter>ctrl+shift+j=new_split:down
|
||||||
|
keybind = ctrl+shift+enter>h=new_split:left
|
||||||
|
keybind = ctrl+shift+enter>l=new_split:right
|
||||||
|
keybind = ctrl+shift+enter>k=new_split:up
|
||||||
|
keybind = ctrl+shift+enter>j=new_split:down
|
||||||
|
|
||||||
|
keybind = ctrl+shift+f=toggle_split_zoom
|
||||||
|
keybind = ctrl+shift+h=goto_split:left
|
||||||
|
keybind = ctrl+shift+l=goto_split:right
|
||||||
|
keybind = ctrl+shift+k=goto_split:top
|
||||||
|
keybind = ctrl+shift+j=goto_split:bottom
|
||||||
|
|
||||||
|
keybind = ctrl+shift+m=toggle_tab_overview
|
||||||
|
|
||||||
|
keybind = ctrl+shift+alt+r=reset
|
||||||
14
users/configs/system/ghostty/default.nix
Normal file
14
users/configs/system/ghostty/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.file.".config/ghostty/config" = {
|
||||||
|
source = ./config;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
22
users/configs/system/helix/config/config.toml
Normal file
22
users/configs/system/helix/config/config.toml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
theme = "catppuccin_custom"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
cursorline = true
|
||||||
|
bufferline = "always"
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
insert = "bar"
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
auto-signature-help = false
|
||||||
|
|
||||||
|
[keys.normal.space]
|
||||||
|
"space" = "file_picker"
|
||||||
|
|
||||||
|
[keys.normal.space.b]
|
||||||
|
d = ":buffer-close"
|
||||||
|
b = "buffer_picker"
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
L = "goto_next_buffer"
|
||||||
|
H = "goto_previous_buffer"
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
inherits = "catppuccin_macchiato"
|
||||||
|
|
||||||
|
"namespace" = { fg = "yellow" }
|
||||||
|
|
||||||
|
"variable.other.member" = "peach"
|
||||||
|
|
||||||
|
"string.special.symbol" = { fg = "flamingo" }
|
||||||
|
"string.special" = { fg = "pink" }
|
||||||
|
|
||||||
|
"attribute" = { fg = "teal", modifiers = ["italic"] }
|
||||||
81
users/configs/system/kitty/catppuccin.conf
Normal file
81
users/configs/system/kitty/catppuccin.conf
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
# vim:ft=kitty
|
||||||
|
|
||||||
|
## name: Catppuccin Kitty Macchiato
|
||||||
|
## author: Catppuccin Org
|
||||||
|
## license: MIT
|
||||||
|
## upstream: https://github.com/catppuccin/kitty/blob/main/macchiato.conf
|
||||||
|
## blurb: Soothing pastel theme for the high-spirited!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# The basic colors
|
||||||
|
foreground #CAD3F5
|
||||||
|
background #24273A
|
||||||
|
selection_foreground #24273A
|
||||||
|
selection_background #F4DBD6
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
cursor #F4DBD6
|
||||||
|
cursor_text_color #24273A
|
||||||
|
|
||||||
|
# URL underline color when hovering with mouse
|
||||||
|
url_color #F4DBD6
|
||||||
|
|
||||||
|
# Kitty window border colors
|
||||||
|
active_border_color #B7BDF8
|
||||||
|
inactive_border_color #6E738D
|
||||||
|
bell_border_color #EED49F
|
||||||
|
|
||||||
|
# OS Window titlebar colors
|
||||||
|
wayland_titlebar_color system
|
||||||
|
macos_titlebar_color system
|
||||||
|
|
||||||
|
# Tab bar colors
|
||||||
|
active_tab_foreground #181926
|
||||||
|
active_tab_background #C6A0F6
|
||||||
|
inactive_tab_foreground #CAD3F5
|
||||||
|
inactive_tab_background #1E2030
|
||||||
|
tab_bar_background #181926
|
||||||
|
tab_bar_margin_color #181926
|
||||||
|
|
||||||
|
# Colors for marks (marked text in the terminal)
|
||||||
|
mark1_foreground #24273A
|
||||||
|
mark1_background #B7BDF8
|
||||||
|
mark2_foreground #24273A
|
||||||
|
mark2_background #C6A0F6
|
||||||
|
mark3_foreground #24273A
|
||||||
|
mark3_background #7DC4E4
|
||||||
|
|
||||||
|
# The 16 terminal colors
|
||||||
|
|
||||||
|
# black
|
||||||
|
color0 #494D64
|
||||||
|
color8 #5B6078
|
||||||
|
|
||||||
|
# red
|
||||||
|
color1 #ED8796
|
||||||
|
color9 #ED8796
|
||||||
|
|
||||||
|
# green
|
||||||
|
color2 #A6DA95
|
||||||
|
color10 #A6DA95
|
||||||
|
|
||||||
|
# yellow
|
||||||
|
color3 #EED49F
|
||||||
|
color11 #EED49F
|
||||||
|
|
||||||
|
# blue
|
||||||
|
color4 #8AADF4
|
||||||
|
color12 #8AADF4
|
||||||
|
|
||||||
|
# magenta
|
||||||
|
color5 #F5BDE6
|
||||||
|
color13 #F5BDE6
|
||||||
|
|
||||||
|
# cyan
|
||||||
|
color6 #8BD5CA
|
||||||
|
color14 #8BD5CA
|
||||||
|
|
||||||
|
# white
|
||||||
|
color7 #B8C0E0
|
||||||
|
color15 #A5ADCB
|
||||||
102
users/configs/system/kitty/default.nix
Normal file
102
users/configs/system/kitty/default.nix
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
wrap_gl = program: let
|
||||||
|
name = lib.strings.getName program.name;
|
||||||
|
in
|
||||||
|
pkgs.symlinkJoin {
|
||||||
|
name = name;
|
||||||
|
paths = [
|
||||||
|
(pkgs.writeShellScriptBin name ''
|
||||||
|
${pkgs.nixgl.nixGLIntel}/bin/nixGLIntel ${program}/bin/${name} $@
|
||||||
|
'')
|
||||||
|
program
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
package =
|
||||||
|
if hostname == "deck"
|
||||||
|
then (wrap_gl pkgs.kitty)
|
||||||
|
else pkgs.kitty;
|
||||||
|
in {
|
||||||
|
home.file.".config/kitty/catppuccin.conf" = {
|
||||||
|
source = ./catppuccin.conf;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
s = "kitty +kitten ssh";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font = {
|
||||||
|
name = "Iosevka Nerd Font";
|
||||||
|
};
|
||||||
|
package = package;
|
||||||
|
keybindings = {
|
||||||
|
# Windows/Panes
|
||||||
|
"kitty_mod+enter" = "new_window_with_cwd";
|
||||||
|
|
||||||
|
"kitty_mod+h" = "neighboring_window left";
|
||||||
|
"kitty_mod+j" = "neighboring_window down";
|
||||||
|
"kitty_mod+k" = "neighboring_window up";
|
||||||
|
"kitty_mod+l" = "neighboring_window right";
|
||||||
|
|
||||||
|
"kitty_mod+r" = "start_resizing_window";
|
||||||
|
|
||||||
|
# Layouts
|
||||||
|
"kitty_mod+n" = "goto_layout tall:full_size=${
|
||||||
|
if hostname == "pingbox"
|
||||||
|
then "1"
|
||||||
|
else "2"
|
||||||
|
}";
|
||||||
|
"kitty_mod+m" = "goto_layout fat";
|
||||||
|
|
||||||
|
# Tabs
|
||||||
|
"kitty_mod+t" = "new_tab";
|
||||||
|
"kitty_mod+w" = "close_tab";
|
||||||
|
"kitty_mod+f" = "toggle_layout stack";
|
||||||
|
|
||||||
|
"kitty_mod+left" = "previous_tab";
|
||||||
|
"kitty_mod+right" = "next_tab";
|
||||||
|
|
||||||
|
# Clipboard
|
||||||
|
"ctrl+shift+c" = "copy_to_clipboard";
|
||||||
|
"ctrl+shift+v" = "paste_from_clipboard";
|
||||||
|
|
||||||
|
# Font Size
|
||||||
|
"kitty_mod+equal" = "change_font_size current +2.0";
|
||||||
|
"kitty_mod+minus" = "change_font_size current -2.0";
|
||||||
|
"kitty_mod+backspace" = "change_font_size current 0";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
"include" = "catppuccin.conf";
|
||||||
|
"scrollback_lines" = 50000;
|
||||||
|
|
||||||
|
"shell_integration" = "enabled no-cursor";
|
||||||
|
|
||||||
|
"allow_remote_control" = "yes";
|
||||||
|
|
||||||
|
"cursor_shape" = "underline";
|
||||||
|
"cursor_blink_interval" = 0;
|
||||||
|
|
||||||
|
"disable_ligatures" = "always";
|
||||||
|
|
||||||
|
"enabled_layouts" = "tall,fat,stack";
|
||||||
|
|
||||||
|
"enable_audio_bell" = "no";
|
||||||
|
|
||||||
|
"tab_bar_margin_width" = "10";
|
||||||
|
"tab_bar_margin_height" = "0 1";
|
||||||
|
|
||||||
|
"tab_bar_edge" = "top";
|
||||||
|
"tab_bar_style" = "powerline";
|
||||||
|
"tab_powerline_style" = "slanted";
|
||||||
|
|
||||||
|
"clear_all_shortcuts" = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
12
users/configs/system/nb/default.nix
Normal file
12
users/configs/system/nb/default.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
ack
|
||||||
|
bat
|
||||||
|
imagemagick
|
||||||
|
nb
|
||||||
|
nmap
|
||||||
|
pandoc
|
||||||
|
ripgrep
|
||||||
|
w3m
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -58,7 +58,7 @@ let-env NU_PLUGIN_DIRS = [
|
|||||||
($nu.config-path | path dirname | path join 'plugins')
|
($nu.config-path | path dirname | path join 'plugins')
|
||||||
]
|
]
|
||||||
|
|
||||||
let-env EDITOR = "hx"
|
let-env EDITOR = "nvim"
|
||||||
|
|
||||||
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
||||||
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
|
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
|
||||||
20
users/configs/system/nvim/default.nix
Normal file
20
users/configs/system/nvim/default.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{pkgs, ...}: let
|
||||||
|
nvim = pkgs.stdenv.mkDerivation {
|
||||||
|
name = "nvim";
|
||||||
|
src = pkgs.fetchFromGitea {
|
||||||
|
domain = "git.broccoli.town";
|
||||||
|
owner = "dp";
|
||||||
|
repo = "nvim";
|
||||||
|
rev = "c25c1db32f9a6e441e142553cc7a4774e3293c64";
|
||||||
|
hash = "sha256-dxFHAO1f9AL95llgi1b+A0Is9BXemq/7Ab6mFj/XcM0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r * $out/
|
||||||
|
rm $out/lazy-lock.json
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
programs.neovim.enable = true;
|
||||||
|
}
|
||||||
11
users/configs/system/wezterm/default.nix
Normal file
11
users/configs/system/wezterm/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.wezterm = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{config, ...}: {
|
|
||||||
imports = [
|
|
||||||
# ./i3
|
|
||||||
# ./i3status-rust
|
|
||||||
# ./polybar
|
|
||||||
./hyprland
|
|
||||||
./waybar
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".age/age.txt" = {
|
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "/run/agenix/age_identity";
|
|
||||||
};
|
|
||||||
".minisign/minisign.key" = {
|
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "/run/agenix/minisign_private_key";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
hostname,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
swaybg
|
|
||||||
];
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".config/hypr/macchiato.conf" = {
|
|
||||||
source = ./macchiato.conf;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.hyprland;
|
|
||||||
xwayland = {
|
|
||||||
enable = true;
|
|
||||||
hidpi = true;
|
|
||||||
};
|
|
||||||
nvidiaPatches = true;
|
|
||||||
extraConfig = (builtins.readFile ./${hostname}.conf) + (builtins.readFile ./hyprland.conf);
|
|
||||||
};
|
|
||||||
|
|
||||||
services.mako = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
monitor=,preferred,auto,1.25
|
|
||||||
|
|
||||||
$mainMod = CTRL + SHIFT + ALT
|
|
||||||
|
|
||||||
bind = $mainMod + SUPER, Q, exit,
|
|
||||||
bind = $mainMod, M, workspace, -1
|
|
||||||
bind = $mainMod, comma, workspace, +1
|
|
||||||
@@ -1,157 +0,0 @@
|
|||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
|
||||||
exec-once = waybar
|
|
||||||
exec-once = swaybg -i ~/wallpapers/wallpaper.jpg
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
# source = ~/.config/hypr/myColors.conf
|
|
||||||
source = ./macchiato.conf
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
input {
|
|
||||||
kb_layout = gb
|
|
||||||
kb_variant =
|
|
||||||
kb_model =
|
|
||||||
kb_options = caps:escape
|
|
||||||
kb_rules =
|
|
||||||
|
|
||||||
follow_mouse = 2
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = yes
|
|
||||||
middle_button_emulation = yes
|
|
||||||
scroll_factor = 0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
accel_profile = flat
|
|
||||||
sensitivity = 0.5 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
}
|
|
||||||
|
|
||||||
general {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 10
|
|
||||||
border_size = 2
|
|
||||||
col.active_border = $green
|
|
||||||
col.inactive_border = rgba(595959aa)
|
|
||||||
|
|
||||||
layout = dwindle
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
rounding = 10
|
|
||||||
blur = yes
|
|
||||||
blur_size = 3
|
|
||||||
blur_passes = 1
|
|
||||||
blur_new_optimizations = on
|
|
||||||
|
|
||||||
drop_shadow = yes
|
|
||||||
shadow_range = 4
|
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = rgba(1a1a1aee)
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = yes
|
|
||||||
|
|
||||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
|
||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
|
||||||
|
|
||||||
animation = windows, 1, 3, myBezier
|
|
||||||
animation = windowsOut, 1, 3, default, popin 80%
|
|
||||||
animation = border, 1, 3, default
|
|
||||||
animation = borderangle, 1, 3, default
|
|
||||||
animation = fade, 1, 3, default
|
|
||||||
animation = workspaces, 1, 3, default
|
|
||||||
}
|
|
||||||
|
|
||||||
dwindle {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
||||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = yes # you probably want this
|
|
||||||
}
|
|
||||||
|
|
||||||
master {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
||||||
new_is_master = true
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
workspace_swipe = off
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
||||||
device:epic mouse V1 {
|
|
||||||
sensitivity = -0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
||||||
bind = $mainMod, return, exec, kitty
|
|
||||||
bind = $mainMod, Q, killactive,
|
|
||||||
bind = $mainMod, D, exec, wofi --show drun
|
|
||||||
bind = $mainMod SHIFT, S, exec, grim -g $(slurp)
|
|
||||||
|
|
||||||
# Move focus with mainMod + vim keys
|
|
||||||
bind = $mainMod, H, movefocus, l
|
|
||||||
bind = $mainMod, L, movefocus, r
|
|
||||||
bind = $mainMod, K, movefocus, u
|
|
||||||
bind = $mainMod, J, movefocus, d
|
|
||||||
|
|
||||||
# Move focus with mainMod + vim keys
|
|
||||||
bind = $mainMod, left, movewindow, l
|
|
||||||
bind = $mainMod, right, movewindow, r
|
|
||||||
bind = $mainMod, up, movewindow, u
|
|
||||||
bind = $mainMod, down, movewindow, d
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod, 6, workspace, 6
|
|
||||||
bind = $mainMod, 7, workspace, 7
|
|
||||||
bind = $mainMod, 8, workspace, 8
|
|
||||||
bind = $mainMod, 9, workspace, 9
|
|
||||||
bind = $mainMod, 0, workspace, 10
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
||||||
|
|
||||||
bind = $mainMod, U, movetoworkspace, -1
|
|
||||||
bind = $mainMod, I, movetoworkspace, +1
|
|
||||||
|
|
||||||
bind = $mainMod SHIFT, space, togglefloating,
|
|
||||||
|
|
||||||
binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
|
|
||||||
binde=, XF86MonBrightnessUp, exec, xbacklight -inc 10
|
|
||||||
binde=, XF86MonBrightnessDown, exec, xbacklight -dec 10
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
$rosewater = 0xfff4dbd6
|
|
||||||
$flamingo = 0xfff0c6c6
|
|
||||||
$pink = 0xfff5bde6
|
|
||||||
$mauve = 0xffc6a0f6
|
|
||||||
$red = 0xffed8796
|
|
||||||
$maroon = 0xffee99a0
|
|
||||||
$peach = 0xfff5a97f
|
|
||||||
$yellow = 0xffeed49f
|
|
||||||
$green = 0xffa6da95
|
|
||||||
$teal = 0xff8bd5ca
|
|
||||||
$sky = 0xff91d7e3
|
|
||||||
$sapphire = 0xff7dc4e4
|
|
||||||
$blue = 0xff8aadf4
|
|
||||||
$lavender = 0xffb7bdf8
|
|
||||||
|
|
||||||
$text = 0xffcad3f5
|
|
||||||
$subtext1 = 0xffb8c0e0
|
|
||||||
$subtext0 = 0xffa5adcb
|
|
||||||
|
|
||||||
$overlay2 = 0xff939ab7
|
|
||||||
$overlay1 = 0xff8087a2
|
|
||||||
$overlay0 = 0xff6e738d
|
|
||||||
|
|
||||||
$surface2 = 0xff5b6078
|
|
||||||
$surface1 = 0xff494d64
|
|
||||||
$surface0 = 0xff363a4f
|
|
||||||
|
|
||||||
$base = 0xff24273a
|
|
||||||
$mantle = 0xff1e2030
|
|
||||||
$crust = 0xff181926
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
monitor=,preferred,auto,1.5
|
|
||||||
|
|
||||||
$mainMod = SUPER
|
|
||||||
|
|
||||||
bind = $mainMod + SHIFT + CTRL, Q, exit,
|
|
||||||
bind = $mainMod + CTRL, H, workspace, -1
|
|
||||||
bind = $mainMod + CTRL, L, workspace, +1
|
|
||||||
bind = $mainMod + SHIFT, H, movetoworkspace, -1
|
|
||||||
bind = $mainMod + SHIFT, L, movetoworkspace, +1
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
"layer": "top",
|
|
||||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
|
||||||
"modules-center": ["clock"],
|
|
||||||
"modules-right": [
|
|
||||||
"backlight",
|
|
||||||
"pulseaudio",
|
|
||||||
"network",
|
|
||||||
"battery",
|
|
||||||
"tray"
|
|
||||||
],
|
|
||||||
"hyprland/window": {
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"bat": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"backlight": {
|
|
||||||
"format": "{percent}% {icon}",
|
|
||||||
"format-icons": ["", ""]
|
|
||||||
},
|
|
||||||
"wlr/workspaces": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
||||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
"format": "{icon} {volume}%",
|
|
||||||
"format-muted": "",
|
|
||||||
"format-icons": {
|
|
||||||
"default": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"max-volume": 100,
|
|
||||||
"on-click": "pavucontrol"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
./alacritty
|
|
||||||
./helix
|
|
||||||
./kitty
|
|
||||||
./neovim
|
|
||||||
./nushell
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
theme = "dracula"
|
|
||||||
|
|
||||||
[editor]
|
|
||||||
mouse = false
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
# Author : Sebastian Zivota <loewenheim@mailbox.org>
|
|
||||||
"comment" = { fg = "comment" }
|
|
||||||
"constant" = { fg = "purple" }
|
|
||||||
"constant.character.escape" = { fg = "pink" }
|
|
||||||
"function" = { fg = "green" }
|
|
||||||
"keyword" = { fg = "pink" }
|
|
||||||
"operator" = { fg = "pink" }
|
|
||||||
"punctuation" = { fg = "foreground" }
|
|
||||||
"string" = { fg = "yellow" }
|
|
||||||
"string.regexp" = { fg = "red" }
|
|
||||||
"tag" = { fg = "pink" }
|
|
||||||
"type" = { fg = "cyan", modifiers = ["italic"] }
|
|
||||||
"type.enum.variant" = { fg = "foreground", modifiers = ["italic"] }
|
|
||||||
"variable" = { fg = "foreground" }
|
|
||||||
"variable.builtin" = { fg = "cyan", modifiers = ["italic"] }
|
|
||||||
"variable.parameter" = { fg ="orange", modifiers = ["italic"] }
|
|
||||||
|
|
||||||
"diff.plus" = { fg = "green" }
|
|
||||||
"diff.delta" = { fg = "orange" }
|
|
||||||
"diff.minus" = { fg = "red" }
|
|
||||||
|
|
||||||
"ui.background" = { fg = "foreground", bg = "background" }
|
|
||||||
"ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] }
|
|
||||||
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
|
|
||||||
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifiers = ["dim"] }
|
|
||||||
"ui.help" = { fg = "foreground", bg = "background_dark" }
|
|
||||||
"ui.linenr" = { fg = "comment" }
|
|
||||||
"ui.linenr.selected" = { fg = "foreground" }
|
|
||||||
"ui.menu" = { fg = "foreground", bg = "background_dark" }
|
|
||||||
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
|
|
||||||
"ui.popup" = { fg = "foreground", bg = "background_dark" }
|
|
||||||
"ui.selection" = { fg = "background", bg = "purple", modifiers = ["dim"] }
|
|
||||||
"ui.selection.primary" = { fg = "background", bg = "pink" }
|
|
||||||
"ui.statusline" = { fg = "foreground", bg = "background_dark" }
|
|
||||||
"ui.statusline.inactive" = { fg = "comment", bg = "background_dark" }
|
|
||||||
"ui.text" = { fg = "foreground" }
|
|
||||||
"ui.text.focus" = { fg = "cyan" }
|
|
||||||
"ui.window" = { fg = "foreground" }
|
|
||||||
|
|
||||||
"error" = { fg = "red" }
|
|
||||||
"warning" = { fg = "cyan" }
|
|
||||||
|
|
||||||
[palette]
|
|
||||||
background = "#282a36"
|
|
||||||
background_dark = "#21222c"
|
|
||||||
foreground = "#f8f8f2"
|
|
||||||
comment = "#6272a4"
|
|
||||||
red = "#ff5555"
|
|
||||||
orange = "#ffb86c"
|
|
||||||
yellow = "#f1fa8c"
|
|
||||||
green = "#50fa7b"
|
|
||||||
purple = "#bd93f9"
|
|
||||||
cyan = "#8be9fd"
|
|
||||||
pink = "#ff79c6"
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
font = {
|
|
||||||
package = pkgs.iosevka;
|
|
||||||
name = "Iosevka Nerd Font Complete";
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
"include" = "catppuccin.conf";
|
|
||||||
"scrollback_lines" = 50000;
|
|
||||||
|
|
||||||
"shell_integration" = "enabled no-cursor";
|
|
||||||
|
|
||||||
"cursor_shape" = "underline";
|
|
||||||
"cursor_blink_interval" = 0;
|
|
||||||
|
|
||||||
"bold_font" = "Iosevka Nerd Font Complete Bold";
|
|
||||||
|
|
||||||
"disable_ligatures" = "always";
|
|
||||||
|
|
||||||
"enable_audio_bell" = "no";
|
|
||||||
# "foreground" = "#f8f8f2";
|
|
||||||
# "background" = "#282a36";
|
|
||||||
# "selection_foreground" = "#ffffff";
|
|
||||||
# "selection_background" = "#44475a";
|
|
||||||
#
|
|
||||||
# "url_color" = "#8be9fd";
|
|
||||||
#
|
|
||||||
# # black
|
|
||||||
# "color0" = "#21222c";
|
|
||||||
# "color8" = "#6272a4";
|
|
||||||
#
|
|
||||||
# # red
|
|
||||||
# "color1" = "#ff5555";
|
|
||||||
# "color9" = "#ff6e6e";
|
|
||||||
#
|
|
||||||
# # green
|
|
||||||
# "color2" = "#50fa7b";
|
|
||||||
# "color10" = "#69ff94";
|
|
||||||
#
|
|
||||||
# # yellow
|
|
||||||
# "color3" = "#f1fa8c";
|
|
||||||
# "color11" = "#ffffa5";
|
|
||||||
#
|
|
||||||
# # blue
|
|
||||||
# "color4" = "#bd93f9";
|
|
||||||
# "color12" = "#d6acff";
|
|
||||||
#
|
|
||||||
# # magenta
|
|
||||||
# "color5" = "#ff79c6";
|
|
||||||
# "color13" = "#ff92df";
|
|
||||||
#
|
|
||||||
# # cyan
|
|
||||||
# "color6" = "#8be9fd";
|
|
||||||
# "color14" = "#a4ffff";
|
|
||||||
#
|
|
||||||
# # white
|
|
||||||
# "color7" = "#f8f8f2";
|
|
||||||
# "color15" = "#ffffff";
|
|
||||||
#
|
|
||||||
# # Cursor colors
|
|
||||||
# "cursor" = "#f8f8f2";
|
|
||||||
# "cursor_text_color" = "background";
|
|
||||||
#
|
|
||||||
# # Tab bar colors
|
|
||||||
# "active_tab_foreground" = "#282a36";
|
|
||||||
# "active_tab_background" = "#f8f8f2";
|
|
||||||
# "inactive_tab_foreground" = "#282a36";
|
|
||||||
# "inactive_tab_background" = "#6272a4";
|
|
||||||
#
|
|
||||||
# # Marks
|
|
||||||
# "mark1_foreground" = "#282a36";
|
|
||||||
# "mark1_background" = "#ff5555";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -6,31 +6,20 @@
|
|||||||
headless,
|
headless,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
idea = with pkgs;
|
|
||||||
symlinkJoin {
|
|
||||||
name = "idea-ultimate";
|
|
||||||
paths = [
|
|
||||||
jetbrains.idea-ultimate
|
|
||||||
];
|
|
||||||
buildInputs = [makeWrapper];
|
|
||||||
postBuild = ''
|
|
||||||
wrapProgram $out/bin/idea-ultimate --prefix PATH : ${symlinkJoin {
|
|
||||||
name = "rust-toolchain";
|
|
||||||
paths = [rustc cargo rustfmt];
|
|
||||||
}}/bin
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
cliPackages = with pkgs; [
|
cliPackages = with pkgs; [
|
||||||
age
|
age
|
||||||
direnv
|
direnv
|
||||||
elixir
|
elixir_1_17
|
||||||
elixir_ls
|
elixir-ls
|
||||||
entr
|
entr
|
||||||
erlang
|
erlang_26
|
||||||
|
gnumake
|
||||||
go
|
go
|
||||||
gopls
|
gopls
|
||||||
|
jujutsu
|
||||||
|
lua-language-server
|
||||||
minisign
|
minisign
|
||||||
|
nb
|
||||||
nodejs
|
nodejs
|
||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
(
|
(
|
||||||
@@ -46,29 +35,39 @@
|
|||||||
)
|
)
|
||||||
restic
|
restic
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
senpai
|
||||||
unzip
|
unzip
|
||||||
zip
|
zip
|
||||||
|
zigpkgs."0.14.0"
|
||||||
|
zls
|
||||||
];
|
];
|
||||||
|
|
||||||
guiPackages = with pkgs; [
|
guiPackages = with pkgs; [
|
||||||
_1password
|
_1password-cli
|
||||||
_1password-gui
|
_1password-gui
|
||||||
|
calibre
|
||||||
|
deadbeef
|
||||||
discord
|
discord
|
||||||
feh
|
feh
|
||||||
|
fraunces
|
||||||
|
ghostty
|
||||||
|
# gimp
|
||||||
grim
|
grim
|
||||||
iosevka
|
iosevka
|
||||||
idea
|
inkscape
|
||||||
jellyfin-mpv-shim
|
# jellyfin-mpv-shim
|
||||||
mpv
|
mpv
|
||||||
obsidian
|
obsidian
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
slurp
|
slurp
|
||||||
|
source-code-pro
|
||||||
spotify
|
spotify
|
||||||
|
swaylock
|
||||||
udiskie
|
udiskie
|
||||||
|
wezterm
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wofi
|
|
||||||
xclip
|
xclip
|
||||||
zathura
|
zathura
|
||||||
];
|
];
|
||||||
@@ -77,10 +76,10 @@
|
|||||||
in {
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./configs/system
|
../configs/system
|
||||||
]
|
]
|
||||||
++ lib.optionals (!headless) [
|
++ lib.optionals (!headless) [
|
||||||
./configs/desktop
|
../configs/desktop
|
||||||
]
|
]
|
||||||
++ lib.optionals (builtins.pathExists ./host-specific/${hostname}) [
|
++ lib.optionals (builtins.pathExists ./host-specific/${hostname}) [
|
||||||
./host-specific/${hostname}
|
./host-specific/${hostname}
|
||||||
@@ -96,8 +95,6 @@ in {
|
|||||||
file = {
|
file = {
|
||||||
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
|
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
|
||||||
|
|
||||||
".rust".source = pkgs.rustPlatform.rustcSrc;
|
|
||||||
|
|
||||||
"bin/update" = {
|
"bin/update" = {
|
||||||
source = ../../scripts/update;
|
source = ../../scripts/update;
|
||||||
executable = true;
|
executable = true;
|
||||||
@@ -125,6 +122,10 @@ in {
|
|||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
emacs = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
@@ -158,17 +159,14 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
starship.enable = false;
|
starship.enable = true;
|
||||||
|
|
||||||
vscode.enable = true;
|
vscode.enable = true;
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
autosuggestion.enable = true;
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
if [ -n "$TMUX" ]; then
|
|
||||||
setopt ignoreeof
|
|
||||||
fi
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
'';
|
'';
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
|
|||||||
14
users/daniel/host-specific/elderbug/default.nix
Normal file
14
users/daniel/host-specific/elderbug/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.file = {
|
||||||
|
"wallpapers" = {
|
||||||
|
source = ./wallpapers;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.kitty.font.size = 14;
|
||||||
|
}
|
||||||
BIN
users/daniel/host-specific/elderbug/wallpapers/lock.png
Normal file
BIN
users/daniel/host-specific/elderbug/wallpapers/lock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 835 KiB |
BIN
users/daniel/host-specific/elderbug/wallpapers/wallpaper.jpg
Normal file
BIN
users/daniel/host-specific/elderbug/wallpapers/wallpaper.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user