desktop: minor moving around xorg/displaymanager, use stable kernel pkgs
This commit is contained in:
parent
178aa66a03
commit
da17773e51
|
@ -10,7 +10,6 @@
|
|||
|
||||
boot = {
|
||||
initrd.availableKernelModules = ["usb_storage" "sd_mod" "xhci_pci" "thunderbolt" "nvme" "usbhid"];
|
||||
kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
|
||||
loader.systemd-boot.enable = true;
|
||||
supportedFilesystems = ["zfs"];
|
||||
zfs = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
myData,
|
||||
...
|
||||
|
@ -15,7 +14,6 @@ in {
|
|||
];
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelModules = ["kvm-intel"];
|
||||
#kernelParams = ["intel_pstate=disable"];
|
||||
loader.systemd-boot.enable = true;
|
||||
|
|
|
@ -48,7 +48,7 @@ in {
|
|||
"kernel.kptr_restrict" = "0";
|
||||
};
|
||||
|
||||
kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
|
||||
kernelPackages = lib.mkDefault pkgs.linuxPackages;
|
||||
|
||||
supportedFilesystems = ["btrfs"];
|
||||
};
|
||||
|
|
|
@ -53,25 +53,27 @@ in {
|
|||
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
layout = "us,lt";
|
||||
xkbOptions = "grp:alt_shift_toggle";
|
||||
xkb = {
|
||||
layout = "us,lt";
|
||||
options = "grp:alt_shift_toggle";
|
||||
};
|
||||
|
||||
desktopManager.xfce.enable = true;
|
||||
windowManager.awesome.enable = true;
|
||||
displayManager.lightdm.enable = true;
|
||||
};
|
||||
|
||||
displayManager = {
|
||||
lightdm.enable = true;
|
||||
defaultSession = "none+awesome";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = username;
|
||||
};
|
||||
displayManager = {
|
||||
defaultSession = "none+awesome";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = username;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -238,12 +240,8 @@ in {
|
|||
]
|
||||
(lib.mkIf (pkgs.stdenv.hostPlatform.system == "x86_64-linux") [
|
||||
i7z
|
||||
(nvtop.override {
|
||||
amd = true;
|
||||
intel = true;
|
||||
msm = false;
|
||||
nvidia = false;
|
||||
})
|
||||
nvtopPackages.amd
|
||||
nvtopPackages.intel
|
||||
joplin-desktop
|
||||
intel-gpu-tools
|
||||
|
||||
|
|
Loading…
Reference in New Issue