darwin fixes

This commit is contained in:
2025-08-19 20:39:31 -07:00
parent e9b4e94faa
commit 3285043183
2 changed files with 8 additions and 25 deletions

View File

@@ -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";

View File

@@ -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. Its 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;
}