Move home.nix.default to separate nix file

This commit is contained in:
Tobias Happ 2019-09-21 06:13:30 +02:00 committed by Alexander Sosedkin
parent 2373549259
commit e3211574b8
3 changed files with 43 additions and 45 deletions

View file

@ -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 { };

View file

@ -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
];
}
''

View file

@ -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