mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 16:40:14 +00:00
pass user as arg
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
nixosConfigurations = {
|
||||
desktop = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit user; };
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -33,16 +34,17 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit user; };
|
||||
users.${user} = {
|
||||
imports = [
|
||||
./nixos/home.nix
|
||||
./modules/applications/firefox.nix
|
||||
./modules/applications/alacritty.nix
|
||||
./modules/shell/fish.nix
|
||||
./modules/shell/utilities.nix
|
||||
./modules/shell/git.nix
|
||||
./modules/shell/github.nix
|
||||
./modules/editor/neovim.nix
|
||||
./modules/applications/alacritty.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user