Compare commits
5 Commits
master
...
5c61f322dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
5c61f322dc
|
|||
| 38e422cf3e | |||
| 7b0c1fc10d | |||
|
d85b00971e
|
|||
|
1257eab6c4
|
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
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -1,6 +1,5 @@
|
|||||||
switch:
|
switch:
|
||||||
nixos-rebuild switch --target-host root@localhost \
|
sudo nixos-rebuild switch --flake path://$(PWD)#
|
||||||
--build-host root@localhost --flake path://$(PWD)#panacea
|
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ with pkgs;
|
|||||||
{
|
{
|
||||||
# Kernel configuration
|
# Kernel configuration
|
||||||
boot = {
|
boot = {
|
||||||
|
kernelPackages = linuxPackages_zen;
|
||||||
blacklistedKernelModules = [
|
blacklistedKernelModules = [
|
||||||
"btusb"
|
"btusb"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
@@ -52,8 +53,6 @@ with pkgs;
|
|||||||
"root"
|
"root"
|
||||||
"coolneng"
|
"coolneng"
|
||||||
];
|
];
|
||||||
lazy-trees = true;
|
|
||||||
eval-cores = 2;
|
|
||||||
};
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
@@ -111,6 +110,7 @@ with pkgs;
|
|||||||
group = "systemd-network";
|
group = "systemd-network";
|
||||||
};
|
};
|
||||||
secrets.syncthing.file = secrets/syncthing.age;
|
secrets.syncthing.file = secrets/syncthing.age;
|
||||||
|
secrets.samba-ugent.file = secrets/samba-ugent.age;
|
||||||
secrets.msmtp.file = secrets/msmtp.age;
|
secrets.msmtp.file = secrets/msmtp.age;
|
||||||
identityPaths = [ "/etc/ssh/id_ed25519" ];
|
identityPaths = [ "/etc/ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
@@ -184,7 +184,6 @@ with pkgs;
|
|||||||
./modules/periodic.nix
|
./modules/periodic.nix
|
||||||
./modules/power.nix
|
./modules/power.nix
|
||||||
./modules/monitoring.nix
|
./modules/monitoring.nix
|
||||||
./modules/latest-zfs-kernel.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
359
flake.lock
generated
359
flake.lock
generated
@@ -10,11 +10,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762618334,
|
"lastModified": 1723293904,
|
||||||
"narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
|
"narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "fcdea223397448d35d9b31f798479227e80183f6",
|
"rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -24,12 +24,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
|
"flake-utils": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"lanzaboote",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-overlay": [
|
||||||
|
"lanzaboote",
|
||||||
|
"rust-overlay"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765739568,
|
"lastModified": 1681177078,
|
||||||
"narHash": "sha256-gQYx35Of4UDKUjAYvmxjUEh/DdszYeTtT6MDin4loGE=",
|
"narHash": "sha256-ZNIjBDou2GOabcpctiQykEQVkI8BDwk7TyvlWlI4myE=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "67d2baff0f9f677af35db61b32b5df6863bcc075",
|
"rev": "0c9f468ff00576577d83f5019a66c557ede5acf6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -62,11 +80,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744478979,
|
"lastModified": 1700795494,
|
||||||
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
"narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
"rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -76,87 +94,14 @@
|
|||||||
"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": {
|
||||||
"lastModified": 1696426674,
|
"lastModified": 1673956053,
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-compat_2": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1761588595,
|
|
||||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -168,64 +113,56 @@
|
|||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"determinate",
|
"lanzaboote",
|
||||||
"nix",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748821116,
|
"lastModified": 1680392223,
|
||||||
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
|
"narHash": "sha256-n3g7QFr85lDODKt250rkZj2IFS3i4/8HBU2yKHO3tqw=",
|
||||||
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
|
"owner": "hercules-ci",
|
||||||
"revCount": 377,
|
"repo": "flake-parts",
|
||||||
"type": "tarball",
|
"rev": "dcc36e45d054d7bb554c9cdab69093debd91a0b5",
|
||||||
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"owner": "hercules-ci",
|
||||||
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"git-hooks-nix": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"systems": "systems_2"
|
||||||
"gitignore": [
|
|
||||||
"determinate",
|
|
||||||
"nix"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"determinate",
|
|
||||||
"nix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747372754,
|
"lastModified": 1681202837,
|
||||||
"narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
|
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
|
||||||
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
|
"owner": "numtide",
|
||||||
"revCount": 1026,
|
"repo": "flake-utils",
|
||||||
"type": "tarball",
|
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
|
||||||
"url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"owner": "numtide",
|
||||||
"url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941"
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore": {
|
"gitignore": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"pre-commit",
|
"pre-commit-hooks-nix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709087332,
|
"lastModified": 1660459072,
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "gitignore.nix",
|
"repo": "gitignore.nix",
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -242,11 +179,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745494811,
|
"lastModified": 1703113217,
|
||||||
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
|
"narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
|
"rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -258,22 +195,26 @@
|
|||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
"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": 1765887029,
|
"lastModified": 1682802423,
|
||||||
"narHash": "sha256-s6LGO6kMlHRdnspV0LReSi47iaYaJ/Oveb4rM9fklPM=",
|
"narHash": "sha256-Fb5TeRTdvUlo/5Yi2d+FC8a6KoRLk2h1VE0/peMhWPs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"rev": "5a8c9b5339588bb6ec388da5d0a6e701a46a82c4",
|
"rev": "64b903ca87d18cef2752c19c098af275c6e51d63",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
|
"ref": "v0.3.0",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -281,8 +222,8 @@
|
|||||||
"local-bitwig": {
|
"local-bitwig": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765321606,
|
"lastModified": 1704673203,
|
||||||
"narHash": "sha256-WteEWi5GPrGGfzLNTEmgQaH5/DAT/zeZofbBE6D+Po8=",
|
"narHash": "sha256-n8gLgN6QEVuHe30kQZ/gCWInDHwDpPWOB5RgVh1tSt8=",
|
||||||
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
@@ -291,27 +232,6 @@
|
|||||||
"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": [
|
||||||
@@ -319,11 +239,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765267181,
|
"lastModified": 1731814505,
|
||||||
"narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=",
|
"narHash": "sha256-l9ryrx1Twh08a+gxrMGM9O/aZKEimZfa6sZVyPCImgI=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f",
|
"rev": "bdba246946fb079b87b4cada4df9b1cdf1c06132",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -334,11 +254,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764440730,
|
"lastModified": 1731797098,
|
||||||
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
|
"narHash": "sha256-UhWmEZhwJZmVZ1jfHZFzCg+ZLO9Tb/v3Y6LC0UNyeTo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
|
"rev": "672ac2ac86f7dff2f6f3406405bddecf960e0db6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -349,95 +269,58 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761597516,
|
"lastModified": 1731676054,
|
||||||
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
|
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
|
||||||
"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": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-23-11": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1717159533,
|
|
||||||
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"id": "nixpkgs",
|
||||||
"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",
|
"ref": "nixos-unstable",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1678872516,
|
||||||
|
"narHash": "sha256-/E1YwtMtFAu2KUQKV/1+KFuReYPANM2Rzehk84VxVoc=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-22.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit": {
|
"pre-commit-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
|
"flake-utils": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
],
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765464257,
|
"lastModified": 1681413034,
|
||||||
"narHash": "sha256-dixPWKiHzh80PtD0aLuxYNQ0xP+843dfXG/yM3OzaYQ=",
|
"narHash": "sha256-/t7OjNQcNkeWeSq/CFLYVBfm+IEnkjoSm9iKvArnUUI=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "09e45f2598e1a8499c3594fe11ec2943f34fe509",
|
"rev": "d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -450,27 +333,30 @@
|
|||||||
"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_3"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765680428,
|
"lastModified": 1682129965,
|
||||||
"narHash": "sha256-fyPmRof9SZeI14ChPk5rVPOm7ISiiGkwGCunkhM+eUg=",
|
"narHash": "sha256-1KRPIorEL6pLpJR04FwAqqnt4Tzcm4MqD84yhlD+XSk=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "eb3898d8ef143d4bf0f7f2229105fc51c7731b2f",
|
"rev": "2c417c0460b788328220120c698630947547ee83",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -493,6 +379,21 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"systems_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
30
flake.nix
30
flake.nix
@@ -2,16 +2,15 @@
|
|||||||
description = "System configuration for panacea";
|
description = "System configuration for panacea";
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = "https://cachix.cachix.org https://nix-community.cachix.org https://install.determinate.systems";
|
extra-substituters =
|
||||||
|
"https://cachix.cachix.org https://nix-community.cachix.org";
|
||||||
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 = "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,18 +25,16 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
url = "github:nix-community/lanzaboote";
|
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||||
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = { self, nixpkgs, ... }@inputs:
|
||||||
{ self, nixpkgs, ... }@inputs:
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
@@ -46,22 +43,16 @@
|
|||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = [
|
overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
emacs-vterm = (
|
emacs-vterm =
|
||||||
(pkgs.emacsPackagesFor pkgs.emacs-pgtk).emacsWithPackages (
|
((pkgs.emacsPackagesFor pkgs.emacs29-pgtk).emacsWithPackages
|
||||||
epkgs: with epkgs; [
|
(epkgs: with epkgs; [ vterm mu4e ]));
|
||||||
vterm
|
|
||||||
mu4e
|
|
||||||
]
|
|
||||||
)
|
|
||||||
);
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
nixosConfigurations.panacea = lib.nixosSystem {
|
nixosConfigurations.panacea = lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
@@ -70,7 +61,6 @@
|
|||||||
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,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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ let
|
|||||||
folder = ../cachix;
|
folder = ../cachix;
|
||||||
toImport = name: value: folder + ("/" + name);
|
toImport = name: value: folder + ("/" + name);
|
||||||
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
|
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
|
||||||
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
|
imports = lib.mapAttrsToList toImport
|
||||||
in
|
(lib.filterAttrs filterCaches (builtins.readDir folder));
|
||||||
{
|
in {
|
||||||
inherit imports;
|
inherit imports;
|
||||||
nix.binaryCaches = [ "https://cache.nixos.org/" ];
|
nix.binaryCaches = [ "https://cache.nixos.org/" ];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
devices.zion = {
|
devices.zion = {
|
||||||
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
|
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
|
||||||
addresses = [ "tcp://192.168.128.2:22000" ];
|
addresses = [ "tcp://192.168.13.2:22000" ];
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
Documents = {
|
Documents = {
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# Improve nix-shell and direnv integration
|
# Improve nix-shell and direnv integration
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -28,9 +30,9 @@ with pkgs;
|
|||||||
swaylock
|
swaylock
|
||||||
swayidle
|
swayidle
|
||||||
swaybg
|
swaybg
|
||||||
rofi
|
rofi-wayland
|
||||||
waybar
|
waybar
|
||||||
cliphist
|
clipman
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
@@ -51,7 +53,6 @@ with pkgs;
|
|||||||
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
|
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
|
||||||
export GIT_CONFIG_NOSYSTEM=true
|
export GIT_CONFIG_NOSYSTEM=true
|
||||||
export SYSTEMD_LESS=FRSMK
|
export SYSTEMD_LESS=FRSMK
|
||||||
export WLR_RENDERER=vulkan
|
|
||||||
'';
|
'';
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,66 +1,56 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports =
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" ];
|
||||||
"nvme"
|
|
||||||
"xhci_pci"
|
|
||||||
"usbhid"
|
|
||||||
];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" =
|
||||||
device = "syscea/stateful/root";
|
{ device = "syscea/stateful/root";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" =
|
||||||
device = "syscea/ephemeral/nix";
|
{ device = "syscea/ephemeral/nix";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/ugent" = {
|
fileSystems."/ugent" =
|
||||||
device = "systemd-1";
|
{ device = "systemd-1";
|
||||||
fsType = "autofs";
|
fsType = "autofs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home/coolneng" = {
|
fileSystems."/home/coolneng" =
|
||||||
device = "syscea/stateful/home";
|
{ device = "syscea/stateful/home";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/tmp" = {
|
fileSystems."/tmp" =
|
||||||
device = "syscea/ephemeral/tmp";
|
{ device = "syscea/ephemeral/tmp";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home/coolneng/Downloads" = {
|
fileSystems."/home/coolneng/Downloads" =
|
||||||
device = "syscea/stateful/home/downloads";
|
{ device = "syscea/stateful/home/downloads";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" =
|
||||||
device = "/dev/disk/by-uuid/C374-A2FD";
|
{ device = "/dev/disk/by-uuid/C374-A2FD";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices =
|
||||||
{ device = "/dev/disk/by-uuid/1231a42f-a71a-4c67-b4d8-7506c02a8328"; }
|
[ { device = "/dev/disk/by-uuid/1231a42f-a71a-4c67-b4d8-7506c02a8328"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
isUnstable = config.boot.zfs.package == pkgs.zfs_unstable;
|
|
||||||
zfsCompatibleKernelPackages = lib.filterAttrs (
|
|
||||||
name: kernelPackages:
|
|
||||||
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
|
||||||
&& (builtins.tryEval kernelPackages).success
|
|
||||||
&& (
|
|
||||||
(!isUnstable && !kernelPackages.zfs.meta.broken)
|
|
||||||
|| (isUnstable && !kernelPackages.zfs_unstable.meta.broken)
|
|
||||||
)
|
|
||||||
) pkgs.linuxKernel.packages;
|
|
||||||
latestKernelPackage = lib.last (
|
|
||||||
lib.sort (a: b: (lib.versionOlder a.kernel.version b.kernel.version)) (
|
|
||||||
builtins.attrValues zfsCompatibleKernelPackages
|
|
||||||
)
|
|
||||||
);
|
|
||||||
in
|
|
||||||
{
|
|
||||||
# Note this might jump back and worth as kernel get added or removed.
|
|
||||||
boot.kernelPackages = lib.mkIf (lib.meta.availableOn pkgs.hostPlatform pkgs.zfs) latestKernelPackage;
|
|
||||||
}
|
|
||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
@@ -11,14 +6,13 @@ let
|
|||||||
sender = "akasroua@disroot.org";
|
sender = "akasroua@disroot.org";
|
||||||
recipient = "akasroua+smart@disroot.org";
|
recipient = "akasroua+smart@disroot.org";
|
||||||
|
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
# Notify when a disk starts going haywire
|
# Notify when a disk starts going haywire
|
||||||
services.smartd = {
|
services.smartd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaults.monitored = "-H -f -t -C 197 -U 198 -d nvme";
|
defaults.monitored = "-H -f -t -C 197 -U 198 -d nvme";
|
||||||
autodetect = false;
|
autodetect = false;
|
||||||
devices = [ { device = "/dev/nvme0"; } ];
|
devices = [{ device = "/dev/nvme0"; }];
|
||||||
notifications.mail = {
|
notifications.mail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
sender = sender;
|
sender = sender;
|
||||||
|
|||||||
@@ -1,15 +1,8 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let wireguard_port = "1194";
|
||||||
wireguard_port = "1194";
|
|
||||||
|
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
# Set hostname, hostid and enable WiFi
|
# Set hostname, hostid and enable WiFi
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "panacea";
|
hostName = "panacea";
|
||||||
@@ -53,11 +46,11 @@ in
|
|||||||
name = "wlan0";
|
name = "wlan0";
|
||||||
matchConfig = {
|
matchConfig = {
|
||||||
Name = "wlan0";
|
Name = "wlan0";
|
||||||
SSID = "anakinosi-5GHz";
|
SSID = "Zingarata";
|
||||||
};
|
};
|
||||||
address = [ "192.168.129.3/23" ];
|
address = [ "192.168.13.131/24" ];
|
||||||
gateway = [ "192.168.128.1" ];
|
gateway = [ "192.168.13.1" ];
|
||||||
dns = [ "192.168.128.2" ];
|
dns = [ "192.168.13.2" ];
|
||||||
networkConfig.MulticastDNS = "yes";
|
networkConfig.MulticastDNS = "yes";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -69,7 +62,7 @@ in
|
|||||||
};
|
};
|
||||||
address = [ "192.168.13.3/24" ];
|
address = [ "192.168.13.3/24" ];
|
||||||
gateway = [ "192.168.13.1" ];
|
gateway = [ "192.168.13.1" ];
|
||||||
dns = [ "1.1.1.1" ];
|
dns = [ "192.168.13.2" ];
|
||||||
networkConfig.MulticastDNS = "yes";
|
networkConfig.MulticastDNS = "yes";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -84,45 +77,33 @@ in
|
|||||||
PrivateKeyFile = config.age.secrets.wireguard.path;
|
PrivateKeyFile = config.age.secrets.wireguard.path;
|
||||||
FirewallMark = 34952;
|
FirewallMark = 34952;
|
||||||
};
|
};
|
||||||
wireguardPeers = [
|
wireguardPeers = [{
|
||||||
{
|
PublicKey = "GN8lqPBZYOulh6xD4GhkoEWI65HMMCpSxJSH5871YnU=";
|
||||||
PublicKey = "GN8lqPBZYOulh6xD4GhkoEWI65HMMCpSxJSH5871YnU=";
|
AllowedIPs = [ "0.0.0.0/0" ];
|
||||||
AllowedIPs = [
|
Endpoint = "coolneng.duckdns.org:1194";
|
||||||
"0.0.0.0/0"
|
}];
|
||||||
"::0"
|
|
||||||
];
|
|
||||||
Endpoint = "psydnd.org:1194";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
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"
|
DNS = "10.8.0.1";
|
||||||
"fd00::2/128"
|
|
||||||
];
|
|
||||||
DNS = [
|
|
||||||
"10.8.0.1"
|
|
||||||
"fd00::2"
|
|
||||||
];
|
|
||||||
DNSDefaultRoute = true;
|
DNSDefaultRoute = true;
|
||||||
|
Domains = "~.";
|
||||||
|
MulticastDNS = "yes";
|
||||||
};
|
};
|
||||||
routingPolicyRules = [
|
routingPolicyRules = [{
|
||||||
{
|
FirewallMark = 34952;
|
||||||
FirewallMark = 34952;
|
InvertRule = true;
|
||||||
InvertRule = true;
|
Table = 1000;
|
||||||
Table = 1000;
|
Priority = 10;
|
||||||
Priority = 10;
|
}];
|
||||||
}
|
routes = [{
|
||||||
];
|
Gateway = "10.8.0.1";
|
||||||
routes = [
|
GatewayOnLink = true;
|
||||||
{
|
Table = 1000;
|
||||||
Gateway = "10.8.0.1";
|
}];
|
||||||
GatewayOnLink = true;
|
|
||||||
Table = 1000;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
@@ -144,15 +125,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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,65 +1,94 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
let
|
let isync-oauth2 = (isync.override { withCyrusSaslXoauth2 = true; });
|
||||||
isync-oauth2 = (isync.override { withCyrusSaslXoauth2 = true; });
|
|
||||||
|
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
# Upgrade Doom Emacs daily
|
# Upgrade Doom Emacs daily
|
||||||
systemd.user.services.doom-upgrade = {
|
systemd.user.services.doom-upgrade = {
|
||||||
description = "Upgrade Doom Emacs";
|
description = "Upgrade Doom Emacs";
|
||||||
path = [
|
path = [ bash emacs-vterm git coreutils ];
|
||||||
bash
|
|
||||||
emacs-vterm
|
|
||||||
git
|
|
||||||
coreutils
|
|
||||||
];
|
|
||||||
script = ''
|
script = ''
|
||||||
/home/coolneng/.emacs.d/bin/doom -! upgrade
|
${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 git gitAndTools.pass-git-helper ];
|
||||||
pass-wayland
|
|
||||||
git
|
|
||||||
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";
|
||||||
startAt = "18:00:00";
|
startAt = "18:00:00";
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Sync mail using IMAP IDLE
|
# Sync mail using IDLE
|
||||||
systemd.user.services.goimapnotify = {
|
systemd.user.services.goimapnotify-ugent = {
|
||||||
description = "Sync mail using IMAP IDLE";
|
description = "Sync UGent mail using IMAP IDLE";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [
|
path = [
|
||||||
goimapnotify
|
goimapnotify
|
||||||
pass-wayland
|
pass-wayland
|
||||||
isync-oauth2
|
isync-oauth2
|
||||||
mu
|
mu
|
||||||
|
python39
|
||||||
|
gnupg
|
||||||
|
nix
|
||||||
procps
|
procps
|
||||||
emacs-vterm
|
emacs-vterm
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/goimapnotify.yaml
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStartPre = "/home/coolneng/.local/share/scripts/mail-sync";
|
ExecStartPre = "/home/coolneng/.local/share/scripts/mail-sync ugent";
|
||||||
|
Type = "simple";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = 20;
|
||||||
|
};
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.goimapnotify-gmail = {
|
||||||
|
description = "Sync gmail mail using IMAP IDLE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
path = [ goimapnotify pass-wayland isync-oauth2 mu procps emacs-vterm ];
|
||||||
|
script = ''
|
||||||
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
||||||
|
'';
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStartPre = "/home/coolneng/.local/share/scripts/mail-sync gmail";
|
||||||
|
Type = "simple";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = 20;
|
||||||
|
};
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.goimapnotify-disroot = {
|
||||||
|
description = "Sync disroot mail using IMAP IDLE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
path = [ goimapnotify pass-wayland isync-oauth2 mu procps emacs-vterm ];
|
||||||
|
script = ''
|
||||||
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/disroot.conf
|
||||||
|
'';
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStartPre = "/home/coolneng/.local/share/scripts/mail-sync disroot";
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 20;
|
RestartSec = 20;
|
||||||
@@ -71,16 +100,8 @@ in
|
|||||||
systemd.user.services.periodic-mail-sync = {
|
systemd.user.services.periodic-mail-sync = {
|
||||||
description = "Run a mail sync operation periodically";
|
description = "Run a mail sync operation periodically";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [
|
path =
|
||||||
pass-wayland
|
[ pass-wayland isync-oauth2 mu procps emacs-vterm python39 gnupg nix ];
|
||||||
isync-oauth2
|
|
||||||
mu
|
|
||||||
procps
|
|
||||||
emacs-vterm
|
|
||||||
python3
|
|
||||||
gnupg
|
|
||||||
nix
|
|
||||||
];
|
|
||||||
script = ''
|
script = ''
|
||||||
/home/coolneng/.local/share/scripts/mail-sync -a
|
/home/coolneng/.local/share/scripts/mail-sync -a
|
||||||
'';
|
'';
|
||||||
@@ -95,34 +116,26 @@ in
|
|||||||
script = "chmod 751 /home/coolneng";
|
script = "chmod 751 /home/coolneng";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
after = [ "home-coolneng.mount" ];
|
after = [ "home-coolneng.mount" ];
|
||||||
before = [
|
before = [ "mopidy.service" "mopidy-scan.service" ];
|
||||||
"mopidy.service"
|
|
||||||
"mopidy-scan.service"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Push panacea changes to git daily
|
# Push panacea changes to git daily
|
||||||
systemd.user.services.panacea-push = {
|
systemd.user.services.panacea-push = {
|
||||||
description = "Push panacea changes to git";
|
description = "Push panacea changes to git";
|
||||||
path = [
|
path = [ pass-wayland git gitAndTools.pass-git-helper ];
|
||||||
pass-wayland
|
|
||||||
git
|
|
||||||
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" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Show notification when the battery is low
|
# Pull changes from zion daily
|
||||||
systemd.user.services.swaynag-battery = {
|
systemd.user.services.zion-pull = {
|
||||||
description = "Show notification when the battery is low";
|
description = "Pull zion changes to git";
|
||||||
path = [
|
path = [ git ];
|
||||||
swaynag-battery
|
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/zion pull";
|
||||||
sway
|
serviceConfig.Type = "oneshot";
|
||||||
];
|
startAt = "10:00:00";
|
||||||
script = "${pkgs.swaynag-battery}/bin/swaynag-battery --threshold 10";
|
after = [ "network-online.target" ];
|
||||||
wantedBy = [ "sway-session.target" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable power-profiles-daemon
|
# Enable power-profiles-daemon
|
||||||
|
|||||||
@@ -1,18 +1,10 @@
|
|||||||
{
|
{ config, lib, pkgs, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable CUPS
|
# Enable CUPS
|
||||||
services.printing = {
|
services.printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = with pkgs; [
|
drivers = with pkgs; [ brgenml1cupswrapper hplip ];
|
||||||
brgenml1cupswrapper
|
|
||||||
hplip
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable SANE
|
# Enable SANE
|
||||||
|
|||||||
@@ -36,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
|
||||||
@@ -48,6 +48,7 @@ in
|
|||||||
texlab
|
texlab
|
||||||
# Text editors
|
# Text editors
|
||||||
neovim
|
neovim
|
||||||
|
neovim-remote
|
||||||
emacs-vterm
|
emacs-vterm
|
||||||
# Emacs dependencies
|
# Emacs dependencies
|
||||||
(ripgrep.override { withPCRE2 = true; })
|
(ripgrep.override { withPCRE2 = true; })
|
||||||
@@ -63,15 +64,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
|
||||||
@@ -88,9 +88,9 @@ in
|
|||||||
# Media
|
# Media
|
||||||
gimp
|
gimp
|
||||||
custom-mpv
|
custom-mpv
|
||||||
|
nodePackages.webtorrent-cli
|
||||||
deluge
|
deluge
|
||||||
yt-dlp-light
|
yt-dlp-light
|
||||||
ffmpeg
|
|
||||||
calibre
|
calibre
|
||||||
beets
|
beets
|
||||||
# File management
|
# File management
|
||||||
@@ -110,8 +110,8 @@ in
|
|||||||
## Nix
|
## Nix
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
## Python
|
## Python
|
||||||
ty
|
pyright
|
||||||
ruff
|
black
|
||||||
## C/C++
|
## C/C++
|
||||||
clang-tools
|
clang-tools
|
||||||
## Go
|
## Go
|
||||||
@@ -124,11 +124,11 @@ in
|
|||||||
# Fonts declaration
|
# Fonts declaration
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
google-fonts
|
google-fonts
|
||||||
|
inconsolata-nerdfont
|
||||||
terminus_font_ttf
|
terminus_font_ttf
|
||||||
iosevka-bin
|
iosevka-bin
|
||||||
libertine
|
libertine
|
||||||
nerd-fonts.inconsolata
|
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
|
||||||
nerd-fonts.symbols-only
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
BIN
secrets/samba-ugent.age
Normal file
BIN
secrets/samba-ugent.age
Normal file
Binary file not shown.
@@ -1,8 +1,9 @@
|
|||||||
let
|
let
|
||||||
coolneng = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC57m1j/G6iQyi2EpU3nj3+df5Z4PL/XbiOmDcqA7ODg";
|
coolneng =
|
||||||
in
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC57m1j/G6iQyi2EpU3nj3+df5Z4PL/XbiOmDcqA7ODg";
|
||||||
{
|
in {
|
||||||
"wireguard.age".publicKeys = [ coolneng ];
|
"wireguard.age".publicKeys = [ coolneng ];
|
||||||
"syncthing.age".publicKeys = [ coolneng ];
|
"syncthing.age".publicKeys = [ coolneng ];
|
||||||
|
"samba-ugent.age".publicKeys = [ coolneng ];
|
||||||
"msmtp.age".publicKeys = [ coolneng ];
|
"msmtp.age".publicKeys = [ coolneng ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user