profiles: Change naming convention

This commit is contained in:
SebastianStork 2026-02-11 17:12:12 +01:00
parent b5ce26226e
commit acee101cbc
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
8 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -1,6 +1,6 @@
{ self, ... }:
{
imports = [ self.nixosModules.profile-workstation ];
imports = [ self.nixosModules.workstation-profile ];
system.stateVersion = "23.11";

View file

@ -1,6 +1,6 @@
{ self, ... }:
{
imports = [ self.nixosModules.profile-workstation ];
imports = [ self.nixosModules.workstation-profile ];
system.stateVersion = "24.11";

View file

@ -1,6 +1,6 @@
{ config, self, ... }:
{
imports = [ self.nixosModules.profile-server ];
imports = [ self.nixosModules.server-profile ];
system.stateVersion = "25.11";

View file

@ -1,6 +1,6 @@
{ config, self, ... }:
{
imports = [ self.nixosModules.profile-server ];
imports = [ self.nixosModules.server-profile ];
system.stateVersion = "25.11";

View file

@ -1,6 +1,6 @@
{ config, self, ... }:
{
imports = [ self.nixosModules.profile-server ];
imports = [ self.nixosModules.server-profile ];
system.stateVersion = "25.11";

View file

@ -1,6 +1,6 @@
{ config, self, ... }:
{
imports = [ self.nixosModules.profile-core ];
imports = [ self.nixosModules.core-profile ];
custom = {
persistence.enable = true;

View file

@ -8,7 +8,7 @@
}:
{
imports = [
self.nixosModules.profile-core
self.nixosModules.core-profile
inputs.home-manager.nixosModules.home-manager
];