Compare commits
58 Commits
474779949f
...
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
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1,4 +1,5 @@
|
|||||||
secrets/soundcloud_token filter=git-crypt diff=git-crypt
|
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/activation.bwreg filter=lfs diff=lfs merge=lfs -text
|
||||||
assets/bitwig/bitwig-studio.deb 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
|
assets/bitwig/bitwig.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -1,5 +1,6 @@
|
|||||||
switch:
|
switch:
|
||||||
sudo nixos-rebuild switch --flake path://$(PWD)#
|
nixos-rebuild switch --target-host root@localhost \
|
||||||
|
--build-host root@localhost --flake path://$(PWD)#panacea
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ with pkgs;
|
|||||||
"root"
|
"root"
|
||||||
"coolneng"
|
"coolneng"
|
||||||
];
|
];
|
||||||
|
lazy-trees = true;
|
||||||
|
eval-cores = 2;
|
||||||
};
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|||||||
279
flake.lock
generated
279
flake.lock
generated
@@ -10,11 +10,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754433428,
|
"lastModified": 1762618334,
|
||||||
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=",
|
"narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d",
|
"rev": "fcdea223397448d35d9b31f798479227e80183f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -25,11 +25,11 @@
|
|||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731098351,
|
"lastModified": 1765739568,
|
||||||
"narHash": "sha256-HQkYvKvaLQqNa10KEFGgWHfMAbWBfFp+4cAgkut+NNE=",
|
"narHash": "sha256-gQYx35Of4UDKUjAYvmxjUEh/DdszYeTtT6MDin4loGE=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "ef80ead953c1b28316cc3f8613904edc2eb90c28",
|
"rev": "67d2baff0f9f677af35db61b32b5df6863bcc075",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -76,6 +76,63 @@
|
|||||||
"type": "github"
|
"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-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -92,32 +149,74 @@
|
|||||||
"type": "github"
|
"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": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"lanzaboote",
|
"determinate",
|
||||||
|
"nix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504689,
|
"lastModified": 1748821116,
|
||||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
|
||||||
"owner": "hercules-ci",
|
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
|
||||||
"repo": "flake-parts",
|
"revCount": 377,
|
||||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
"type": "tarball",
|
||||||
"type": "github"
|
"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": {
|
"original": {
|
||||||
"owner": "hercules-ci",
|
"type": "tarball",
|
||||||
"repo": "flake-parts",
|
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
||||||
"type": "github"
|
}
|
||||||
|
},
|
||||||
|
"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": {
|
"gitignore": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"pre-commit-hooks-nix",
|
"pre-commit",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -159,25 +258,22 @@
|
|||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
"pre-commit": "pre-commit",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737639419,
|
"lastModified": 1765887029,
|
||||||
"narHash": "sha256-AEEDktApTEZ5PZXNDkry2YV2k6t0dTgLPEmAZbnigXU=",
|
"narHash": "sha256-s6LGO6kMlHRdnspV0LReSi47iaYaJ/Oveb4rM9fklPM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"rev": "a65905a09e2c43ff63be8c0e86a93712361f871e",
|
"rev": "5a8c9b5339588bb6ec388da5d0a6e701a46a82c4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "v0.4.2",
|
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -185,8 +281,8 @@
|
|||||||
"local-bitwig": {
|
"local-bitwig": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1704673203,
|
"lastModified": 1765321606,
|
||||||
"narHash": "sha256-n8gLgN6QEVuHe30kQZ/gCWInDHwDpPWOB5RgVh1tSt8=",
|
"narHash": "sha256-WteEWi5GPrGGfzLNTEmgQaH5/DAT/zeZofbBE6D+Po8=",
|
||||||
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
@@ -195,6 +291,27 @@
|
|||||||
"type": "path"
|
"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": {
|
"nix-index-database": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -202,11 +319,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756008611,
|
"lastModified": 1765267181,
|
||||||
"narHash": "sha256-rfTBWuTXi9/X7GhtF562FKNXKh2kvKb6dwI5lV1SjPE=",
|
"narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "52dec1cb33a614accb9e01307e17816be974d24d",
|
"rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -217,11 +334,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756245047,
|
"lastModified": 1764440730,
|
||||||
"narHash": "sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI=",
|
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "a65b650d6981e23edd1afa1f01eb942f19cdcbb7",
|
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -232,54 +349,95 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756542300,
|
"lastModified": 1761597516,
|
||||||
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
|
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
|
||||||
"owner": "NixOS",
|
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
|
||||||
"repo": "nixpkgs",
|
"revCount": 811874,
|
||||||
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
|
"type": "tarball",
|
||||||
"type": "github"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"type": "tarball",
|
||||||
"ref": "nixos-unstable",
|
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505"
|
||||||
"type": "indirect"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-23-11": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730741070,
|
"lastModified": 1717159533,
|
||||||
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
|
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
|
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"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",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit-hooks-nix": {
|
"pre-commit": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": "flake-compat_2",
|
||||||
"lanzaboote",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731363552,
|
"lastModified": 1765464257,
|
||||||
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
|
"narHash": "sha256-dixPWKiHzh80PtD0aLuxYNQ0xP+843dfXG/yM3OzaYQ=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
|
"rev": "09e45f2598e1a8499c3594fe11ec2943f34fe509",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -292,11 +450,12 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
||||||
|
"determinate": "determinate",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"local-bitwig": "local-bitwig",
|
"local-bitwig": "local-bitwig",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs_3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -307,11 +466,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731897198,
|
"lastModified": 1765680428,
|
||||||
"narHash": "sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE=",
|
"narHash": "sha256-fyPmRof9SZeI14ChPk5rVPOm7ISiiGkwGCunkhM+eUg=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "0be641045af6d8666c11c2c40e45ffc9667839b5",
|
"rev": "eb3898d8ef143d4bf0f7f2229105fc51c7731b2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
12
flake.nix
12
flake.nix
@@ -2,14 +2,16 @@
|
|||||||
description = "System configuration for panacea";
|
description = "System configuration for panacea";
|
||||||
|
|
||||||
nixConfig = {
|
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 = ''
|
extra-trusted-public-keys = ''
|
||||||
cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=
|
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 = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
@@ -24,9 +26,10 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
url = "github:nix-community/lanzaboote/v0.4.2";
|
url = "github:nix-community/lanzaboote";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
|
||||||
local-bitwig = {
|
local-bitwig = {
|
||||||
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
|
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -67,6 +70,7 @@
|
|||||||
inputs.agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
inputs.nix-index-database.nixosModules.nix-index
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
|
inputs.determinate.nixosModules.default
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ let
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
||||||
|
bandcamp_token = builtins.readFile ../secrets/bandcamp_token;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -52,47 +53,53 @@ in
|
|||||||
mopidy-somafm
|
mopidy-somafm
|
||||||
mopidy-soundcloud
|
mopidy-soundcloud
|
||||||
];
|
];
|
||||||
configuration = ''
|
settings = {
|
||||||
[audio]
|
audio.output = "pulsesink server=127.0.0.1";
|
||||||
output = pulsesink server=127.0.0.1
|
|
||||||
|
|
||||||
[local]
|
local = {
|
||||||
media_dir = /home/coolneng/Music
|
media_dir = "/home/coolneng/Music";
|
||||||
directories =
|
directories = ''
|
||||||
Album Artists local:directory?type=artist&role=albumartist
|
Album Artists local:directory?type=artist&role=albumartist
|
||||||
Albums local:directory?type=album
|
Albums local:directory?type=album
|
||||||
Artists local:directory?type=artist
|
Artists local:directory?type=artist
|
||||||
Genres local:directory?type=genre
|
Genres local:directory?type=genre
|
||||||
excluded_file_extensions =
|
'';
|
||||||
.directory
|
excluded_file_extensions = ''
|
||||||
.html
|
.directory
|
||||||
.jpeg
|
.html
|
||||||
.jpg
|
.jpeg
|
||||||
.log
|
.jpg
|
||||||
.nfo
|
.log
|
||||||
.png
|
.nfo
|
||||||
.txt
|
.png
|
||||||
scan_timeout = 3000
|
.txt
|
||||||
|
'';
|
||||||
|
scan_timeout = 3000;
|
||||||
|
};
|
||||||
|
|
||||||
[mpd]
|
mpd.zeroconf = "";
|
||||||
zeroconf = ""
|
|
||||||
|
|
||||||
[m3u]
|
m3u = {
|
||||||
playlists_dir = /home/coolneng/.config/mpd/playlists
|
playlists_dir = "/home/coolneng/.config/mpd/playlists";
|
||||||
base_dir = /home/coolneng/Music
|
base_dir = "/home/coolneng/Music";
|
||||||
|
};
|
||||||
|
|
||||||
[youtube]
|
youtube = {
|
||||||
search_results = 50
|
search_results = 50;
|
||||||
youtube_dl_package = yt_dlp
|
youtube_dl_package = "yt_dlp";
|
||||||
musicapi_enabled = true
|
musicapi_enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
[somafm]
|
somafm = {
|
||||||
encoding = aac
|
encoding = "aac";
|
||||||
quality = highest
|
quality = "highest";
|
||||||
|
};
|
||||||
|
|
||||||
[soundcloud]
|
soundcloud = {
|
||||||
auth_token = ${soundcloud_token}
|
auth_token = soundcloud_token;
|
||||||
explore_songs = 100
|
explore_songs = 100;
|
||||||
'';
|
};
|
||||||
|
bandcamp.identity = bandcamp_token;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,16 +9,14 @@ with pkgs;
|
|||||||
|
|
||||||
{
|
{
|
||||||
# Display manager
|
# Display manager
|
||||||
services.xserver.enable = true;
|
services.greetd = {
|
||||||
services.xserver.displayManager = {
|
enable = true;
|
||||||
defaultSession = "sway";
|
settings = rec {
|
||||||
autoLogin = {
|
initial_session = {
|
||||||
enable = true;
|
command = "${sway}/bin/sway";
|
||||||
user = "coolneng";
|
user = "coolneng";
|
||||||
};
|
};
|
||||||
lightdm = {
|
default_session = initial_session;
|
||||||
enable = true;
|
|
||||||
greeter.enable = false;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,9 +28,9 @@ with pkgs;
|
|||||||
swaylock
|
swaylock
|
||||||
swayidle
|
swayidle
|
||||||
swaybg
|
swaybg
|
||||||
rofi-wayland
|
rofi
|
||||||
waybar
|
waybar
|
||||||
clipman
|
cliphist
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
isUnstable = config.boot.zfs.package == pkgs.zfsUnstable;
|
isUnstable = config.boot.zfs.package == pkgs.zfs_unstable;
|
||||||
zfsCompatibleKernelPackages = lib.filterAttrs (
|
zfsCompatibleKernelPackages = lib.filterAttrs (
|
||||||
name: kernelPackages:
|
name: kernelPackages:
|
||||||
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ in
|
|||||||
name = "wlan0";
|
name = "wlan0";
|
||||||
matchConfig = {
|
matchConfig = {
|
||||||
Name = "wlan0";
|
Name = "wlan0";
|
||||||
SSID = "anakinosi";
|
SSID = "anakinosi-5GHz";
|
||||||
};
|
};
|
||||||
address = [ "192.168.129.3/23" ];
|
address = [ "192.168.129.3/23" ];
|
||||||
gateway = [ "192.168.128.1" ];
|
gateway = [ "192.168.128.1" ];
|
||||||
@@ -97,7 +97,6 @@ in
|
|||||||
};
|
};
|
||||||
systemd.network.networks."wg0" = {
|
systemd.network.networks."wg0" = {
|
||||||
matchConfig.Name = "wg0";
|
matchConfig.Name = "wg0";
|
||||||
linkConfig.ActivationPolicy = "manual";
|
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = [
|
Address = [
|
||||||
"10.8.0.2/32"
|
"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
|
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
|
coreutils
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -! upgrade"
|
/home/coolneng/.emacs.d/bin/doom -! upgrade
|
||||||
'';
|
'';
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "22:00:00";
|
startAt = "22:00:00";
|
||||||
after = [ "network-online.target" ];
|
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
|
# Push password-store changes to git daily
|
||||||
systemd.user.services.password-store-push = {
|
systemd.user.services.password-store-push = {
|
||||||
description = "Push password-store changes to git";
|
description = "Push password-store changes to git";
|
||||||
path = [
|
path = [
|
||||||
pass-wayland
|
pass-wayland
|
||||||
git
|
git
|
||||||
gitAndTools.pass-git-helper
|
pass-git-helper
|
||||||
];
|
];
|
||||||
script = "${pkgs.pass-wayland}/bin/pass git push";
|
script = "${pkgs.pass-wayland}/bin/pass git push";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
@@ -120,21 +107,11 @@ in
|
|||||||
path = [
|
path = [
|
||||||
pass-wayland
|
pass-wayland
|
||||||
git
|
git
|
||||||
gitAndTools.pass-git-helper
|
pass-git-helper
|
||||||
];
|
];
|
||||||
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
||||||
serviceConfig.Type = "oneshot";
|
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" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ in
|
|||||||
gnupg
|
gnupg
|
||||||
pass-wayland
|
pass-wayland
|
||||||
passff-host
|
passff-host
|
||||||
gitAndTools.pass-git-helper
|
pass-git-helper
|
||||||
inputs.agenix.packages.${config.nixpkgs.localSystem.system}.default
|
inputs.agenix.packages.${config.nixpkgs.localSystem.system}.default
|
||||||
git-crypt
|
git-crypt
|
||||||
git-lfs
|
git-lfs
|
||||||
@@ -63,14 +63,15 @@ in
|
|||||||
direnv
|
direnv
|
||||||
nix-direnv
|
nix-direnv
|
||||||
gnumake
|
gnumake
|
||||||
gitAndTools.pre-commit
|
pre-commit
|
||||||
|
emacs-lsp-booster
|
||||||
# Rice
|
# Rice
|
||||||
adapta-gtk-theme
|
adapta-gtk-theme
|
||||||
paper-icon-theme
|
paper-icon-theme
|
||||||
# Audio
|
# Audio
|
||||||
mopidy
|
mopidy
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
mpc_cli
|
mpc
|
||||||
pulsemixer
|
pulsemixer
|
||||||
easyeffects
|
easyeffects
|
||||||
patched-bitwig
|
patched-bitwig
|
||||||
@@ -109,8 +110,8 @@ in
|
|||||||
## Nix
|
## Nix
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
## Python
|
## Python
|
||||||
basedpyright
|
ty
|
||||||
black
|
ruff
|
||||||
## C/C++
|
## C/C++
|
||||||
clang-tools
|
clang-tools
|
||||||
## Go
|
## Go
|
||||||
|
|||||||
BIN
secrets/bandcamp_token
Normal file
BIN
secrets/bandcamp_token
Normal file
Binary file not shown.
Reference in New Issue
Block a user