This commit is contained in:
Andrea Ciceri 2023-10-13 21:27:03 +02:00
parent 128e701625
commit c8bd8acd8b
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
7 changed files with 240 additions and 176 deletions

View file

@ -12,34 +12,43 @@
"common"
"ssh"
"ccr"
"mara"
"xfce"
# "mara"
# "xfce"
"battery"
"printing"
"wireguard-client"
];
ccr.enable = true;
mara = {
ccr = {
enable = true;
modules = [
"shell"
"mpv"
"firefox"
# "firefox"
"git"
"chrome"
"udiskie"
];
packages = with pkgs; [
remmina
rdesktop
freerdp
# "chrome"
# "udiskie"
# "emacs"
];
};
# mara = {
# enable = true;
# modules = [
# "shell"
# "mpv"
# "firefox"
# "git"
# "chrome"
# "udiskie"
# ];
# packages = with pkgs; [
# remmina
# rdesktop
# freerdp
# ];
# };
home-manager.users.mara = {
home-manager.users.ccr = {
programs.chromium.package = lib.mkForce pkgs.chromium;
};
i18n.defaultLocale = lib.mkForce "it_IT.UTF-8";
}

View file

@ -1,37 +1,37 @@
_: {
disk = {
emmc = {
device = "/dev/mmcblk2";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "root";
start = "1MiB";
end = "-4G";
part-type = "primary";
bootable = false;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
{
name = "swap";
start = "-4G";
end = "100%";
part-type = "primary";
content = {
type = "swap";
randomEncryption = true;
};
}
];
};
};
# emmc = {
# device = "/dev/mmcblk2";
# type = "disk";
# content = {
# type = "table";
# format = "gpt";
# partitions = [
# {
# name = "root";
# start = "1MiB";
# end = "-4G";
# part-type = "primary";
# bootable = false;
# content = {
# type = "filesystem";
# format = "ext4";
# mountpoint = "/";
# };
# }
# {
# name = "swap";
# start = "-4G";
# end = "100%";
# part-type = "primary";
# content = {
# type = "swap";
# randomEncryption = true;
# };
# }
# ];
# };
# };
ssd = {
device = "/dev/nvme0n1";
type = "disk";
@ -51,15 +51,25 @@ _: {
};
}
{
name = "home";
name = "root";
start = "1024MiB";
end = "100%";
end = "-8G";
part-type = "primary";
bootable = false;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/home";
mountpoint = "/";
};
}
{
name = "swap";
start = "-8G";
end = "100%";
part-type = "primary";
content = {
type = "swap";
randomEncryption = true;
};
}
];