M hosts/configuration.nix => hosts/configuration.nix +1 -1
@@ 136,7 136,7 @@
};
nix = { # Nix Package Manager settings
- settings ={
+ settings = {
auto-optimise-store = true; # Optimise syslinks
substituters = [
"https://cache.nixos.org"
M hosts/laptop/home.nix => hosts/laptop/home.nix +6 -15
@@ 27,26 27,17 @@
packages = with pkgs; [
unstable.distrobox
- # Display
- #light # xorg.xbacklight not supported. Other option is just use xrandr.
-
# Power Management
- #auto-cpufreq # Power management
- #tlp # Power management
+ acpi
];
};
- programs = {
- alacritty.settings.font.size = 11;
- };
-
services = { # Applets
network-manager-applet.enable = true; # Network
-# cbatticon = {
-# enable = true;
-# criticalLevelPercent = 10;
-# lowLevelPercent = 20;
-# iconType = null;
-# };
+ cbatticon = {
+ enable = true;
+ criticalLevelPercent = 10;
+ lowLevelPercent = 20;
+ };
};
}
M modules/programs/alacritty.nix => modules/programs/alacritty.nix +1 -1
@@ 21,7 21,7 @@
font = rec { # Font - Laptop has size manually changed at home.nix
normal.family = "FiraCode Nerd Font";
bold = { style = "Bold"; };
- size = lib.mkForce 12;
+ size = 12;
};
offset = { # Positioning
x = -1;