Move shared linux system config to a generic linux module
This commit is contained in:
parent
3f03230f17
commit
8ad94f53e3
3 changed files with 55 additions and 82 deletions
|
|
@ -13,54 +13,20 @@
|
|||
};
|
||||
|
||||
boot = {
|
||||
consoleLogLevel = 0;
|
||||
kernelParams = [ "apple_dcp.show_notch=1" ];
|
||||
kernelParams = [ "apple_dcp.show_notch=0" ];
|
||||
loader.efi.canTouchEfiVariables = false;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
asahi = {
|
||||
peripheralFirmwareDirectory = ./firmware;
|
||||
useExperimentalGPUDriver = true;
|
||||
setupAsahiSound = true;
|
||||
withRust = true;
|
||||
};
|
||||
|
||||
graphics.enable = true;
|
||||
|
||||
bluetooth.enable = true;
|
||||
bluetooth.powerOnBoot = true;
|
||||
bluetooth.settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
Experimental = true;
|
||||
};
|
||||
};
|
||||
hardware.asahi = {
|
||||
peripheralFirmwareDirectory = ./firmware;
|
||||
useExperimentalGPUDriver = true;
|
||||
setupAsahiSound = true;
|
||||
withRust = true;
|
||||
};
|
||||
|
||||
networking.hostName = "asahi-nixos";
|
||||
|
||||
networking = {
|
||||
wireless.iwd = {
|
||||
enable = true;
|
||||
settings.General.EnableNetworkConfiguration = true;
|
||||
};
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
wifi.backend = "iwd";
|
||||
wifi.powersave = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
tlp.enable = true;
|
||||
};
|
||||
|
||||
users.users.larssonmartin = {
|
||||
isNormalUser = true;
|
||||
home = "/home/larssonmartin";
|
||||
extraGroups = [ "wheel" ];
|
||||
packages = [ ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue