Compare commits
68 Commits
15181280db
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c1ed6a497b | |||
|
13ad7a6d25
|
|||
| d217d901b5 | |||
|
b1215a6f9f
|
|||
|
a2bdfdd4d2
|
|||
| 83c68257e5 | |||
| 9f825a7217 | |||
|
98fb5e039b
|
|||
|
d4706ae65a
|
|||
| 4ee36c3121 | |||
| cda5f092a1 | |||
|
5464df4407
|
|||
| e134860d43 | |||
|
e601dc1fb6
|
|||
|
1eed8a02b3
|
|||
| d2a7007549 | |||
|
5f7aa85257
|
|||
| 517cf4abcf | |||
|
3d90fd01df
|
|||
| 86f3d07711 | |||
|
93018d369f
|
|||
| 15aaadfe32 | |||
| 0671a72d9d | |||
|
0414372143
|
|||
|
48df0bdd21
|
|||
|
0d209b887b
|
|||
|
85825f23fb
|
|||
| bb4666e3a2 | |||
| 59d87a2189 | |||
| 3844e4b705 | |||
|
cb8a198c64
|
|||
|
d8c976ec47
|
|||
|
5ab5e53476
|
|||
| 99532f8c28 | |||
| e5afec1928 | |||
|
b43062fed3
|
|||
|
3844b1542d
|
|||
| cef96a23d6 | |||
| 8329233701 | |||
| 2410375f61 | |||
| 859900c38c | |||
| 3a943c0314 | |||
|
61f3aad45b
|
|||
|
b5b65f5672
|
|||
| 55120942e5 | |||
|
91024754a1
|
|||
|
cb18344397
|
|||
|
0bcdc41512
|
|||
| c04cb4bf34 | |||
|
289472df3a
|
|||
|
f15e80ec24
|
|||
| c7d99e5049 | |||
|
3ebf4eb126
|
|||
| e4eff8237e | |||
|
32a882e6d1
|
|||
| 7cf462b994 | |||
| c5589f5fc2 | |||
|
4dabfca256
|
|||
| 474779949f | |||
| 0ed0a380aa | |||
|
209547aa6f
|
|||
|
35b7783082
|
|||
| e655f2281a | |||
| c925d178ad | |||
| 8c4f3e66c5 | |||
| 0868df2645 | |||
| 9d7ca5c738 | |||
|
773ce12f0b
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1,4 +1,5 @@
|
||||
secrets/soundcloud_token filter=git-crypt diff=git-crypt
|
||||
secrets/bandcamp_token filter=git-crypt diff=git-crypt
|
||||
assets/bitwig/activation.bwreg filter=lfs diff=lfs merge=lfs -text
|
||||
assets/bitwig/bitwig-studio.deb filter=lfs diff=lfs merge=lfs -text
|
||||
assets/bitwig/bitwig.jar filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
3
Makefile
3
Makefile
@@ -1,5 +1,6 @@
|
||||
switch:
|
||||
sudo nixos-rebuild switch --flake path://$(PWD)#
|
||||
nixos-rebuild switch --target-host root@localhost \
|
||||
--build-host root@localhost --flake path://$(PWD)#panacea
|
||||
|
||||
update:
|
||||
nix flake update --commit-lock-file
|
||||
|
||||
@@ -52,6 +52,8 @@ with pkgs;
|
||||
"root"
|
||||
"coolneng"
|
||||
];
|
||||
lazy-trees = true;
|
||||
eval-cores = 2;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
||||
279
flake.lock
generated
279
flake.lock
generated
@@ -10,11 +10,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1745630506,
|
||||
"narHash": "sha256-bHCFgGeu8XjWlVuaWzi3QONjDW3coZDqSHvnd4l7xus=",
|
||||
"lastModified": 1762618334,
|
||||
"narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
|
||||
"owner": "ryantm",
|
||||
"repo": "agenix",
|
||||
"rev": "96e078c646b711aee04b82ba01aefbff87004ded",
|
||||
"rev": "fcdea223397448d35d9b31f798479227e80183f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -25,11 +25,11 @@
|
||||
},
|
||||
"crane": {
|
||||
"locked": {
|
||||
"lastModified": 1731098351,
|
||||
"narHash": "sha256-HQkYvKvaLQqNa10KEFGgWHfMAbWBfFp+4cAgkut+NNE=",
|
||||
"lastModified": 1765739568,
|
||||
"narHash": "sha256-gQYx35Of4UDKUjAYvmxjUEh/DdszYeTtT6MDin4loGE=",
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"rev": "ef80ead953c1b28316cc3f8613904edc2eb90c28",
|
||||
"rev": "67d2baff0f9f677af35db61b32b5df6863bcc075",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -76,6 +76,63 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"determinate": {
|
||||
"inputs": {
|
||||
"determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin",
|
||||
"determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux",
|
||||
"determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux",
|
||||
"nix": "nix",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765254444,
|
||||
"narHash": "sha256-kAO/ZeBnjaF+uqOP6qweXlRk2ylocLuv/9Dn8FsuPlU=",
|
||||
"rev": "3ccc0297525e51ac3d7905509e0616c9c8350108",
|
||||
"revCount": 316,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.14.0/019b0160-c5de-7941-9c26-cb47bc17eec3/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/determinate/%2A"
|
||||
}
|
||||
},
|
||||
"determinate-nixd-aarch64-darwin": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-6PWoqx52nvlWzlElTjcn7KAPKitfcKZYEFSsC3PoEoE=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/macOS"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/macOS"
|
||||
}
|
||||
},
|
||||
"determinate-nixd-aarch64-linux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-b1e25BUPL7Qf0QVbYlfZ/+QiClrP/SHIjMPtA47aOLc=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/aarch64-linux"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/aarch64-linux"
|
||||
}
|
||||
},
|
||||
"determinate-nixd-x86_64-linux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-8EI2f8IftPcRFlR6K4+cpIEAVf5UIeMCjHysEtVqDw0=",
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/x86_64-linux"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.14.0/x86_64-linux"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -92,32 +149,74 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1761588595,
|
||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"lanzaboote",
|
||||
"determinate",
|
||||
"nix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1730504689,
|
||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
||||
"type": "github"
|
||||
"lastModified": 1748821116,
|
||||
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
|
||||
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
|
||||
"revCount": 377,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
||||
}
|
||||
},
|
||||
"git-hooks-nix": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"gitignore": [
|
||||
"determinate",
|
||||
"nix"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"determinate",
|
||||
"nix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1747372754,
|
||||
"narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
|
||||
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
|
||||
"revCount": 1026,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"lanzaboote",
|
||||
"pre-commit-hooks-nix",
|
||||
"pre-commit",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
@@ -159,25 +258,22 @@
|
||||
"lanzaboote": {
|
||||
"inputs": {
|
||||
"crane": "crane",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||
"pre-commit": "pre-commit",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737639419,
|
||||
"narHash": "sha256-AEEDktApTEZ5PZXNDkry2YV2k6t0dTgLPEmAZbnigXU=",
|
||||
"lastModified": 1765887029,
|
||||
"narHash": "sha256-s6LGO6kMlHRdnspV0LReSi47iaYaJ/Oveb4rM9fklPM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "lanzaboote",
|
||||
"rev": "a65905a09e2c43ff63be8c0e86a93712361f871e",
|
||||
"rev": "5a8c9b5339588bb6ec388da5d0a6e701a46a82c4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "v0.4.2",
|
||||
"repo": "lanzaboote",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -185,8 +281,8 @@
|
||||
"local-bitwig": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1704673203,
|
||||
"narHash": "sha256-n8gLgN6QEVuHe30kQZ/gCWInDHwDpPWOB5RgVh1tSt8=",
|
||||
"lastModified": 1765321606,
|
||||
"narHash": "sha256-WteEWi5GPrGGfzLNTEmgQaH5/DAT/zeZofbBE6D+Po8=",
|
||||
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||
"type": "path"
|
||||
},
|
||||
@@ -195,6 +291,27 @@
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
"nix": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"git-hooks-nix": "git-hooks-nix",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-23-11": "nixpkgs-23-11",
|
||||
"nixpkgs-regression": "nixpkgs-regression"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765252170,
|
||||
"narHash": "sha256-p98D44tYJMgB5Qet5S8cTQFdffk/GmoaGkpQtZ3hqJU=",
|
||||
"rev": "1ddd28880651054346c34009d7bb9de36f1db2c1",
|
||||
"revCount": 23362,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.14.0/019b0159-8907-7fab-a120-9d287c7e6d2e/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -202,11 +319,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1746029363,
|
||||
"narHash": "sha256-yBIWj5l5ha0GHmgJRdqq7fBuQIp3vKb1ELPPnLEUKRc=",
|
||||
"lastModified": 1765267181,
|
||||
"narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=",
|
||||
"owner": "Mic92",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "4b221d92d4599a1c7a8820a394f3b15c5c354f35",
|
||||
"rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -217,11 +334,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1745955289,
|
||||
"narHash": "sha256-mmV2oPhQN+YF2wmnJzXX8tqgYmUYXUj3uUUBSTmYN5o=",
|
||||
"lastModified": 1764440730,
|
||||
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "72081c9fbbef63765ae82bff9727ea79cc86bd5b",
|
||||
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -232,54 +349,95 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1753694789,
|
||||
"narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "dc9637876d0dcc8c9e5e22986b857632effeb727",
|
||||
"type": "github"
|
||||
"lastModified": 1761597516,
|
||||
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
|
||||
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
|
||||
"revCount": 811874,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"nixpkgs-23-11": {
|
||||
"locked": {
|
||||
"lastModified": 1730741070,
|
||||
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
|
||||
"lastModified": 1717159533,
|
||||
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
|
||||
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-regression": {
|
||||
"locked": {
|
||||
"lastModified": 1643052045,
|
||||
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1764611609,
|
||||
"narHash": "sha256-yU9BNcP0oadUKupw0UKmO9BKDOVIg9NStdJosEbXf8U=",
|
||||
"rev": "8c29968b3a942f2903f90797f9623737c215737c",
|
||||
"revCount": 905078,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.905078%2Brev-8c29968b3a942f2903f90797f9623737c215737c/019add91-3add-7a0d-8a25-9569cbe01efe/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/0.1"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1766309749,
|
||||
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a6531044f6d0bef691ea18d4d4ce44d0daa6e816",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pre-commit-hooks-nix": {
|
||||
"pre-commit": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"lanzaboote",
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-compat": "flake-compat_2",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"lanzaboote",
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731363552,
|
||||
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
|
||||
"lastModified": 1765464257,
|
||||
"narHash": "sha256-dixPWKiHzh80PtD0aLuxYNQ0xP+843dfXG/yM3OzaYQ=",
|
||||
"owner": "cachix",
|
||||
"repo": "pre-commit-hooks.nix",
|
||||
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
|
||||
"rev": "09e45f2598e1a8499c3594fe11ec2943f34fe509",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -292,11 +450,12 @@
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
||||
"determinate": "determinate",
|
||||
"lanzaboote": "lanzaboote",
|
||||
"local-bitwig": "local-bitwig",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs"
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
@@ -307,11 +466,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731897198,
|
||||
"narHash": "sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE=",
|
||||
"lastModified": 1765680428,
|
||||
"narHash": "sha256-fyPmRof9SZeI14ChPk5rVPOm7ISiiGkwGCunkhM+eUg=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "0be641045af6d8666c11c2c40e45ffc9667839b5",
|
||||
"rev": "eb3898d8ef143d4bf0f7f2229105fc51c7731b2f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
12
flake.nix
12
flake.nix
@@ -2,14 +2,16 @@
|
||||
description = "System configuration for panacea";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = "https://cachix.cachix.org https://nix-community.cachix.org";
|
||||
extra-substituters = "https://cachix.cachix.org https://nix-community.cachix.org https://install.determinate.systems";
|
||||
extra-trusted-public-keys = ''
|
||||
cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=
|
||||
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs='';
|
||||
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
|
||||
cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM=
|
||||
'';
|
||||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
agenix = {
|
||||
url = "github:ryantm/agenix";
|
||||
@@ -24,9 +26,10 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.4.2";
|
||||
url = "github:nix-community/lanzaboote";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
|
||||
local-bitwig = {
|
||||
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
|
||||
flake = false;
|
||||
@@ -67,6 +70,7 @@
|
||||
inputs.agenix.nixosModules.age
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.determinate.nixosModules.default
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
|
||||
@@ -17,6 +17,7 @@ let
|
||||
];
|
||||
});
|
||||
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
||||
bandcamp_token = builtins.readFile ../secrets/bandcamp_token;
|
||||
|
||||
in
|
||||
{
|
||||
@@ -52,47 +53,53 @@ in
|
||||
mopidy-somafm
|
||||
mopidy-soundcloud
|
||||
];
|
||||
configuration = ''
|
||||
[audio]
|
||||
output = pulsesink server=127.0.0.1
|
||||
settings = {
|
||||
audio.output = "pulsesink server=127.0.0.1";
|
||||
|
||||
[local]
|
||||
media_dir = /home/coolneng/Music
|
||||
directories =
|
||||
Album Artists local:directory?type=artist&role=albumartist
|
||||
Albums local:directory?type=album
|
||||
Artists local:directory?type=artist
|
||||
Genres local:directory?type=genre
|
||||
excluded_file_extensions =
|
||||
.directory
|
||||
.html
|
||||
.jpeg
|
||||
.jpg
|
||||
.log
|
||||
.nfo
|
||||
.png
|
||||
.txt
|
||||
scan_timeout = 3000
|
||||
local = {
|
||||
media_dir = "/home/coolneng/Music";
|
||||
directories = ''
|
||||
Album Artists local:directory?type=artist&role=albumartist
|
||||
Albums local:directory?type=album
|
||||
Artists local:directory?type=artist
|
||||
Genres local:directory?type=genre
|
||||
'';
|
||||
excluded_file_extensions = ''
|
||||
.directory
|
||||
.html
|
||||
.jpeg
|
||||
.jpg
|
||||
.log
|
||||
.nfo
|
||||
.png
|
||||
.txt
|
||||
'';
|
||||
scan_timeout = 3000;
|
||||
};
|
||||
|
||||
[mpd]
|
||||
zeroconf = ""
|
||||
mpd.zeroconf = "";
|
||||
|
||||
[m3u]
|
||||
playlists_dir = /home/coolneng/.config/mpd/playlists
|
||||
base_dir = /home/coolneng/Music
|
||||
m3u = {
|
||||
playlists_dir = "/home/coolneng/.config/mpd/playlists";
|
||||
base_dir = "/home/coolneng/Music";
|
||||
};
|
||||
|
||||
[youtube]
|
||||
search_results = 50
|
||||
youtube_dl_package = yt_dlp
|
||||
musicapi_enabled = true
|
||||
youtube = {
|
||||
search_results = 50;
|
||||
youtube_dl_package = "yt_dlp";
|
||||
musicapi_enabled = true;
|
||||
};
|
||||
|
||||
[somafm]
|
||||
encoding = aac
|
||||
quality = highest
|
||||
somafm = {
|
||||
encoding = "aac";
|
||||
quality = "highest";
|
||||
};
|
||||
|
||||
[soundcloud]
|
||||
auth_token = ${soundcloud_token}
|
||||
explore_songs = 100
|
||||
'';
|
||||
soundcloud = {
|
||||
auth_token = soundcloud_token;
|
||||
explore_songs = 100;
|
||||
};
|
||||
bandcamp.identity = bandcamp_token;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,16 +9,14 @@ with pkgs;
|
||||
|
||||
{
|
||||
# Display manager
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager = {
|
||||
defaultSession = "sway";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "coolneng";
|
||||
};
|
||||
lightdm = {
|
||||
enable = true;
|
||||
greeter.enable = false;
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
initial_session = {
|
||||
command = "${sway}/bin/sway";
|
||||
user = "coolneng";
|
||||
};
|
||||
default_session = initial_session;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -30,9 +28,9 @@ with pkgs;
|
||||
swaylock
|
||||
swayidle
|
||||
swaybg
|
||||
rofi-wayland
|
||||
rofi
|
||||
waybar
|
||||
clipman
|
||||
cliphist
|
||||
wl-clipboard
|
||||
grim
|
||||
slurp
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
isUnstable = config.boot.zfs.package == pkgs.zfsUnstable;
|
||||
isUnstable = config.boot.zfs.package == pkgs.zfs_unstable;
|
||||
zfsCompatibleKernelPackages = lib.filterAttrs (
|
||||
name: kernelPackages:
|
||||
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
||||
|
||||
@@ -53,7 +53,7 @@ in
|
||||
name = "wlan0";
|
||||
matchConfig = {
|
||||
Name = "wlan0";
|
||||
SSID = "anakinosi";
|
||||
SSID = "anakinosi-5GHz";
|
||||
};
|
||||
address = [ "192.168.129.3/23" ];
|
||||
gateway = [ "192.168.128.1" ];
|
||||
@@ -97,7 +97,6 @@ in
|
||||
};
|
||||
systemd.network.networks."wg0" = {
|
||||
matchConfig.Name = "wg0";
|
||||
linkConfig.ActivationPolicy = "manual";
|
||||
networkConfig = {
|
||||
Address = [
|
||||
"10.8.0.2/32"
|
||||
@@ -145,4 +144,15 @@ in
|
||||
iptables -t mangle -D nixos-fw-rpfilter -p udp -m udp --dport ${wireguard_port} -j RETURN || true
|
||||
'';
|
||||
};
|
||||
|
||||
# Enable localhost SSH
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = false;
|
||||
startWhenNeeded = true;
|
||||
settings = {
|
||||
PermitRootLogin = "without-password";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,33 +22,20 @@ in
|
||||
coreutils
|
||||
];
|
||||
script = ''
|
||||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
|
||||
/home/coolneng/.emacs.d/bin/doom -! upgrade
|
||||
'';
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "22:00:00";
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
# Upgrade Neovim plugins weekly
|
||||
systemd.user.services.vim-plug-upgrade = {
|
||||
description = "Upgrade Vim-Plug";
|
||||
path = [
|
||||
git
|
||||
neovim
|
||||
];
|
||||
script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "Wed 18:00:00";
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
# Push password-store changes to git daily
|
||||
systemd.user.services.password-store-push = {
|
||||
description = "Push password-store changes to git";
|
||||
path = [
|
||||
pass-wayland
|
||||
git
|
||||
gitAndTools.pass-git-helper
|
||||
pass-git-helper
|
||||
];
|
||||
script = "${pkgs.pass-wayland}/bin/pass git push";
|
||||
serviceConfig.Type = "oneshot";
|
||||
@@ -120,21 +107,22 @@ in
|
||||
path = [
|
||||
pass-wayland
|
||||
git
|
||||
gitAndTools.pass-git-helper
|
||||
pass-git-helper
|
||||
];
|
||||
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "14:00:00";
|
||||
startAt = "18:00:00";
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
# Pull changes from zion daily
|
||||
systemd.user.services.zion-pull = {
|
||||
description = "Pull zion changes to git";
|
||||
path = [ git ];
|
||||
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/zion pull";
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "10:00:00";
|
||||
after = [ "network-online.target" ];
|
||||
# Show notification when the battery is low
|
||||
systemd.user.services.swaynag-battery = {
|
||||
description = "Show notification when the battery is low";
|
||||
path = [
|
||||
swaynag-battery
|
||||
sway
|
||||
];
|
||||
script = "${pkgs.swaynag-battery}/bin/swaynag-battery --threshold 10";
|
||||
wantedBy = [ "sway-session.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ in
|
||||
gnupg
|
||||
pass-wayland
|
||||
passff-host
|
||||
gitAndTools.pass-git-helper
|
||||
pass-git-helper
|
||||
inputs.agenix.packages.${config.nixpkgs.localSystem.system}.default
|
||||
git-crypt
|
||||
git-lfs
|
||||
@@ -63,14 +63,15 @@ in
|
||||
direnv
|
||||
nix-direnv
|
||||
gnumake
|
||||
gitAndTools.pre-commit
|
||||
pre-commit
|
||||
emacs-lsp-booster
|
||||
# Rice
|
||||
adapta-gtk-theme
|
||||
paper-icon-theme
|
||||
# Audio
|
||||
mopidy
|
||||
ncmpcpp
|
||||
mpc_cli
|
||||
mpc
|
||||
pulsemixer
|
||||
easyeffects
|
||||
patched-bitwig
|
||||
@@ -109,8 +110,8 @@ in
|
||||
## Nix
|
||||
nixfmt-rfc-style
|
||||
## Python
|
||||
basedpyright
|
||||
black
|
||||
ty
|
||||
ruff
|
||||
## C/C++
|
||||
clang-tools
|
||||
## Go
|
||||
|
||||
BIN
secrets/bandcamp_token
Normal file
BIN
secrets/bandcamp_token
Normal file
Binary file not shown.
Reference in New Issue
Block a user