From acee101cbc11584eb95dec29c9318fef51cedcb3 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Wed, 11 Feb 2026 17:12:12 +0100 Subject: [PATCH] profiles: Change naming convention --- flake-parts/profiles.nix | 2 +- hosts/desktop/default.nix | 2 +- hosts/laptop/default.nix | 2 +- hosts/vps-monitor/default.nix | 2 +- hosts/vps-private/default.nix | 2 +- hosts/vps-public/default.nix | 2 +- profiles/server.nix | 2 +- profiles/workstation.nix | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/flake-parts/profiles.nix b/flake-parts/profiles.nix index abb1413..e0d74ad 100644 --- a/flake-parts/profiles.nix +++ b/flake-parts/profiles.nix @@ -5,7 +5,7 @@ |> builtins.readDir |> lib.attrNames |> lib.map (name: { - name = "profile-${name |> lib.removeSuffix ".nix"}"; + name = "${name |> lib.removeSuffix ".nix"}-profile"; value = "${self}/profiles/${name}"; }) |> lib.listToAttrs; diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 497f3be..1eae950 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -1,6 +1,6 @@ { self, ... }: { - imports = [ self.nixosModules.profile-workstation ]; + imports = [ self.nixosModules.workstation-profile ]; system.stateVersion = "23.11"; diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 5931b99..415e67e 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -1,6 +1,6 @@ { self, ... }: { - imports = [ self.nixosModules.profile-workstation ]; + imports = [ self.nixosModules.workstation-profile ]; system.stateVersion = "24.11"; diff --git a/hosts/vps-monitor/default.nix b/hosts/vps-monitor/default.nix index 6337872..a8f8d97 100644 --- a/hosts/vps-monitor/default.nix +++ b/hosts/vps-monitor/default.nix @@ -1,6 +1,6 @@ { config, self, ... }: { - imports = [ self.nixosModules.profile-server ]; + imports = [ self.nixosModules.server-profile ]; system.stateVersion = "25.11"; diff --git a/hosts/vps-private/default.nix b/hosts/vps-private/default.nix index cdc2d0b..3435a40 100644 --- a/hosts/vps-private/default.nix +++ b/hosts/vps-private/default.nix @@ -1,6 +1,6 @@ { config, self, ... }: { - imports = [ self.nixosModules.profile-server ]; + imports = [ self.nixosModules.server-profile ]; system.stateVersion = "25.11"; diff --git a/hosts/vps-public/default.nix b/hosts/vps-public/default.nix index 1af796d..68a8c99 100644 --- a/hosts/vps-public/default.nix +++ b/hosts/vps-public/default.nix @@ -1,6 +1,6 @@ { config, self, ... }: { - imports = [ self.nixosModules.profile-server ]; + imports = [ self.nixosModules.server-profile ]; system.stateVersion = "25.11"; diff --git a/profiles/server.nix b/profiles/server.nix index 284eeae..f4b3dcf 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -1,6 +1,6 @@ { config, self, ... }: { - imports = [ self.nixosModules.profile-core ]; + imports = [ self.nixosModules.core-profile ]; custom = { persistence.enable = true; diff --git a/profiles/workstation.nix b/profiles/workstation.nix index 5c722c9..9aac853 100644 --- a/profiles/workstation.nix +++ b/profiles/workstation.nix @@ -8,7 +8,7 @@ }: { imports = [ - self.nixosModules.profile-core + self.nixosModules.core-profile inputs.home-manager.nixosModules.home-manager ];