mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Update nix
This commit is contained in:
parent
7597c9eb6c
commit
e4451da88d
7 changed files with 28 additions and 37 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue