177 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-11 14:33:12 +01:00
parent 7a26f45b00
commit a9bfae3d4c
3 changed files with 11 additions and 3 deletions

View File

@ -30,12 +30,12 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hosts/MaxNixosLaptop/configuration.nix ./hosts/MaxNixosLaptop/configuration.nix
sops-nix.nixosModules.sops
home-manager.nixosModules.default home-manager.nixosModules.default
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
} }
sops-nix.nixosModules.sops
]; ];
}; };
}; };

View File

@ -12,6 +12,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
# script for rebuilding nixos # script for rebuilding nixos
../../modules/nixos/rebuild.nix ../../modules/nixos/rebuild.nix
../../modules/nixos/wifi.nix
# greetd login manager # greetd login manager
../../modules/nixos/greetd.nix ../../modules/nixos/greetd.nix
# sway as window manager # sway as window manager

View File

@ -1,5 +1,12 @@
{config, ...}: { {
sops.secrets."wireless.env" = {}; config,
inputs,
...
}: {
sops.secrets."wireless.env" = {
sopsFile = ../../secrets/wifi.yaml;
};
sops.age.keyFile = /home/max/.config/sops/age/keys.txt;
networking.wireless = { networking.wireless = {
enable = true; enable = true;
userControlled.enable = true; userControlled.enable = true;