Browse Source

Add home-manager file warning

main
parent
commit
642bfe3b1e
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 12
      README.org
  2. 1
      modules/emacs.nix
  3. 1
      modules/git.nix
  4. 1
      modules/gpg.nix
  5. 1
      modules/gtk.nix
  6. 1
      modules/vim.nix

12
README.org

@ -828,6 +828,13 @@ inputs.home-manager.nixosModules.home-manager {
}
#+END_SRC
Certain modules have to be included within home manager or they will not function correctly.
#+NAME: home-manager-warning
#+BEGIN_SRC text
This module MUST be included within home manager
#+END_SRC
*** Git
#+NAME: module-git
@ -839,6 +846,7 @@ inputs.home-manager.nixosModules.home-manager {
#+BEGIN_SRC nix :noweb yes :tangle modules/git.nix
# <<file-warning>>
# <<home-manager-warning>>
{ pkgs, ... }:
let
@ -879,6 +887,7 @@ in {
#+BEGIN_SRC nix :noweb yes :tangle modules/gpg.nix
# <<file-warning>>
# <<home-manager-warning>>
{ pkgs, ... }:
{
@ -907,6 +916,7 @@ in {
#+BEGIN_SRC nix :noweb yes :tangle modules/vim.nix
# <<file-warning>>
# <<home-manager-warning>>
{ pkgs, ... }:
{
@ -942,6 +952,7 @@ in {
#+BEGIN_SRC nix :noweb yes :tangle modules/gtk.nix
# <<file-warning>>
# <<home-manager-warning>>
{ pkgs, ... }:
{
@ -1023,6 +1034,7 @@ in {
#+BEGIN_SRC nix :noweb yes :tangle modules/emacs.nix
# <<file-warning>>
# <<home-manager-warning>>
{ pkgs, ... }:
let

1
modules/emacs.nix

@ -1,4 +1,5 @@
# This file is controlled by /etc/dotfiles/README.org
# This module MUST be included within home manager
{ pkgs, ... }:
let

1
modules/git.nix

@ -1,4 +1,5 @@
# This file is controlled by /etc/dotfiles/README.org
# This module MUST be included within home manager
{ pkgs, ... }:
let

1
modules/gpg.nix

@ -1,4 +1,5 @@
# This file is controlled by /etc/dotfiles/README.org
# This module MUST be included within home manager
{ pkgs, ... }:
{

1
modules/gtk.nix

@ -1,4 +1,5 @@
# This file is controlled by /etc/dotfiles/README.org
# This module MUST be included within home manager
{ pkgs, ... }:
{

1
modules/vim.nix

@ -1,4 +1,5 @@
# This file is controlled by /etc/dotfiles/README.org
# This module MUST be included within home manager
{ pkgs, ... }:
{

Loading…
Cancel
Save