framework
This commit is contained in:
parent
42099d49b4
commit
aca4caf02c
17 changed files with 279 additions and 33 deletions
43
host/fw/default.nix
Normal file
43
host/fw/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
networking.hostName = "fw";
|
||||
|
||||
age.identityPaths = [
|
||||
"/root/.ssh/id_ed25519"
|
||||
];
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_6_12;
|
||||
kernel.sysctl."kernel.sysrq" = 1;
|
||||
|
||||
initrd.systemd.network.wait-online.enable = false;
|
||||
};
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
cpuFreqGovernor = "ondemand";
|
||||
};
|
||||
|
||||
hd.desktop.enable = true;
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# ====== DON'T CHANGE ======
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue