hosts/solaire: set global vars
This commit is contained in:
parent
de6ea242c0
commit
b86f1470ed
1 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,15 @@
|
||||||
system = "${inputs.self}/system";
|
system = "${inputs.self}/system";
|
||||||
home = "${inputs.self}/home";
|
home = "${inputs.self}/home";
|
||||||
in {
|
in {
|
||||||
|
local.systemVars = {
|
||||||
|
hostName = "solaire";
|
||||||
|
username = "nezia";
|
||||||
|
};
|
||||||
|
|
||||||
|
local.homeVars = {
|
||||||
|
fullName = "Anthony Rodriguez";
|
||||||
|
email = "anthony@nezia.dev";
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules
|
./modules
|
||||||
|
@ -29,7 +38,7 @@ in {
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.nezia.imports = [
|
users.nezia.imports = [
|
||||||
"${home}"
|
home
|
||||||
"${home}/services/udiskie.nix"
|
"${home}/services/udiskie.nix"
|
||||||
"${home}/programs/games"
|
"${home}/programs/games"
|
||||||
|
|
||||||
|
@ -51,6 +60,5 @@ in {
|
||||||
extraSpecialArgs = specialArgs;
|
extraSpecialArgs = specialArgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "solaire";
|
|
||||||
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue