Compare commits

...

13 Commits

Author SHA1 Message Date
70d7ecadbe Add playerctl to packages 2026-02-03 11:48:51 +01:00
a57d836aa7 Rename nixfmt package due to upstream changes 2026-02-03 11:40:50 +01:00
7ca59c1162 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/62c8382' (2026-01-30)
  → 'github:NixOS/nixpkgs/cb369ef' (2026-02-02)
2026-02-03 10:06:40 +01:00
70e7d619dd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bfc1b8a' (2026-01-26)
  → 'github:NixOS/nixpkgs/62c8382' (2026-01-30)
2026-02-02 13:40:29 +01:00
bf03158d71 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c5296fd' (2026-01-23)
  → 'github:NixOS/nixpkgs/bfc1b8a' (2026-01-26)
2026-01-28 09:55:08 +01:00
13d9fa6d42 Adapt resolved config to upstream changes 2026-01-26 01:14:35 +01:00
72e2d67d15 flake.lock: Update
Flake lock file updates:

• Updated input 'determinate':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.1/019b4e8a-dc22-75db-aef5-a447efbb1a13/source.tar.gz' (2025-12-24)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.2/019bde7d-0725-73ef-9705-498c50ef6e00/source.tar.gz' (2026-01-21)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
    'https://install.determinate.systems/determinate-nixd/tag/v3.15.1/macOS'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.15.1/aarch64-linux'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.15.1/x86_64-linux'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux'
• Updated input 'determinate/nix':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.1/019b4e84-d036-75db-b6c6-6bc2e2035c53/source.tar.gz' (2025-12-24)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.2/019bde75-b4ee-74b2-a812-28dc2ee83d58/source.tar.gz' (2026-01-21)
• Updated input 'determinate/nixpkgs':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.914780%2Brev-306ea70f9eb0fb4e040f8540e2deab32ed7e2055/019b49b8-ed0f-724e-bdaf-5fd90cc1c590/source.tar.gz' (2025-12-21)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.930106%2Brev-bde09022887110deb780067364a0818e89258968/019bd9ed-5f0b-7074-afb0-8bb5e13a7598/source.tar.gz' (2026-01-19)
• Updated input 'lanzaboote':
    'github:nix-community/lanzaboote/ba5f082' (2026-01-12)
  → 'github:nix-community/lanzaboote/4673781' (2026-01-25)
• Updated input 'lanzaboote/crane':
    'github:ipetkov/crane/7d59256' (2026-01-03)
  → 'github:ipetkov/crane/0314e36' (2026-01-24)
• Updated input 'lanzaboote/pre-commit':
    'github:cachix/pre-commit-hooks.nix/f092770' (2026-01-01)
  → 'github:cachix/pre-commit-hooks.nix/a1ef738' (2026-01-22)
• Updated input 'lanzaboote/rust-overlay':
    'github:oxalica/rust-overlay/cb24c5c' (2026-01-04)
  → 'github:oxalica/rust-overlay/22da29e' (2026-01-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/40b1a28' (2025-12-31)
  → 'github:NixOS/nixos-hardware/a351494' (2026-01-25)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1412caf' (2026-01-13)
  → 'github:NixOS/nixpkgs/c5296fd' (2026-01-23)
2026-01-26 00:26:05 +01:00
11c307e113 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ffbc9f8' (2026-01-11)
  → 'github:NixOS/nixpkgs/1412caf' (2026-01-13)
2026-01-15 16:24:31 +01:00
59358de472 Perform AOT compilation of Emacs during upgrade 2026-01-12 17:04:44 +01:00
d7b0a7689b Add package to automount removable media 2026-01-12 16:51:16 +01:00
04d836f886 Add ability to execute Make target from any path 2026-01-12 16:49:15 +01:00
c56fef89a9 Set FN key settings for Nuphy keyboard 2026-01-12 16:48:11 +01:00
ae8e689ce2 Adapt MPV configuration to upstream changes 2026-01-12 16:46:38 +01:00
7 changed files with 57 additions and 51 deletions

View File

@@ -1,6 +1,8 @@
DIR=$(HOME)/Projects/panacea
switch:
nixos-rebuild switch --target-host root@localhost \
--build-host root@localhost --flake path://$(PWD)#panacea
--build-host root@localhost --flake path://$(DIR)#panacea
update:
nix flake update --commit-lock-file

View File

@@ -15,9 +15,12 @@ with pkgs;
"btusb"
"bluetooth"
];
# ZFS Arc size and Nuphy keyboard FN settings
kernelParams = [
"zfs.zfs_arc_max=8589934592"
"zfs.zfs_arc_min=1073741824"
"hid_apple.fnmode=2"
"hid_apple.swap_opt_cmd=1"
];
supportedFilesystems = [ "zfs" ];
zfs = {

84
flake.lock generated
View File

@@ -25,11 +25,11 @@
},
"crane": {
"locked": {
"lastModified": 1767461147,
"narHash": "sha256-TH/xTeq/RI+DOzo+c+4F431eVuBpYVwQwBxzURe7kcI=",
"lastModified": 1769287525,
"narHash": "sha256-gABuYA6BzoRMLuPaeO5p7SLrpd4qExgkwEmYaYQY4bM=",
"owner": "ipetkov",
"repo": "crane",
"rev": "7d59256814085fd9666a2ae3e774dc5ee216b630",
"rev": "0314e365877a85c9e5758f9ea77a9972afbb4c21",
"type": "github"
},
"original": {
@@ -85,12 +85,12 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1766549083,
"narHash": "sha256-G1Hljg7vIBt8n9cxO382YAZWtZU/mYfQcg3icdNG8RQ=",
"rev": "ba8999fac986e70f52b4cba15047be7bbb7b6346",
"revCount": 318,
"lastModified": 1768964099,
"narHash": "sha256-sV1OJYyktJRl7I3HxeBvWTWXjqm2uCTS3gS1p+DLn7c=",
"rev": "a5469e9aa3870941320cb92d899b66e141c5a3cd",
"revCount": 394,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.1/019b4e8a-dc22-75db-aef5-a447efbb1a13/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.15.2/019bde7d-0725-73ef-9705-498c50ef6e00/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -100,37 +100,37 @@
"determinate-nixd-aarch64-darwin": {
"flake": false,
"locked": {
"narHash": "sha256-uWDS94cAYprGj+AwuT42nuuDDicRLj1S0JwalZGeBRU=",
"narHash": "sha256-zK2dgNHh/p92rk5jN+Y1LOMn0HEdTsS+7XXwb2g52oM=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/macOS"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/macOS"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS"
}
},
"determinate-nixd-aarch64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-uHBcZCh2/Bj5/88TDihupA336tSQDk7s5lVP66IDAX0=",
"narHash": "sha256-ckvZP0zFcbzLXWYOJUqYXkKBt0b2IZcQEr7YjEVtwOI=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/aarch64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/aarch64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux"
}
},
"determinate-nixd-x86_64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-y+l05H6GNv/1WcrMztDYem8VBWqjc9gNg4WjeQ1PQxo=",
"narHash": "sha256-8dLtm8FJrpyBmrNpspJj30/6I5HGEfjjXuFqURcZ8pk=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/x86_64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.1/x86_64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux"
}
},
"flake-compat": {
@@ -265,11 +265,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1768208826,
"narHash": "sha256-HWnVcDDuBCHUDoDpNADw1LybfF4jKofGAynV4HDRRrg=",
"lastModified": 1769301952,
"narHash": "sha256-XxYnvAPv2kZBTUywng8mvX2OJtq0Dx3FDyta1NmSjRc=",
"owner": "nix-community",
"repo": "lanzaboote",
"rev": "ba5f08218d4f14bf1baeeb69eaadb7a2f2d995af",
"rev": "4673781e286eeeb35fec07b01cad87d41d94a349",
"type": "github"
},
"original": {
@@ -300,12 +300,12 @@
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1766546676,
"narHash": "sha256-GsC52VFF9Gi2pgP/haQyPdQoF5Qe2myk1tsPcuJZI28=",
"rev": "51dacdd248e8071cd0243a8245c8c42ac1f33307",
"revCount": 24299,
"lastModified": 1768960381,
"narHash": "sha256-32oMe1y+kwvIJNiJsIvozTuSmDxcwST06i+0ak+L4AU=",
"rev": "45ce621408cb8c9a724193d5fe858eb839662db8",
"revCount": 24453,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.1/019b4e84-d036-75db-b6c6-6bc2e2035c53/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.2/019bde75-b4ee-74b2-a812-28dc2ee83d58/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -334,11 +334,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1767185284,
"narHash": "sha256-ljDBUDpD1Cg5n3mJI81Hz5qeZAwCGxon4kQW3Ho3+6Q=",
"lastModified": 1769302137,
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "40b1a28dce561bea34858287fbb23052c3ee63fe",
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8",
"type": "github"
},
"original": {
@@ -395,12 +395,12 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1766314097,
"narHash": "sha256-laJftWbghBehazn/zxVJ8NdENVgjccsWAdAqKXhErrM=",
"rev": "306ea70f9eb0fb4e040f8540e2deab32ed7e2055",
"revCount": 914780,
"lastModified": 1768783163,
"narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=",
"rev": "bde09022887110deb780067364a0818e89258968",
"revCount": 930106,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.914780%2Brev-306ea70f9eb0fb4e040f8540e2deab32ed7e2055/019b49b8-ed0f-724e-bdaf-5fd90cc1c590/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.930106%2Brev-bde09022887110deb780067364a0818e89258968/019bd9ed-5f0b-7074-afb0-8bb5e13a7598/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -409,11 +409,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1768127708,
"narHash": "sha256-1Sm77VfZh3mU0F5OqKABNLWxOuDeHIlcFjsXeeiPazs=",
"lastModified": 1770019141,
"narHash": "sha256-VKS4ZLNx4PNrABoB0L8KUpc1fE7CLpQXQs985tGfaCU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ffbc9f8cbaacfb331b6017d5a5abb21a492c9a38",
"rev": "cb369ef2efd432b3cdf8622b0ffc0a97a02f3137",
"type": "github"
},
"original": {
@@ -433,11 +433,11 @@
]
},
"locked": {
"lastModified": 1767281941,
"narHash": "sha256-6MkqajPICgugsuZ92OMoQcgSHnD6sJHwk8AxvMcIgTE=",
"lastModified": 1769069492,
"narHash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "f0927703b7b1c8d97511c4116eb9b4ec6645a0fa",
"rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
"type": "github"
},
"original": {
@@ -466,11 +466,11 @@
]
},
"locked": {
"lastModified": 1767495280,
"narHash": "sha256-hEEgtE/RSRigw8xscchGymf/t1nluZwTfru4QF6O1CQ=",
"lastModified": 1769222645,
"narHash": "sha256-gu6oZ86zLudBZMq8LL1qdtYt/S69GV5keQVXdvBrVSU=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "cb24c5cc207ba8e9a4ce245eedd2d37c3a988bc1",
"rev": "22da29e7f3d8cff75009cbbcf992c7cb66920cfd",
"type": "github"
},
"original": {

View File

@@ -39,6 +39,7 @@ with pkgs;
kitty
qt5.qtwayland
glib
udiskie
];
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1

View File

@@ -32,10 +32,10 @@ in
# Enable mDNS
services.resolved = {
enable = true;
llmnr = "false";
extraConfig = ''
MulticastDNS=yes
'';
settings.Resolve = {
MulticastDNS = "yes";
LLMNR = "false";
};
};
# Prioritize ethernet over WiFi

View File

@@ -22,7 +22,7 @@ in
coreutils
];
script = ''
/home/coolneng/.emacs.d/bin/doom -! upgrade
/home/coolneng/.emacs.d/bin/doom -! upgrade --aot
'';
serviceConfig.Type = "oneshot";
startAt = "22:00:00";

View File

@@ -10,8 +10,7 @@ with pkgs;
let
custom-mpv = (
mpv-unwrapped.wrapper {
mpv = mpv-unwrapped;
mpv.override {
scripts = with mpvScripts; [
sponsorblock-minimal
mpv-cheatsheet
@@ -93,6 +92,7 @@ in
ffmpeg
calibre
beets
playerctl
# File management
zip
unzip
@@ -108,7 +108,7 @@ in
shellcheck
shfmt
## Nix
nixfmt-rfc-style
nixfmt
## Python
ty
ruff