From 41ab50a649624c73c38d638b520f84e72e0db3cd Mon Sep 17 00:00:00 2001 From: serenity-F Date: Wed, 22 Apr 2026 03:29:57 +1000 Subject: [PATCH] add boilerplate for base programs --- modules/features/fish.nix | 13 +++++++++++++ modules/features/git.nix | 13 +++++++++++++ modules/features/kitty-d.nix | 13 +++++++++++++ modules/{programs => features}/kitty.nix | 0 modules/features/neovim/neovim.nix | 13 +++++++++++++ modules/features/niri.nix | 13 +++++++++++++ modules/features/yazi.nix | 13 +++++++++++++ modules/hosts/hades/default.nix | 4 ++-- 8 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 modules/features/fish.nix create mode 100644 modules/features/git.nix create mode 100644 modules/features/kitty-d.nix rename modules/{programs => features}/kitty.nix (100%) create mode 100644 modules/features/neovim/neovim.nix create mode 100644 modules/features/niri.nix create mode 100644 modules/features/yazi.nix diff --git a/modules/features/fish.nix b/modules/features/fish.nix new file mode 100644 index 0000000..e15c4cb --- /dev/null +++ b/modules/features/fish.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/features/git.nix b/modules/features/git.nix new file mode 100644 index 0000000..e15c4cb --- /dev/null +++ b/modules/features/git.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/features/kitty-d.nix b/modules/features/kitty-d.nix new file mode 100644 index 0000000..f661a1a --- /dev/null +++ b/modules/features/kitty-d.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myKitty = inputs.wrapper-modules.wrappers.kitty.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/programs/kitty.nix b/modules/features/kitty.nix similarity index 100% rename from modules/programs/kitty.nix rename to modules/features/kitty.nix diff --git a/modules/features/neovim/neovim.nix b/modules/features/neovim/neovim.nix new file mode 100644 index 0000000..e15c4cb --- /dev/null +++ b/modules/features/neovim/neovim.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/features/niri.nix b/modules/features/niri.nix new file mode 100644 index 0000000..f5695d2 --- /dev/null +++ b/modules/features/niri.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/features/yazi.nix b/modules/features/yazi.nix new file mode 100644 index 0000000..e15c4cb --- /dev/null +++ b/modules/features/yazi.nix @@ -0,0 +1,13 @@ +{ self, inputs, ... }: { + + perSystem = { pkgs, ... }: { + + packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap { + settings = { + foo = bar; + }; + }; + + }; + +} diff --git a/modules/hosts/hades/default.nix b/modules/hosts/hades/default.nix index ae8eef4..d63326a 100644 --- a/modules/hosts/hades/default.nix +++ b/modules/hosts/hades/default.nix @@ -1,7 +1,7 @@ { self, inputs, ... }: { - flake.nixosConfigurations.myMachine = inputs.nixpkgs.lib.nixosSystem { + flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem { modules = [ - self.nixosModules.myMachineConfiguration + self.nixosModules.hadesConfiguration ]; }; }