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