This commit is contained in:
Charlie Root 2025-01-07 19:54:27 +01:00
commit 0117d6155b
7 changed files with 21 additions and 33 deletions

View file

@ -21,7 +21,7 @@
modules = { modules = {
system = { system = {
impermanence.enable = true; impermanence.enable = false;
hardware = { hardware = {
nvidia.enable = true; nvidia.enable = true;
bluetooth = { bluetooth = {

View file

@ -1,45 +1,33 @@
{ {
config = { config = {
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/70952ef8-1d73-49ae-bd86-b7614f01fa86"; boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/10318654-ed20-43f6-885d-35366a427581";
fileSystems = { fileSystems = {
"/boot" = { "/boot" = {
device = "/dev/disk/by-uuid/466A-F45E"; device = "/dev/disk/by-uuid/5D7D-FC52";
fsType = "vfat"; fsType = "vfat";
}; };
# root on tmpfs
"/" = { "/" = {
device = "none"; device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
fsType = "tmpfs"; fsType = "btrfs";
options = ["defaults" "size=25%" "mode=755"]; options = ["compress=zstd" "noatime"];
}; };
"/nix" = { "/nix" = {
device = "/dev/disk/by-uuid/7fd4eb96-c9e6-450d-a7d6-1b2ef137a9f5"; device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=nix" "compress=zstd" "noatime"]; options = ["subvol=nix" "compress=zstd" "noatime"];
}; };
"/persist" = {
device = "/dev/disk/by-uuid/7fd4eb96-c9e6-450d-a7d6-1b2ef137a9f5";
neededForBoot = true;
fsType = "btrfs";
options = ["subvol=persist" "compress=zstd" "noatime"];
};
"/home" = { "/home" = {
device = "/dev/disk/by-uuid/7fd4eb96-c9e6-450d-a7d6-1b2ef137a9f5"; device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=home" "compress=zstd" "noatime"]; options = ["subvol=home" "compress=zstd" "noatime"];
}; };
"/swap" = {
device = "/dev/disk/by-uuid/7fd4eb96-c9e6-450d-a7d6-1b2ef137a9f5";
fsType = "btrfs";
options = ["subvol=swap" "compress=lzo" "noatime"];
};
}; };
swapDevices = [ # swapDevices = [
{ # {
device = "/swap/swapfile"; # device = "/swap/swapfile";
size = (1024 * 16) + (1024 * 2); # size = (1024 * 16) + (1024 * 2);
} # }
]; # ];
}; };
} }

View file

@ -55,7 +55,7 @@
polkit polkit
python3 python3
ripgrep ripgrep
signal-desktop-beta signal-desktop
smartmontools smartmontools
taskwarrior3 taskwarrior3
taskwarrior-tui taskwarrior-tui

View file

@ -7,7 +7,7 @@
inherit (config.meta.mainUser) username; inherit (config.meta.mainUser) username;
in { in {
users = { users = {
mutableUsers = false; mutableUsers = true;
users = { users = {
${username} = { ${username} = {
isNormalUser = true; isNormalUser = true;

View file

@ -16,8 +16,8 @@
title = "foot"; title = "foot";
locked-title = "no"; locked-title = "no";
font = "Iosevka Custom:size=14"; # font = "Iosevka Custom:size=14";
font-bold = "Iosevka Custom:size=14"; # font-bold = "Iosevka Custom:size=14";
line-height = 20; line-height = 20;
letter-spacing = 0; letter-spacing = 0;

View file

@ -48,7 +48,7 @@ in {
}; };
}; };
packages = with pkgs; [ packages = with pkgs; [
custom-iosevka # custom-iosevka
material-icons material-icons
material-design-icons material-design-icons
papirus-icon-theme papirus-icon-theme

View file

@ -14,7 +14,7 @@ in {
]; ];
config = mkIf cfg.enable { config = mkIf cfg.enable {
users = { users = {
mutableUsers = false; mutableUsers = true;
users = { users = {
cr = { cr = {
hashedPasswordFile = "/persist/passwords/cr"; hashedPasswordFile = "/persist/passwords/cr";