mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 16:39:07 +01:00
profiles: Change naming convention
This commit is contained in:
parent
b5ce26226e
commit
acee101cbc
8 changed files with 8 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
|> builtins.readDir
|
|> builtins.readDir
|
||||||
|> lib.attrNames
|
|> lib.attrNames
|
||||||
|> lib.map (name: {
|
|> lib.map (name: {
|
||||||
name = "profile-${name |> lib.removeSuffix ".nix"}";
|
name = "${name |> lib.removeSuffix ".nix"}-profile";
|
||||||
value = "${self}/profiles/${name}";
|
value = "${self}/profiles/${name}";
|
||||||
})
|
})
|
||||||
|> lib.listToAttrs;
|
|> lib.listToAttrs;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ self, ... }:
|
{ self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-workstation ];
|
imports = [ self.nixosModules.workstation-profile ];
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ self, ... }:
|
{ self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-workstation ];
|
imports = [ self.nixosModules.workstation-profile ];
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, self, ... }:
|
{ config, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-server ];
|
imports = [ self.nixosModules.server-profile ];
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, self, ... }:
|
{ config, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-server ];
|
imports = [ self.nixosModules.server-profile ];
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, self, ... }:
|
{ config, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-server ];
|
imports = [ self.nixosModules.server-profile ];
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, self, ... }:
|
{ config, self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.profile-core ];
|
imports = [ self.nixosModules.core-profile ];
|
||||||
|
|
||||||
custom = {
|
custom = {
|
||||||
persistence.enable = true;
|
persistence.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.profile-core
|
self.nixosModules.core-profile
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue