Compare commits

..
2 Commits
Author SHA1 Message Date
imxyy1soope1 bae1072493 server: update hardware config 2026-07-26 21:19:26 +08:00
imxyy1soope1 794260c5b8 agents: persist ~/.agents 2026-07-26 11:48:46 +08:00
2 changed files with 20 additions and 2 deletions
+18 -2
View File
@@ -5,7 +5,7 @@
... ...
}: }:
let let
btrfs = "/dev/disk/by-uuid/c7889c5c-c5b6-4e3c-9645-dfd49c2e84d0"; btrfs = "/dev/disk/by-uuid/1e1b403d-4a04-46ee-a6eb-cb4dd5f793a2";
in in
{ {
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
@@ -47,8 +47,24 @@ in
]; ];
}; };
fileSystems."/swap" = {
device = btrfs;
fsType = "btrfs";
options = [
"noatime"
"subvol=swap"
];
neededForBoot = true;
};
swapDevices = [
{
device = "/swap/swapfile";
size = 24 * 1024;
}
];
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/32AA-2998"; device = "/dev/disk/by-uuid/58F4-135A";
fsType = "vfat"; fsType = "vfat";
options = [ options = [
"uid=0" "uid=0"
+2
View File
@@ -22,6 +22,8 @@ in
}; };
my.persist = { my.persist = {
homeDirs = [ homeDirs = [
".agents"
".claude" ".claude"
".config/opencode" ".config/opencode"