diff --git a/modules/hosts/john-p14s/configuration.nix b/modules/hosts/john-p14s/configuration.nix index e715c2c..ab0be8a 100644 --- a/modules/hosts/john-p14s/configuration.nix +++ b/modules/hosts/john-p14s/configuration.nix @@ -12,14 +12,7 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config = { permittedInsecurePackages = [ "openssl-1.1.1w" ]; - # allowUnfree = true; - allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "1password" - "1password-cli" - "steam" - "steam-unwrapped" - "sublime4" - ]; + allowUnfree = true; }; networking = { @@ -31,17 +24,6 @@ services.displayManager.autoLogin.enable = true; services.displayManager.autoLogin.user = "john"; - # Define a user account. Don't forget to set a password with 'passwd'. - users.users.john = { - isNormalUser = true; - description = "John Lancaster"; - extraGroups = [ - "networkmanager" - "wheel" - ]; - shell = pkgs.zsh; - }; - programs.zsh.enable = true; services.openssh.enable = true; services.tailscale.enable = true; diff --git a/modules/hosts/john-p14s/default.nix b/modules/hosts/john-p14s/default.nix index bec76f8..e77ed29 100644 --- a/modules/hosts/john-p14s/default.nix +++ b/modules/hosts/john-p14s/default.nix @@ -23,7 +23,7 @@ john gnome steam - wireguard + # wireguard # greetd # niri ]); diff --git a/modules/programs/wireguard.nix b/modules/programs/wireguard.nix index 754379b..c053211 100644 --- a/modules/programs/wireguard.nix +++ b/modules/programs/wireguard.nix @@ -27,6 +27,8 @@ ''; in { + imports = [ inputs.sops-nix.nixosModules.sops ]; + environment.systemPackages = with pkgs; [ wireguard-tools wg-netmanager