Compare commits

...

5 commits

4 changed files with 19 additions and 30 deletions

8
flake.lock generated
View file

@ -238,11 +238,11 @@
]
},
"locked": {
"lastModified": 1759283950,
"narHash": "sha256-BuMc2O2G/k4sv/ssajs3nCT0uH726i1SN4E8eQvqNRk=",
"lastModified": 1759284596,
"narHash": "sha256-N/poXYxAbHyWf2EBC6CSc6vKq0txtHMqTUMdPNOUB0g=",
"ref": "refs/heads/master",
"rev": "884ef5199351af45f2416a708b14bbfc80b0f9c5",
"revCount": 71,
"rev": "51c57acdbff6f3f0c490bc67e791f5376a3f2be9",
"revCount": 72,
"type": "git",
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
},

View file

@ -26,22 +26,23 @@ in {
"clock"
];
modules-right = [
"keyboard-state"
"privacy"
"cpu"
"memory"
"disk"
"temperature"
"tray"
]
++ lists.optionals laptop [
"battery"
];
modules-right =
[
"keyboard-state"
"privacy"
"cpu"
"memory"
"disk"
"temperature"
"tray"
]
++ lists.optionals laptop [
"battery"
];
battery = mkIf laptop {
format = "{capacity}% {icon}";
format-plugged = "{capacity}% 󱐥{icon}";
format-icons = [ "󰂃" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
format-icons = ["󰂃" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
states = {
warning = 20;
critical = 10;
@ -74,7 +75,7 @@ in {
tooltip-format = "{used}/{total}";
};
disk = {
format = " {specific_used:0.0f}/{specific_total:0.0f}";
format = " {specific_used:0.0f}/{specific_total:0.0f}";
unit = "GiB";
tooltip = false;
};

View file

@ -31,12 +31,6 @@
height = "1080";
rate = "59.94";
};
DP-2 = {
width = "1920";
height = "1080";
rate = "143.855";
posX = "1920";
};
};
};
};

View file

@ -32,12 +32,6 @@ in {
fsType = "vfat";
options = ["umask=027"];
};
"/extern" = {
device = "/dev/disk/by-uuid/7d8d3ec9-b456-4e2a-9396-551dcaf7705b";
fsType = "btrfs";
options = ["noatime" "compress=zstd"];
};
};
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;