1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 20:11:06 +01:00

specialisation: renamed from specialization

Renamed to be consistent with NixOS.

Fixes #4074
This commit is contained in:
Robert Helgesson 2023-06-13 08:44:30 +02:00
parent b01eb1eb3b
commit c8dafb187b
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
5 changed files with 20 additions and 17 deletions

View file

@ -53,7 +53,7 @@ import nmt {
./modules/home-environment
./modules/misc/fontconfig
./modules/misc/nix
./modules/misc/specialization
./modules/misc/specialisation
./modules/programs/aerc
./modules/programs/alacritty
./modules/programs/alot

View file

@ -1 +1 @@
{ specialization = ./specialization.nix; }
{ specialisation = ./specialisation.nix; }

View file

@ -4,7 +4,7 @@ with lib;
{
home.file.testfile.text = "not special";
specialization.test.configuration = {
specialisation.test.configuration = {
home.file.testfile.text = "very special";
};
@ -12,7 +12,7 @@ with lib;
assertFileExists home-files/testfile
assertFileContains home-files/testfile "not special"
assertFileExists specialization/test/home-files/testfile
assertFileContains specialization/test/home-files/testfile "not special"
assertFileExists specialisation/test/home-files/testfile
assertFileContains specialisation/test/home-files/testfile "not special"
'';
}