From 0383c66ef722f8b678417f50fd07cfe16aa52671 Mon Sep 17 00:00:00 2001 From: "suri.codes" Date: Mon, 27 Jul 2026 21:42:59 -0700 Subject: [PATCH] feat: initial addition of styx --- flake.nix | 37 +++++++++- hosts/.DS_Store | Bin 6148 -> 0 bytes hosts/Styx/configuration.nix | 102 ++++++++++++++++++++++++++ hosts/Styx/default.nix | 4 + hosts/Styx/hardware-configuration.nix | 43 +++++++++++ users/suri/Styx.nix | 13 ++++ 6 files changed, 197 insertions(+), 2 deletions(-) delete mode 100644 hosts/.DS_Store create mode 100644 hosts/Styx/configuration.nix create mode 100644 hosts/Styx/default.nix create mode 100644 hosts/Styx/hardware-configuration.nix create mode 100644 users/suri/Styx.nix diff --git a/flake.nix b/flake.nix index 51b1a7d..3b30faa 100644 --- a/flake.nix +++ b/flake.nix @@ -58,8 +58,8 @@ { nixpkgs.overlays = overlays; } # NOTE: temporary fix, need to wait for https://github.com/nix-darwin/nix-darwin/issues/1817 to be merged { - documentation.enable = false; - system.tools.darwin-uninstaller.enable = false; + # documentation.enable = false; + # system.tools.darwin-uninstaller.enable = false; } { home-manager = { @@ -78,6 +78,39 @@ ]; }; + + # `sudo nixos-rebuild switch --flake .#Styx` + Styx = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + outputs = self; + }; + modules = [ + ./hosts/Styx + home-manager.nixosModules.home-manager + { nixpkgs.overlays = overlays; } + # NOTE: temporary fix, need to wait for https://github.com/nix-darwin/nix-darwin/issues/1817 to be merged + { + # documentation.enable = false; + # system.tools.darwin-uninstaller.enable = false; + } + { + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + users.suri = import ./users/suri/Styx.nix; + backupFileExtension = "backup"; + documentation.enable = false; + extraSpecialArgs = { + # <-- add this + helix = helix; + filaments = filaments; + }; + }; + } + + ]; + }; }; # `darwin-rebuild switch --flake .#Daedalus` diff --git a/hosts/.DS_Store b/hosts/.DS_Store deleted file mode 100644 index 88e51315d94ab80a7c160c9ef6c066085b4c3772..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmZQzU|@7AO)+F(5MW?n;9!8zOq>i@0Z1N%F(jFwA|Odduo;OAISi!?#X0GQ!BDwT zYH)`DDDF5ITo@7=QW;Vhkm4^nKeqtlbPgwQB0*D=oA2V1l#`zXl6&y{*s%%y#~ndz zbhC2vQ;1SmkYN~%uoILn8CV&-88R3W8S)`13Lz_I!N7nli|iJWZjM9KO2BSG(vR#4 z>?%<0cYt_(lpGC#(GVC7f#Defj1X^ea6{-(ax?@+Ltr!n;2{7i9~3}+1qKENP=g4> zZ-DSYOa?{<25=XEk%55)rU}vyU;xR1w1Q}mRuB!+%D@O>fz1GGWnhGAWdwIaK>EN< zKL$nyuyzJUu+1QGuyzJUu+0n%j1cV%j8K~yK@C}uxe)CPj1cV%j9}Ygt{bICLtr!n zU?IQ^VF-Zge^&+uT>XEDs!?(@1V%$(ScU*2i%YNzXpje5w_