Working config for fw13 amd

This commit is contained in:
Jurn Wubben 2025-02-14 19:40:27 +00:00
commit b7147ec26e
49 changed files with 1812 additions and 0 deletions

33
system/core/boot.nix Normal file
View file

@ -0,0 +1,33 @@
{
pkgs,
config,
...
}: {
boot = {
bootspec.enable = true;
initrd = {
systemd.enable = true;
supportedFilesystems = ["ext4"];
};
# use latest kernel
kernelPackages = pkgs.linuxPackages_latest;
consoleLogLevel = 3;
kernelParams = [
"quiet"
"systemd.show_status=auto"
"rd.udev.log_level=3"
"plymouth.use-simpledrm"
];
loader = {
# systemd-boot on UEFI
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
plymouth.enable = true;
};
}

6
system/core/default.nix Normal file
View file

@ -0,0 +1,6 @@
{
imports = [
./boot.nix
./users.nix
];
}

14
system/core/users.nix Normal file
View file

@ -0,0 +1,14 @@
{pkgs, ...}: {
users.users.jsw = {
isNormalUser = true;
shell = pkgs.fish;
initialPassword = "changeme";
extraGroups = [
"libvirtd"
"NetworkManager"
"plugdev"
"dialout"
"wheel"
];
};
}