Add machine frues-port
This commit is contained in:
parent
d61e91331e
commit
79b4ad0be2
5 changed files with 3770 additions and 32 deletions
8
machines/frues-port/configuration.nix
Normal file
8
machines/frues-port/configuration.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
../../modules/desktop/hyprland.nix
|
||||
];
|
||||
|
||||
hm-pedro.de = "hyprland";
|
||||
programs.hyprland.autoLogin.username = "pedro";
|
||||
}
|
58
machines/frues-port/disko.nix
Normal file
58
machines/frues-port/disko.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B77824FB121";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
size = "500M";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = ["umask=0077"];
|
||||
};
|
||||
};
|
||||
luks-root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "crypted-root";
|
||||
settings.allowDiscards = true;
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
};
|
||||
};
|
||||
luks-swap = {
|
||||
size = "16G";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "crypted-swap";
|
||||
settings.allowDiscards = true;
|
||||
content = {
|
||||
type = "swap";
|
||||
discardPolicy = "both";
|
||||
resumeDevice = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
3669
machines/frues-port/facter.json
Executable file
3669
machines/frues-port/facter.json
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue