move home.nix to main config

This commit is contained in:
Noah Masur
2022-04-28 21:23:43 -04:00
parent 7296c0fefc
commit cb66ca402e
3 changed files with 22 additions and 21 deletions

View File

@ -1,27 +1,12 @@
{ pkgs, user, lib, ... }:
{ pkgs, lib, user, ... }:
let
notes_path = "$HOME/dev/personal/notes";
ignore_patterns = ''
!.env*
!.github/
!.gitignore
!*.tfvars
.terraform/
.target/
/Library/
keybase/
kbfs/
'';
in {
options = with lib; {
ignorePatterns = mkOption { default = ignore_patterns; };
};
home-manager.users.${user} = {
config = {
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [