mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 16:40:14 +00:00
pass other values as arg
This commit is contained in:
10
flake.nix
10
flake.nix
@ -22,11 +22,17 @@
|
||||
};
|
||||
|
||||
user = "noah";
|
||||
fullName = "Noah Masur";
|
||||
font = {
|
||||
package = pkgs.victor-mono;
|
||||
name = "Victor Mono";
|
||||
};
|
||||
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
desktop = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit user; };
|
||||
specialArgs = { inherit user fullName font; };
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
@ -34,7 +40,7 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit user; };
|
||||
extraSpecialArgs = { inherit user fullName font; };
|
||||
users.${user} = {
|
||||
imports = [
|
||||
./nixos/home.nix
|
||||
|
Reference in New Issue
Block a user