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
|
||||
|> lib.attrNames
|
||||
|> lib.map (name: {
|
||||
name = "profile-${name |> lib.removeSuffix ".nix"}";
|
||||
name = "${name |> lib.removeSuffix ".nix"}-profile";
|
||||
value = "${self}/profiles/${name}";
|
||||
})
|
||||
|> lib.listToAttrs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue