changed up

This commit is contained in:
Bryan Ramos 2024-05-09 11:56:25 -04:00
parent 1d170da221
commit 6a06793716
3 changed files with 11 additions and 17 deletions

View file

@ -1,9 +1,7 @@
{ config, pkgs, home-manager, ... }:
{ ... }:
{
imports = [ ../../../user ];
"${config.user.name}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
};
imports = [
./home.nix
];
}

View file

@ -9,14 +9,14 @@
homeDirectory = "/home/${config.user.name}";
file.".config/home-manager" = {
source = ../../../../../nixos;
source = ../../../..;
recursive = true;
};
};
programs.home-manager.enable = true;
programs.bash.shellAliases = {
nixup = "home-manager switch";
nixup = "home-manager switch --flake";
};
nix = {
@ -26,11 +26,6 @@
auto-optimise-store = true;
trusted-users = [ "${config.user.name}" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
modules = {
user = {
@ -42,8 +37,6 @@
alacritty.enable = true;
browsers.enable = true;
neovim.enable = true;
};
utils = {
enable = true;