Things
This commit is contained in:
parent
128e701625
commit
c8bd8acd8b
7 changed files with 240 additions and 176 deletions
|
@ -208,19 +208,21 @@
|
|||
};
|
||||
colmena.deployment.buildOnTarget = true;
|
||||
};
|
||||
# pbp = {
|
||||
# system = "aarch64-linux";
|
||||
# extraModules = with inputs; [
|
||||
# nixosHardware.nixosModules.pine64-pinebook-pro
|
||||
# disko.nixosModules.disko
|
||||
# ];
|
||||
# extraHmModules = [
|
||||
# # inputs.ccrEmacs.hmModules.default
|
||||
# ];
|
||||
# secrets = {
|
||||
# "pbp-wireguard-private-key" = {};
|
||||
# };
|
||||
# };
|
||||
pbp = {
|
||||
system = "aarch64-linux";
|
||||
extraModules = with inputs; [
|
||||
nixosHardware.nixosModules.pine64-pinebook-pro
|
||||
disko.nixosModules.disko
|
||||
];
|
||||
extraHmModules = [
|
||||
inputs.ccrEmacs.hmModules.default
|
||||
];
|
||||
secrets = {
|
||||
"pbp-wireguard-private-key" = {};
|
||||
"cachix-personal-token".owner = "ccr";
|
||||
"chatgpt-token".owner = "ccr";
|
||||
};
|
||||
};
|
||||
# hs = {};
|
||||
mothership = {
|
||||
extraModules = with inputs; [
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue