Ptocheia: init
This commit is contained in:
parent
6d14e4fa24
commit
469c7f3651
4 changed files with 46 additions and 0 deletions
1
modules/profiles/laptop/default.nix
Normal file
1
modules/profiles/laptop/default.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
|
@ -57,6 +57,13 @@ in {
|
||||||
graphical
|
graphical
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ptocheia = {
|
||||||
|
modules = [
|
||||||
|
laptop
|
||||||
|
graphical
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
21
systems/ptocheia/default.nix
Normal file
21
systems/ptocheia/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
olympus = {
|
||||||
|
device = {
|
||||||
|
cpu = "amd";
|
||||||
|
gpu = "amd";
|
||||||
|
};
|
||||||
|
system = {
|
||||||
|
boot = {
|
||||||
|
loader = "refind";
|
||||||
|
loadRecommendedModules = true;
|
||||||
|
enableKernelTweaks = true;
|
||||||
|
initrd.enableTweaks = true;
|
||||||
|
plymouth.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
17
systems/ptocheia/hardware.nix
Normal file
17
systems/ptocheia/hardware.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
fileSystems = {
|
||||||
|
"/" = {
|
||||||
|
device = "/dev/disk/by-label/root";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = ["auto"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/boot" = {
|
||||||
|
device = "/dev/disk/by-label/BOOT";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = ["fmask=0022" "dmask=0022"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue