Working config for fw13 amd
This commit is contained in:
commit
b7147ec26e
49 changed files with 1812 additions and 0 deletions
33
system/core/boot.nix
Normal file
33
system/core/boot.nix
Normal 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
6
system/core/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./users.nix
|
||||
];
|
||||
}
|
||||
14
system/core/users.nix
Normal file
14
system/core/users.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
users.users.jsw = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
initialPassword = "changeme";
|
||||
extraGroups = [
|
||||
"libvirtd"
|
||||
"NetworkManager"
|
||||
"plugdev"
|
||||
"dialout"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue