Compare commits

...

2 commits

Author SHA1 Message Date
Antoine Martin e7647dd00b flake: add alejandra to devShell 2024-03-04 16:31:32 +01:00
Antoine Martin 74d04c4ed4 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:24:00 +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 =
inputs.flake-utils.lib.flattenTree
(import ./pkgs {
pkgs = import nixpkgs {inherit system;};
});
devShells.default = pkgs.mkShellNoCC {
buildInputs = [
pkgs.alejandra
];
};
});
}

View file

@ -44,7 +44,10 @@
networking.domain = "alarsyo.net";
# Pick only one of the below networking options.
# 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.
time.timeZone = "Europe/Paris";