diff --git a/src/pkgs/files/default.nix b/src/pkgs/files/default.nix index 0654a7d..0c4a936 100644 --- a/src/pkgs/files/default.nix +++ b/src/pkgs/files/default.nix @@ -13,7 +13,7 @@ let in { - homeNixDefault = callPackage ./home-nix-default.nix { }; + homeNixDefault = writeText "home.nix.default" (builtins.readFile ./raw/home.nix.default); login = callPackage ./login.nix { }; diff --git a/src/pkgs/files/home-nix-default.nix b/src/pkgs/files/home-nix-default.nix deleted file mode 100644 index 6088b9c..0000000 --- a/src/pkgs/files/home-nix-default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ writeText }: - -writeText "home.nix.default" '' - { pkgs, ... }: - - { - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; - - # Install and configure software declaratively - #programs.git = { - # enable = true; - # userName = "Jane Doe"; - # userEmail = "jane.doe@example.org"; - #}; - - # Simply install just the packages - home.packages = with pkgs; [ - # Stuff that you really really want to have - nix cacert coreutils # think twice before removing these - - # User-facing stuff that you really really want to have - bashInteractive # think twice before removing thes - vim # or some other editor, e.g. nano or neovim - - # Some common stuff that people expect to have - #diffutils - #findutils - #utillinux - #tzdata - #hostname - #man - #gnugrep - #gnupg - #gnused - #gnutar - #bzip2 - #gzip - #xz - #zip - #unzip - ]; - } -'' diff --git a/src/pkgs/files/raw/home.nix.default b/src/pkgs/files/raw/home.nix.default new file mode 100644 index 0000000..76a6ff6 --- /dev/null +++ b/src/pkgs/files/raw/home.nix.default @@ -0,0 +1,42 @@ +{ pkgs, ... }: + +{ + # Let Home Manager install and manage itself. + programs.home-manager.enable = true; + + # Install and configure software declaratively + #programs.git = { + # enable = true; + # userName = "Jane Doe"; + # userEmail = "jane.doe@example.org"; + #}; + + # Simply install just the packages + home.packages = with pkgs; [ + # Stuff that you really really want to have + nix cacert coreutils # think twice before removing these + + # User-facing stuff that you really really want to have + bashInteractive # think twice before removing thes + vim # or some other editor, e.g. nano or neovim + + # Some common stuff that people expect to have + #diffutils + #findutils + #utillinux + #tzdata + #hostname + #man + #gnugrep + #gnupg + #gnused + #gnutar + #bzip2 + #gzip + #xz + #zip + #unzip + ]; +} + +# vim: ft=nix