add battery nix file

This commit is contained in:
Kopatz
2023-10-23 12:16:17 +02:00
parent 7247ad820f
commit 74529d4043

View File

@@ -17,6 +17,7 @@ in
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./battery.nix
## -- set in flake.nix
#<nixos-hardware/dell/xps/15-7590/nvidia>
#<home-manager/nixos>
@@ -25,7 +26,6 @@ in
# storage optimization
nix.optimise.automatic = true;
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -33,10 +33,6 @@ in
networking.hostName = "nix-laptop"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking
networking.networkmanager.enable = true;