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

View File

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

View File

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