mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
refactor: move email to global variable
This commit is contained in:
19
flake.nix
19
flake.nix
@ -41,6 +41,7 @@
|
||||
"x86_64-linux"
|
||||
];
|
||||
username = "tux";
|
||||
email = "t@tux.rs";
|
||||
in {
|
||||
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
|
||||
@ -52,42 +53,42 @@
|
||||
# 'nixos-rebuild switch --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
arcturus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/arcturus];
|
||||
};
|
||||
|
||||
canopus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/canopus];
|
||||
};
|
||||
|
||||
alpha = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/alpha];
|
||||
};
|
||||
|
||||
sirius = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/sirius];
|
||||
};
|
||||
|
||||
vega = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/vega];
|
||||
};
|
||||
|
||||
capella = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/capella];
|
||||
};
|
||||
|
||||
vps = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/vps];
|
||||
};
|
||||
|
||||
isoImage = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
specialArgs = {inherit inputs outputs username email;};
|
||||
modules = [./hosts/isoImage];
|
||||
};
|
||||
};
|
||||
@ -97,7 +98,7 @@
|
||||
homeConfigurations = {
|
||||
"${username}@canopus" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs username;};
|
||||
extraSpecialArgs = {inherit inputs outputs username email;};
|
||||
modules = [
|
||||
./modules/home-manager
|
||||
];
|
||||
|
Reference in New Issue
Block a user