mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Moved username definition to a variable
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
nur.overlays.default
|
nur.overlays.default
|
||||||
];
|
];
|
||||||
personalEmail = "patrickcanal3@gmail.com";
|
personalEmail = "patrickcanal3@gmail.com";
|
||||||
|
username = "r3ddy";
|
||||||
mkSystem = import ./lib/mksystem.nix {
|
mkSystem = import ./lib/mksystem.nix {
|
||||||
inherit
|
inherit
|
||||||
overlays
|
overlays
|
||||||
@@ -39,7 +40,7 @@
|
|||||||
{
|
{
|
||||||
nixosConfigurations.katana = mkSystem "katana" {
|
nixosConfigurations.katana = mkSystem "katana" {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
user = "r3ddy";
|
user = username;
|
||||||
email = personalEmail;
|
email = personalEmail;
|
||||||
gamingSystem = true;
|
gamingSystem = true;
|
||||||
# Currently supported: plasma, gnome, hyprland and none
|
# Currently supported: plasma, gnome, hyprland and none
|
||||||
@@ -47,7 +48,7 @@
|
|||||||
};
|
};
|
||||||
nixosConfigurations.workstation = mkSystem "workstation" {
|
nixosConfigurations.workstation = mkSystem "workstation" {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
user = "r3ddy";
|
user = username;
|
||||||
email = personalEmail;
|
email = personalEmail;
|
||||||
workSystem = true;
|
workSystem = true;
|
||||||
desktopEnvironment = "gnome";
|
desktopEnvironment = "gnome";
|
||||||
@@ -55,7 +56,7 @@
|
|||||||
nixosConfigurations."bomba" = mkSystem "bomba" {
|
nixosConfigurations."bomba" = mkSystem "bomba" {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
email = personalEmail;
|
email = personalEmail;
|
||||||
user = "r3ddy";
|
user = username;
|
||||||
desktopEnvironment = "none";
|
desktopEnvironment = "none";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user