Compare commits

...

2 commits

Author SHA1 Message Date
Antoine Martin 847b50a841 flake: add alejandra to devShell 2024-03-04 16:32:56 +01:00
Antoine Martin 3e23486ecb talos: explicitely enable wifi powersave
this way I know what to toggle if I want to switch it off in the future
2024-03-04 16:32:56 +01:00
2 changed files with 12 additions and 2 deletions

View file

@ -179,11 +179,18 @@
}; };
}; };
} }
// inputs.flake-utils.lib.eachDefaultSystem (system: { // inputs.flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in {
packages = packages =
inputs.flake-utils.lib.flattenTree inputs.flake-utils.lib.flattenTree
(import ./pkgs { (import ./pkgs {
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
}); });
devShells.default = pkgs.mkShellNoCC {
buildInputs = [
pkgs.alejandra
];
};
}); });
} }

View file

@ -44,7 +44,10 @@
networking.domain = "alarsyo.net"; networking.domain = "alarsyo.net";
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager = {
enable = true;
wifi.powersave = true;
};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";