home:natto: switched to xmonad+xmobar

This commit is contained in:
2021-06-16 01:36:39 +05:30
parent f27ecaf54f
commit ba8dbff511
12 changed files with 253 additions and 19 deletions

View File

@@ -2,12 +2,7 @@
{
boot = {
kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_zen.override {
structuredExtraConfig = with lib.kernel; {
CONFIG_SCHED_MUQSS = yes;
};
ignoreConfigErrors = true;
});
kernelPackages = pkgs.linuxPackages_lqx;
initrd={
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod"];
kernelModules = [ ];

View File

@@ -43,6 +43,12 @@
options = ["compress-force=zstd:1"];
};
swapDevices = [ {device = "/dev/nvme0n1p7";} ];
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
priority = -1;
};
powerManagement = {
enable = true;
cpuFreqGovernor = "powersave";

View File

@@ -23,6 +23,8 @@
fonts.fonts = with pkgs; [
fira-mono
noto-fonts-cjk
nerdfonts
font-awesome
];
users.users.natto = {
isNormalUser = true;