mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Move home.nix.default to separate nix file
This commit is contained in:
parent
2373549259
commit
e3211574b8
3 changed files with 43 additions and 45 deletions
|
|
@ -13,7 +13,7 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
homeNixDefault = callPackage ./home-nix-default.nix { };
|
homeNixDefault = writeText "home.nix.default" (builtins.readFile ./raw/home.nix.default);
|
||||||
|
|
||||||
login = callPackage ./login.nix { };
|
login = callPackage ./login.nix { };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
||||||
''
|
|
||||||
42
src/pkgs/files/raw/home.nix.default
Normal file
42
src/pkgs/files/raw/home.nix.default
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue