Rename example-template.nix to prevent module evaluation errors
This commit is contained in:
@@ -39,18 +39,20 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# How to use this module:
|
/*
|
||||||
#
|
How to use this module:
|
||||||
# 1. Save this template as home/modules/myapp.nix
|
|
||||||
#
|
1. Save this template as home/modules/myapp.nix
|
||||||
# 2. Import it in home/default.nix:
|
|
||||||
# imports = [
|
2. Import it in home/default.nix:
|
||||||
# ./modules/myapp.nix
|
imports = [
|
||||||
# ];
|
./modules/myapp.nix
|
||||||
#
|
];
|
||||||
# 3. Enable in home/default.nix:
|
|
||||||
# programs.myapp.enable = true;
|
3. Enable in home/default.nix:
|
||||||
# programs.myapp.setting1 = "custom value";
|
programs.myapp.enable = true;
|
||||||
#
|
programs.myapp.setting1 = "custom value";
|
||||||
# 4. Rebuild:
|
|
||||||
# home-manager switch --flake .#myusername@linux
|
4. Rebuild:
|
||||||
|
home-manager switch --flake .#myusername@linux
|
||||||
|
*/
|
||||||
Reference in New Issue
Block a user