-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.nix
30 lines (29 loc) · 952 Bytes
/
variables.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# config variables that are shared by all of my devices.
{
# nixos and home-manager state version (see top of flake.nix for channel version)
version = "24.05";
# use --impure for flake-rebuild by default
allowImpureByDefault = true; # currently needed for vscodium extensions
# username and displayname of only user
username = "julius";
displayname = "Julius";
# global git config
git.name = "julius-boettger";
git.email = "[email protected]";
### nixos configurations for different devices
# documentation for possible attributes and their meanings
# in flake.nix near "mkNixosConfig = device@{"
nixosConfigs = { mkNixosConfigs, inputs }: mkNixosConfigs [
{ internalName = "desktop"; }
{ internalName = "laptop"; }
{
internalName = "raspberry-pi";
hostName = "nixos-pi";
system = "aarch64-linux";
}
{
internalName = "wsl";
hostName = "wsl";
}
];
}