Compare commits
2 Commits
master
...
4a6d19181c
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a6d19181c | |||
| 1935b71b62 |
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1,5 +1,4 @@
|
|||||||
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
|
||||||
|
|||||||
5
Makefile
5
Makefile
@@ -1,8 +1,5 @@
|
|||||||
DIR=$(HOME)/Projects/panacea
|
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
nixos-rebuild switch --target-host root@localhost \
|
sudo nixos-rebuild switch --flake path://$(PWD)#
|
||||||
--build-host root@localhost --flake path://$(DIR)#panacea
|
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|||||||
@@ -15,12 +15,9 @@ with pkgs;
|
|||||||
"btusb"
|
"btusb"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
];
|
];
|
||||||
# ZFS Arc size and Nuphy keyboard FN settings
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"zfs.zfs_arc_max=8589934592"
|
"zfs.zfs_arc_max=8589934592"
|
||||||
"zfs.zfs_arc_min=1073741824"
|
"zfs.zfs_arc_min=1073741824"
|
||||||
"hid_apple.fnmode=2"
|
|
||||||
"hid_apple.swap_opt_cmd=1"
|
|
||||||
];
|
];
|
||||||
supportedFilesystems = [ "zfs" ];
|
supportedFilesystems = [ "zfs" ];
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|||||||
183
flake.lock
generated
183
flake.lock
generated
@@ -10,11 +10,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762618334,
|
"lastModified": 1754433428,
|
||||||
"narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
|
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "fcdea223397448d35d9b31f798479227e80183f6",
|
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -25,11 +25,11 @@
|
|||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769287525,
|
"lastModified": 1731098351,
|
||||||
"narHash": "sha256-gABuYA6BzoRMLuPaeO5p7SLrpd4qExgkwEmYaYQY4bM=",
|
"narHash": "sha256-HQkYvKvaLQqNa10KEFGgWHfMAbWBfFp+4cAgkut+NNE=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "0314e365877a85c9e5758f9ea77a9972afbb4c21",
|
"rev": "ef80ead953c1b28316cc3f8613904edc2eb90c28",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -80,17 +80,21 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin",
|
"determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin",
|
||||||
"determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux",
|
"determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux",
|
||||||
|
"determinate-nixd-x86_64-darwin": [
|
||||||
|
"determinate",
|
||||||
|
"determinate-nixd-aarch64-darwin"
|
||||||
|
],
|
||||||
"determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux",
|
"determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux",
|
||||||
"nix": "nix",
|
"nix": "nix",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768964099,
|
"lastModified": 1757699119,
|
||||||
"narHash": "sha256-sV1OJYyktJRl7I3HxeBvWTWXjqm2uCTS3gS1p+DLn7c=",
|
"narHash": "sha256-iOOoVdrkcyk95Xg68TuPeAwpz+v80mgZCqil0jpPZuY=",
|
||||||
"rev": "a5469e9aa3870941320cb92d899b66e141c5a3cd",
|
"rev": "1e16c8f8a44573bb0648c76b6c98352436f5171e",
|
||||||
"revCount": 394,
|
"revCount": 304,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.2/019bde7d-0725-73ef-9705-498c50ef6e00/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.11.2/01993f0b-1215-7072-ac1a-f2b27b566115/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -100,37 +104,37 @@
|
|||||||
"determinate-nixd-aarch64-darwin": {
|
"determinate-nixd-aarch64-darwin": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-zK2dgNHh/p92rk5jN+Y1LOMn0HEdTsS+7XXwb2g52oM=",
|
"narHash": "sha256-q1tqDvmfjDgLk/wbYf4pRhyHDS94iY85Q79FPBtcv7g=",
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/macOS"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/macOS"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"determinate-nixd-aarch64-linux": {
|
"determinate-nixd-aarch64-linux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-ckvZP0zFcbzLXWYOJUqYXkKBt0b2IZcQEr7YjEVtwOI=",
|
"narHash": "sha256-E1vGfcQ5dqtRG9EDP6eOQWCnCIRB2XFkFBp2C4FgQ8c=",
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/aarch64-linux"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/aarch64-linux"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"determinate-nixd-x86_64-linux": {
|
"determinate-nixd-x86_64-linux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-8dLtm8FJrpyBmrNpspJj30/6I5HGEfjjXuFqURcZ8pk=",
|
"narHash": "sha256-GtxtkI0cOC2A30Xw6gCDTN7JxN1zJGh7/eIXr6AlTSA=",
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/x86_64-linux"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux"
|
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.11.2/x86_64-linux"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
@@ -152,15 +156,15 @@
|
|||||||
"flake-compat_2": {
|
"flake-compat_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767039857,
|
"lastModified": 1696426674,
|
||||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||||
"owner": "NixOS",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -186,6 +190,27 @@
|
|||||||
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"lanzaboote",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1730504689,
|
||||||
|
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"git-hooks-nix": {
|
"git-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
@@ -216,7 +241,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"pre-commit",
|
"pre-commit-hooks-nix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -258,22 +283,25 @@
|
|||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
"flake-compat": "flake-compat_2",
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"pre-commit": "pre-commit",
|
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769301952,
|
"lastModified": 1737639419,
|
||||||
"narHash": "sha256-XxYnvAPv2kZBTUywng8mvX2OJtq0Dx3FDyta1NmSjRc=",
|
"narHash": "sha256-AEEDktApTEZ5PZXNDkry2YV2k6t0dTgLPEmAZbnigXU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"rev": "4673781e286eeeb35fec07b01cad87d41d94a349",
|
"rev": "a65905a09e2c43ff63be8c0e86a93712361f871e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
|
"ref": "v0.4.2",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -281,8 +309,8 @@
|
|||||||
"local-bitwig": {
|
"local-bitwig": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765321606,
|
"lastModified": 1756285531,
|
||||||
"narHash": "sha256-WteEWi5GPrGGfzLNTEmgQaH5/DAT/zeZofbBE6D+Po8=",
|
"narHash": "sha256-c4dw/u3mcspNZ/YErD0AWKMI5XeTBTsh5rP1Dzmp2u8=",
|
||||||
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
@@ -300,12 +328,12 @@
|
|||||||
"nixpkgs-regression": "nixpkgs-regression"
|
"nixpkgs-regression": "nixpkgs-regression"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768960381,
|
"lastModified": 1757694985,
|
||||||
"narHash": "sha256-32oMe1y+kwvIJNiJsIvozTuSmDxcwST06i+0ak+L4AU=",
|
"narHash": "sha256-3Ia+y7Hbwnzcuf1hyuVnFtbnSR6ErQeFjemHdVxjCNE=",
|
||||||
"rev": "45ce621408cb8c9a724193d5fe858eb839662db8",
|
"rev": "766f43aa6acb1b3578db488c19fbbedf04ed9f24",
|
||||||
"revCount": 24453,
|
"revCount": 22340,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.2/019bde75-b4ee-74b2-a812-28dc2ee83d58/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.11.2/01993ee9-f8e7-7b80-80df-ec0a20a32514/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -319,11 +347,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765267181,
|
"lastModified": 1759032422,
|
||||||
"narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=",
|
"narHash": "sha256-WZf+FhebP2/1pK2np5xj/NuDjD6fXK2BHnq/tPUN18o=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f",
|
"rev": "ec7a78cb0e098832d8acac091a4df393259c4839",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -334,11 +362,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769302137,
|
"lastModified": 1759582739,
|
||||||
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=",
|
"narHash": "sha256-spZegilADH0q5OngM86u6NmXxduCNv5eX9vCiUPhOYc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8",
|
"rev": "3441b5242af7577230a78ffb03542add264179ab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -349,12 +377,12 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761597516,
|
"lastModified": 1755922037,
|
||||||
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
|
"narHash": "sha256-wY1+2JPH0ZZC4BQefoZw/k+3+DowFyfOxv17CN/idKs=",
|
||||||
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
|
"rev": "b1b3291469652d5a2edb0becc4ef0246fff97a7c",
|
||||||
"revCount": 811874,
|
"revCount": 808723,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.808723%2Brev-b1b3291469652d5a2edb0becc4ef0246fff97a7c/0198daf7-011a-7703-95d7-57146e794342/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -393,14 +421,30 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1730741070,
|
||||||
|
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-24.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768783163,
|
"lastModified": 1757034884,
|
||||||
"narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=",
|
"narHash": "sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao=",
|
||||||
"rev": "bde09022887110deb780067364a0818e89258968",
|
"rev": "ca77296380960cd497a765102eeb1356eb80fed0",
|
||||||
"revCount": 930106,
|
"revCount": 856744,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.930106%2Brev-bde09022887110deb780067364a0818e89258968/019bd9ed-5f0b-7074-afb0-8bb5e13a7598/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.856744%2Brev-ca77296380960cd497a765102eeb1356eb80fed0/01992cf9-9347-761a-8963-9cbe43abe2fa/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -409,35 +453,38 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770019141,
|
"lastModified": 1759831965,
|
||||||
"narHash": "sha256-VKS4ZLNx4PNrABoB0L8KUpc1fE7CLpQXQs985tGfaCU=",
|
"narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cb369ef2efd432b3cdf8622b0ffc0a97a02f3137",
|
"rev": "c9b6fb798541223bbb396d287d16f43520250518",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"type": "indirect"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit": {
|
"pre-commit-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
],
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769069492,
|
"lastModified": 1731363552,
|
||||||
"narHash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U=",
|
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
|
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -466,11 +513,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769222645,
|
"lastModified": 1731897198,
|
||||||
"narHash": "sha256-gu6oZ86zLudBZMq8LL1qdtYt/S69GV5keQVXdvBrVSU=",
|
"narHash": "sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "22da29e7f3d8cff75009cbbcf992c7cb66920cfd",
|
"rev": "0be641045af6d8666c11c2c40e45ffc9667839b5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "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";
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
url = "github:nix-community/lanzaboote";
|
url = "github:nix-community/lanzaboote/v0.4.2";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
|
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ let
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
||||||
bandcamp_token = builtins.readFile ../secrets/bandcamp_token;
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -53,53 +52,47 @@ in
|
|||||||
mopidy-somafm
|
mopidy-somafm
|
||||||
mopidy-soundcloud
|
mopidy-soundcloud
|
||||||
];
|
];
|
||||||
settings = {
|
configuration = ''
|
||||||
audio.output = "pulsesink server=127.0.0.1";
|
[audio]
|
||||||
|
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 =
|
||||||
excluded_file_extensions = ''
|
.directory
|
||||||
.directory
|
.html
|
||||||
.html
|
.jpeg
|
||||||
.jpeg
|
.jpg
|
||||||
.jpg
|
.log
|
||||||
.log
|
.nfo
|
||||||
.nfo
|
.png
|
||||||
.png
|
.txt
|
||||||
.txt
|
scan_timeout = 3000
|
||||||
'';
|
|
||||||
scan_timeout = 3000;
|
|
||||||
};
|
|
||||||
|
|
||||||
mpd.zeroconf = "";
|
[mpd]
|
||||||
|
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,14 +9,16 @@ with pkgs;
|
|||||||
|
|
||||||
{
|
{
|
||||||
# Display manager
|
# Display manager
|
||||||
services.greetd = {
|
services.xserver.enable = true;
|
||||||
enable = true;
|
services.xserver.displayManager = {
|
||||||
settings = rec {
|
defaultSession = "sway";
|
||||||
initial_session = {
|
autoLogin = {
|
||||||
command = "${sway}/bin/sway";
|
enable = true;
|
||||||
user = "coolneng";
|
user = "coolneng";
|
||||||
};
|
};
|
||||||
default_session = initial_session;
|
lightdm = {
|
||||||
|
enable = true;
|
||||||
|
greeter.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -39,7 +41,6 @@ with pkgs;
|
|||||||
kitty
|
kitty
|
||||||
qt5.qtwayland
|
qt5.qtwayland
|
||||||
glib
|
glib
|
||||||
udiskie
|
|
||||||
];
|
];
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
isUnstable = config.boot.zfs.package == pkgs.zfs_unstable;
|
isUnstable = config.boot.zfs.package == pkgs.zfsUnstable;
|
||||||
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
|
||||||
|
|||||||
@@ -32,10 +32,10 @@ in
|
|||||||
# Enable mDNS
|
# Enable mDNS
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.Resolve = {
|
llmnr = "false";
|
||||||
MulticastDNS = "yes";
|
extraConfig = ''
|
||||||
LLMNR = "false";
|
MulticastDNS=yes
|
||||||
};
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Prioritize ethernet over WiFi
|
# Prioritize ethernet over WiFi
|
||||||
@@ -53,7 +53,7 @@ in
|
|||||||
name = "wlan0";
|
name = "wlan0";
|
||||||
matchConfig = {
|
matchConfig = {
|
||||||
Name = "wlan0";
|
Name = "wlan0";
|
||||||
SSID = "anakinosi-5GHz";
|
SSID = "anakinosi";
|
||||||
};
|
};
|
||||||
address = [ "192.168.129.3/23" ];
|
address = [ "192.168.129.3/23" ];
|
||||||
gateway = [ "192.168.128.1" ];
|
gateway = [ "192.168.128.1" ];
|
||||||
@@ -97,6 +97,7 @@ 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"
|
||||||
@@ -144,15 +145,4 @@ 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,20 +22,33 @@ in
|
|||||||
coreutils
|
coreutils
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
/home/coolneng/.emacs.d/bin/doom -! upgrade --aot
|
${pkgs.bash}/bin/bash -c "/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
|
||||||
pass-git-helper
|
gitAndTools.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";
|
||||||
@@ -107,11 +120,21 @@ in
|
|||||||
path = [
|
path = [
|
||||||
pass-wayland
|
pass-wayland
|
||||||
git
|
git
|
||||||
pass-git-helper
|
gitAndTools.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 = "18:00:00";
|
startAt = "14: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" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ with pkgs;
|
|||||||
|
|
||||||
let
|
let
|
||||||
custom-mpv = (
|
custom-mpv = (
|
||||||
mpv.override {
|
mpv-unwrapped.wrapper {
|
||||||
|
mpv = mpv-unwrapped;
|
||||||
scripts = with mpvScripts; [
|
scripts = with mpvScripts; [
|
||||||
sponsorblock-minimal
|
sponsorblock-minimal
|
||||||
mpv-cheatsheet
|
mpv-cheatsheet
|
||||||
@@ -35,7 +36,7 @@ in
|
|||||||
gnupg
|
gnupg
|
||||||
pass-wayland
|
pass-wayland
|
||||||
passff-host
|
passff-host
|
||||||
pass-git-helper
|
gitAndTools.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
|
||||||
@@ -62,15 +63,14 @@ in
|
|||||||
direnv
|
direnv
|
||||||
nix-direnv
|
nix-direnv
|
||||||
gnumake
|
gnumake
|
||||||
pre-commit
|
gitAndTools.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
|
mpc_cli
|
||||||
pulsemixer
|
pulsemixer
|
||||||
easyeffects
|
easyeffects
|
||||||
patched-bitwig
|
patched-bitwig
|
||||||
@@ -92,7 +92,6 @@ in
|
|||||||
ffmpeg
|
ffmpeg
|
||||||
calibre
|
calibre
|
||||||
beets
|
beets
|
||||||
playerctl
|
|
||||||
# File management
|
# File management
|
||||||
zip
|
zip
|
||||||
unzip
|
unzip
|
||||||
@@ -108,10 +107,10 @@ in
|
|||||||
shellcheck
|
shellcheck
|
||||||
shfmt
|
shfmt
|
||||||
## Nix
|
## Nix
|
||||||
nixfmt
|
nixfmt-rfc-style
|
||||||
## Python
|
## Python
|
||||||
ty
|
basedpyright
|
||||||
ruff
|
black
|
||||||
## C/C++
|
## C/C++
|
||||||
clang-tools
|
clang-tools
|
||||||
## Go
|
## Go
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user