Update nix

This commit is contained in:
muon 2025-05-24 09:49:31 +00:00
parent 7597c9eb6c
commit e4451da88d
7 changed files with 28 additions and 37 deletions

View file

@ -1,19 +1,16 @@
{ pkgs, lib, config, inputs, system, ... }: let
cfg = config.mods;
{ pkgs, lib, config, inputs, system, sources, ... }:
let cfg = config.mods;
in {
options.mods.home.file = lib.mkOption {
description = "home-manager configuration file";
};
options.mods.home.file =
lib.mkOption { description = "home-manager configuration file"; };
config = {
home-manager = {
extraSpecialArgs = { inherit system pkgs inputs; };
extraSpecialArgs = { inherit system pkgs inputs sources; };
users."${cfg.user.name}" = {
imports = [
cfg.home.file
inputs.self.outputs.homeManagerModules.default
];
imports =
[ cfg.home.file inputs.self.outputs.homeManagerModules.default ];
};
backupFileExtension = "bak";
};