renaming machines for clarity
This commit is contained in:
@@ -35,7 +35,7 @@ in {
|
||||
./modules.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cnixpad";
|
||||
networking.hostName = "bunk";
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
@@ -124,7 +124,7 @@
|
||||
services = {
|
||||
agenix = {
|
||||
enable = true;
|
||||
cnixpad = {
|
||||
bunk = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
@@ -23,15 +23,14 @@
|
||||
# get these into the module system
|
||||
specialArgs = {inherit inputs self userConfig systemConfig hostConfig cnstConfig toothpickConfig umodPath smodPath;};
|
||||
in {
|
||||
cnixtop = nixosSystem {
|
||||
kima = nixosSystem {
|
||||
inherit specialArgs;
|
||||
|
||||
modules = [
|
||||
./cnixtop
|
||||
./kima
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.cnst.imports = homeImports."cnst@cnixtop";
|
||||
users.cnst.imports = homeImports."cnst@kima";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
@@ -41,14 +40,14 @@
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
cnixpad = nixosSystem {
|
||||
bunk = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./cnixpad
|
||||
./bunk
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.cnst.imports = homeImports."cnst@cnixpad";
|
||||
users.cnst.imports = homeImports."cnst@bunk";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
@@ -57,14 +56,14 @@
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
cnixlab = nixosSystem {
|
||||
sobotka = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./cnixlab
|
||||
./sobotka
|
||||
"${self}/nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.cnstlab.imports = homeImports."cnstlab@cnixlab";
|
||||
users.cnst.imports = homeImports."cnst@sobotka";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ in {
|
||||
|
||||
time.hardwareClockInLocalTime = true;
|
||||
|
||||
networking.hostName = "cnixtop";
|
||||
networking.hostName = "kima";
|
||||
|
||||
environment.variables = {
|
||||
NH_FLAKE = "/home/cnst/.nix-config";
|
||||
@@ -128,7 +128,7 @@
|
||||
services = {
|
||||
agenix = {
|
||||
enable = true;
|
||||
cnixtop = {
|
||||
kima = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
@@ -6,7 +6,7 @@
|
||||
}: let
|
||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in {
|
||||
users.users.cnstlab = {
|
||||
users.users.cnst = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = ifTheyExist [
|
||||
@@ -37,9 +37,9 @@ in {
|
||||
|
||||
boot.initrd.luks.devices."luks-47b35d4b-467a-4637-a5f9-45177da62897".device = "/dev/disk/by-uuid/47b35d4b-467a-4637-a5f9-45177da62897";
|
||||
|
||||
networking.hostName = "cnixlab";
|
||||
networking.hostName = "sobotka";
|
||||
|
||||
environment.variables.NH_FLAKE = "/home/cnstlab/.nix-config";
|
||||
environment.variables.NH_FLAKE = "/home/cnst/.nix-config";
|
||||
|
||||
# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = lib.mkDefault "25.05";
|
||||
@@ -125,7 +125,7 @@
|
||||
services = {
|
||||
agenix = {
|
||||
enable = false;
|
||||
cnixtop = {
|
||||
kima = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
@@ -149,7 +149,7 @@
|
||||
};
|
||||
greetd = {
|
||||
enable = false;
|
||||
user = "cnstlab";
|
||||
user = "cnst";
|
||||
};
|
||||
gvfs = {
|
||||
enable = false;
|
||||
Reference in New Issue
Block a user