From b934bef2c1ebc3e07c3214eeb91008f67451d6fc Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Wed, 24 Jun 2026 22:46:06 -0500 Subject: [PATCH] move macos settings out --- hosts/artemis/default.nix | 4 ++-- hosts/artemis/homebrew.nix | 1 + hosts/artemis/macos.nix | 14 ++++++++++++++ modules/home/nyxerinys/default.nix | 1 - 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 hosts/artemis/macos.nix diff --git a/hosts/artemis/default.nix b/hosts/artemis/default.nix index 405c012..ee5cd82 100644 --- a/hosts/artemis/default.nix +++ b/hosts/artemis/default.nix @@ -3,6 +3,7 @@ { imports = [ ./homebrew.nix + ./macos.nix ]; environment.systemPackages = with pkgs; [ vscodium @@ -15,8 +16,7 @@ environment.etc."nix-darwin".source = "/Users/nyxerinys/nix-config"; nixpkgs.config.allowUnfree = true; nix.settings.extra-platforms = [ "x86_64-darwin" "aarch64-darwin" ]; - system.primaryUser = "nyxerinys"; - + # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; # Used for backwards compatibility, please read the changelog before changing. diff --git a/hosts/artemis/homebrew.nix b/hosts/artemis/homebrew.nix index caca325..0b37909 100644 --- a/hosts/artemis/homebrew.nix +++ b/hosts/artemis/homebrew.nix @@ -42,6 +42,7 @@ # Use Mac Casks instead of standard Nix packages for GUI apps casks = [ "steam" # Native/Rosetta 2 macOS Steam Client + "discord" ]; }; } \ No newline at end of file diff --git a/hosts/artemis/macos.nix b/hosts/artemis/macos.nix new file mode 100644 index 0000000..bd261aa --- /dev/null +++ b/hosts/artemis/macos.nix @@ -0,0 +1,14 @@ +{ ... }: +{ + system = { + primaryUser = "nyxerinys"; + defaults = { + dock = { + autohide = true; + }; + controlcenter = { + BatteryShowPercentage = true; + }; + }; + }; +} \ No newline at end of file diff --git a/modules/home/nyxerinys/default.nix b/modules/home/nyxerinys/default.nix index 6845ce4..a3a9ba2 100644 --- a/modules/home/nyxerinys/default.nix +++ b/modules/home/nyxerinys/default.nix @@ -11,7 +11,6 @@ "/home/nyxerinys" ); home.packages = with pkgs; [ - discord prismlauncher ];