Reset protostar

This commit is contained in:
Sicheng Pan 2025-06-28 17:34:02 -05:00
parent b453e7faba
commit 1e3a1e0977
Signed by: macronova
GPG key ID: CE969670FB4B4A56
5 changed files with 6 additions and 51 deletions

View file

@ -10,6 +10,5 @@
./network.nix
./syncthing.nix
./tailscale.nix
./zfs.nix
];
}

View file

@ -15,56 +15,16 @@
mountpoint = "/boot";
};
};
zfs = {
root = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
# Construct the primary zfs pool for this system.
zpool.zroot = {
type = "zpool";
options = {
ashift = "12";
autotrim = "on";
listsnapshots = "on";
};
rootFsOptions = {
acltype = "posix";
atime = "off";
compression = "zstd";
dnodesize = "auto";
mountpoint = "none";
normalization = "formD";
xattr = "sa";
};
datasets = {
# Create dataset for home
home = {
type = "zfs_fs";
mountpoint = "/home";
};
# Create dataset for nix store
nix = {
type = "zfs_fs";
mountpoint = "/nix";
};
# Create dataset for root
root = {
type = "zfs_fs";
mountpoint = "/";
};
# Reserve space for performance
reservation = {
type = "zfs_fs";
options.refreservation = "128G";
};
};
};
};
}

View file

@ -11,11 +11,8 @@ in {
home = {
file.".local/share/fonts".source = config.lib.file.mkOutOfStoreSymlink "/run/current-system/sw/share/X11/fonts";
packages = with jovianPkgs; [
feishin
lutris
maliit-keyboard
retroarchFull
ryujinx
winetricks
wineWowPackages.stagingFull
];

View file

@ -4,12 +4,12 @@
settings.folders = {
game-data = {
devices = ["quasar"];
path = "~/Game/data";
path = "~//data";
type = "receiveonly";
};
game-save = {
devices = ["quasar"];
path = "~/Game/save";
path = "~//save";
};
};
};

View file

@ -23,7 +23,6 @@ in {
picard
qbittorrent
retroarchFull
ryujinx
telegram-desktop
thunderbird
via