diff --git a/home-manager/commands/git.nix b/home-manager/commands/git.nix index c73bf40..18c282d 100644 --- a/home-manager/commands/git.nix +++ b/home-manager/commands/git.nix @@ -11,7 +11,7 @@ userName = "rogueking"; userEmail = "miguel@muniz.org"; lfs.enable = true; - } // lib.optionalAttrs (hostname != "buildbox") { + } // lib.optionalsAttrs (! (lib.elem hostname [ "buildbox" "eva-02" ])) { signing = { signByDefault = true; signer = "/opt/1Password/op-ssh-sign"; diff --git a/hosts/eva-02/configuration.nix b/hosts/eva-02/configuration.nix index a503d4e..342422f 100644 --- a/hosts/eva-02/configuration.nix +++ b/hosts/eva-02/configuration.nix @@ -14,11 +14,6 @@ }: { - # imports = - # [ # Include the results of the hardware scan. - # # inputs.home-manager.nixosModules.default - # ]; - nix.settings.experimental-features = ["nix-command" "flakes"]; # Nix optimizations @@ -40,8 +35,6 @@ # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - # virtualisation.docker.enable = true; - # Set your time zone. time.timeZone = "America/Los_Angeles"; @@ -55,9 +48,6 @@ # enable = true; # package = pkgs.pulseaudioFull; #}; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; # Enable Touch ID security.pam.services.sudo_local.touchIdAuth = true; @@ -94,14 +84,11 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; - # security.polkit.enable = true; - # programs._1password.enable = true; - # programs._1password-gui = { - # enable = true; - # Certain features, including CLI integration and system authentication support, - # require enabling PolKit integration on some desktop environments (e.g. Plasma). + programs._1password.enable = true; + programs._1password-gui = { + enable = true; # polkitPolicyOwners = [ "rogueking" ]; - # }; + }; # Enable OpenSSH daemon # services.openssh = { @@ -145,6 +132,9 @@ tailscale unzip vim + + nerd-fonts.hack + nerd-fonts.fira-code ]; home-manager = { @@ -181,12 +171,5 @@ # Or disable the firewall altogether. # networking.firewall.enable = false; - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = 6; - }