From 506368b4ce456cc103c531f06ed256b0d7569de8 Mon Sep 17 00:00:00 2001 From: suri-codes Date: Thu, 13 Aug 2026 11:41:27 -0700 Subject: [PATCH] A new Epoch. --- modules/home/apps/default.nix | 2 +- modules/home/apps/orbstack.nix | 2 +- modules/home/apps/spicetify.nix | 2 +- modules/home/shells/default.nix | 2 +- modules/home/shells/fish/default.nix | 2 +- modules/home/shells/noctalia/default.nix | 2 +- modules/home/shells/zsh/default.nix | 2 +- modules/home/term/ghostty/default.nix | 2 +- modules/home/tools/zed/default.nix | 2 +- modules/home/wm/aerospace/default.nix | 2 +- modules/home/wm/hyprland/default.nix | 2 +- modules/home/wm/niri/default.nix | 2 +- modules/home/wm/paneru/default.nix | 2 +- users/suri/Daedalus.nix | 3 +++ 14 files changed, 16 insertions(+), 13 deletions(-) diff --git a/modules/home/apps/default.nix b/modules/home/apps/default.nix index 1368786..a0d5682 100644 --- a/modules/home/apps/default.nix +++ b/modules/home/apps/default.nix @@ -6,7 +6,7 @@ ]; home.packages = - if pkgs.stdenv.isLinux then + if pkgs.stdenv.hostPlatform.isLinux then with pkgs; [ vesktop diff --git a/modules/home/apps/orbstack.nix b/modules/home/apps/orbstack.nix index 9f90722..f01bd2a 100644 --- a/modules/home/apps/orbstack.nix +++ b/modules/home/apps/orbstack.nix @@ -4,7 +4,7 @@ let cfg = config.nyx.orbstack; in { options.nyx.orbstack = { enable = mkEnableOption "Orbstack "; }; - config = mkIf (cfg.enable && pkgs.stdenv.isDarwin) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isDarwin) { home.packages = [ pkgs.orbstack ]; diff --git a/modules/home/apps/spicetify.nix b/modules/home/apps/spicetify.nix index 610da34..e4b5903 100644 --- a/modules/home/apps/spicetify.nix +++ b/modules/home/apps/spicetify.nix @@ -18,7 +18,7 @@ in enable = mkEnableOption "spicetify "; }; - config = mkIf (cfg.enable && pkgs.stdenv.isLinux) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isLinux) { programs.spicetify = { enable = true; diff --git a/modules/home/shells/default.nix b/modules/home/shells/default.nix index 69e95d6..8ed8162 100644 --- a/modules/home/shells/default.nix +++ b/modules/home/shells/default.nix @@ -2,7 +2,7 @@ let - isDarwin = pkgs.stdenv.isDarwin; + isDarwin = pkgs.stdenv.hostPlatform.isDarwin; rebuildCmd = if isDarwin then "darwin-rebuild" else "nixos-rebuild"; diff --git a/modules/home/shells/fish/default.nix b/modules/home/shells/fish/default.nix index 3c4f3a3..afbd4d2 100644 --- a/modules/home/shells/fish/default.nix +++ b/modules/home/shells/fish/default.nix @@ -34,7 +34,7 @@ in eval "$(zoxide init fish)" - ${lib.optionalString pkgs.stdenv.isDarwin '' + ${lib.optionalString pkgs.stdenv.hostPlatform.isDarwin '' if test -f /opt/homebrew/bin/brew eval (/opt/homebrew/bin/brew shellenv) end diff --git a/modules/home/shells/noctalia/default.nix b/modules/home/shells/noctalia/default.nix index 71ff760..4e5a2ae 100644 --- a/modules/home/shells/noctalia/default.nix +++ b/modules/home/shells/noctalia/default.nix @@ -18,7 +18,7 @@ in enable = mkEnableOption "Noctalia Desktop Shell"; }; - config = mkIf (cfg.enable && pkgs.stdenv.isLinux) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isLinux) { programs.noctalia.enable = true; home.file.".config/noctalia/".source = diff --git a/modules/home/shells/zsh/default.nix b/modules/home/shells/zsh/default.nix index abafe8f..81af41d 100644 --- a/modules/home/shells/zsh/default.nix +++ b/modules/home/shells/zsh/default.nix @@ -49,7 +49,7 @@ in eval "$(zoxide init zsh)" # eval "$(starship init zsh)" - ${lib.optionalString pkgs.stdenv.isDarwin '' + ${lib.optionalString pkgs.stdenv.hostPlatform.isDarwin '' if [ -f /opt/homebrew/bin/brew ]; then eval "$(/opt/homebrew/bin/brew shellenv)" # export PATH="/opt/homebrew/opt/libiconv/bin:$PATH" diff --git a/modules/home/term/ghostty/default.nix b/modules/home/term/ghostty/default.nix index 5c34ae8..99b7758 100644 --- a/modules/home/term/ghostty/default.nix +++ b/modules/home/term/ghostty/default.nix @@ -22,7 +22,7 @@ in }; - home.packages = mkIf pkgs.stdenv.isLinux [ pkgs.ghostty ]; + home.packages = mkIf pkgs.stdenv.hostPlatform.isLinux [ pkgs.ghostty ]; }; } diff --git a/modules/home/tools/zed/default.nix b/modules/home/tools/zed/default.nix index b1a31ee..fd1703c 100644 --- a/modules/home/tools/zed/default.nix +++ b/modules/home/tools/zed/default.nix @@ -28,7 +28,7 @@ in nixd harper ] - ++ lib.optionals pkgs.stdenv.isLinux [ + ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ pkgs.zed-editor ]; }; diff --git a/modules/home/wm/aerospace/default.nix b/modules/home/wm/aerospace/default.nix index 9ba9abb..64c5a4e 100644 --- a/modules/home/wm/aerospace/default.nix +++ b/modules/home/wm/aerospace/default.nix @@ -12,7 +12,7 @@ in options.nyx.aerospace = { enable = mkEnableOption "AeroSpace window manager"; }; - config = mkIf (cfg.enable && pkgs.stdenv.isDarwin) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isDarwin) { # home.packages = [ pkgs.aerospace ]; home.file.".aerospace.toml".source = diff --git a/modules/home/wm/hyprland/default.nix b/modules/home/wm/hyprland/default.nix index e3e4dd1..f9b78a0 100644 --- a/modules/home/wm/hyprland/default.nix +++ b/modules/home/wm/hyprland/default.nix @@ -12,7 +12,7 @@ in options.nyx.hyprland = { enable = mkEnableOption "Hyprland Window Manager"; }; - config = mkIf (cfg.enable && pkgs.stdenv.isLinux) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isLinux) { home.file.".config/hypr/hyprland.lua".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nyx/modules/home/wm/hyprland/hyprland.lua"; }; diff --git a/modules/home/wm/niri/default.nix b/modules/home/wm/niri/default.nix index 9b0edef..6c9a2a3 100644 --- a/modules/home/wm/niri/default.nix +++ b/modules/home/wm/niri/default.nix @@ -12,7 +12,7 @@ in options.nyx.niri = { enable = mkEnableOption "Niri Window Manager"; }; - config = mkIf (cfg.enable && pkgs.stdenv.isLinux) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isLinux) { home.file.".config/niri/config.kdl".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nyx/modules/home/wm/niri/config.kdl"; diff --git a/modules/home/wm/paneru/default.nix b/modules/home/wm/paneru/default.nix index c8fa2b9..87a43c0 100644 --- a/modules/home/wm/paneru/default.nix +++ b/modules/home/wm/paneru/default.nix @@ -12,7 +12,7 @@ in options.nyx.paneru = { enable = mkEnableOption "Paneru window manager"; }; - config = mkIf (cfg.enable && pkgs.stdenv.isDarwin) { + config = mkIf (cfg.enable && pkgs.stdenv.hostPlatform.isDarwin) { home.file.".config/paneru/paneru.toml".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nyx/modules/home/wm/paneru/paneru.toml"; diff --git a/users/suri/Daedalus.nix b/users/suri/Daedalus.nix index 0e9fb14..9a67a44 100644 --- a/users/suri/Daedalus.nix +++ b/users/suri/Daedalus.nix @@ -2,6 +2,9 @@ imports = [ ./common.nix ]; + manual.json.enable = false; + manual.manpages.enable = false; + # nyx.aerospace.enable = true; nyx.paneru.enable = true; nyx.ghostty.enable = true; -- 2.51.2