enabled package ragenix

This commit is contained in:
2025-12-10 17:58:25 -05:00
parent 6e472d3a90
commit 04159c6b8f
3 changed files with 11 additions and 2 deletions

View File

@@ -28,6 +28,11 @@
# Hardware quirks and configurations # Hardware quirks and configurations
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
inputs.ragenix = {
url = "github:yaxitech/ragenix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Neovim configuration # Neovim configuration
lazyvim-nixvim.url = "github:azuwis/lazyvim-nixvim"; lazyvim-nixvim.url = "github:azuwis/lazyvim-nixvim";
@@ -50,6 +55,7 @@
nixpkgs-old-kernel, nixpkgs-old-kernel,
home-manager, home-manager,
disko, disko,
ragenix,
lazyvim-nixvim, lazyvim-nixvim,
nixos-hardware, nixos-hardware,
vscode-server, vscode-server,
@@ -73,7 +79,7 @@
{ {
# Formatter for 'nix fmt' # Formatter for 'nix fmt'
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
# Generate NixOS configurations from hosts/default.nix # Generate NixOS configurations from hosts/default.nix
nixosConfigurations = hosts.nixosConfigurations; nixosConfigurations = hosts.nixosConfigurations;

View File

@@ -17,6 +17,7 @@ let
nixpkgs = inputs.nixpkgs; nixpkgs = inputs.nixpkgs;
lib = nixpkgs.lib; lib = nixpkgs.lib;
home-manager = inputs.home-manager; home-manager = inputs.home-manager;
ragenix = inpus.ragenix;
disko = inputs.disko; disko = inputs.disko;
# Modules shared by all hosts # Modules shared by all hosts
@@ -26,6 +27,7 @@ let
../users.nix ../users.nix
../sw ../sw
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
ragenix.nixosModules.default
disko.nixosModules.disko disko.nixosModules.disko
{ {
system.stateVersion = "25.11"; system.stateVersion = "25.11";

View File

@@ -73,6 +73,7 @@ in
git git
oh-my-posh oh-my-posh
inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim
inputs.ragenix.${stdenv.hostPlatform.system}.default
# Custom update script # Custom update script
(writeShellScriptBin "update-system" '' (writeShellScriptBin "update-system" ''
HOSTNAME=$(hostname) HOSTNAME=$(hostname)
@@ -92,7 +93,7 @@ in
]; ];
} }
# Import Desktop or Kiosk modules based on type # Import Desktop or Kiosk modules based on type
(mkIf (cfg.type == "desktop") ( (mkIf (cfg.type == "desktop") (
import ./desktop { import ./desktop {
inherit inherit
config config