This commit is contained in:
meml0rz
2024-11-12 00:29:21 +01:00
parent 3a49731f16
commit 571c6846ec
3 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,7 @@
{ config, lib, pkgs, inputs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
imports =
[
<home-manager/nixos>
./hardware-configuration.nix
./modules/nix/firefox.nix
];

View File

@ -21,9 +21,10 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jdoe = import ./home.nix;
home-manager.users.fabian = import ./modules/home.nix;
home-manager.extraSpecialArgs = {
inherit inputs nixvim
inherit nixvim;
inherit inputs;
};
}
];

View File

@ -1,7 +1,7 @@
{ config, pkgs, inputs, nixvim, ... }:
{ config, pkgs, nixvim, ... }:
{
imports = [
<nixvim>.homeManagerModules.nixvim
nixvim.homeManagerModules.nixvim
];
programs.nixvim = {
enable = true;