moved home-manager

This commit is contained in:
John Lancaster
2025-06-16 14:23:54 -05:00
parent 367a21894e
commit 0b5a00afb6
5 changed files with 3 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, lib, userSettings, systemSettings, ... }:
{
imports = [
(import ./home-manager {inherit systemSettings userSettings lib pkgs;})
# (import ./home-manager {inherit systemSettings userSettings lib pkgs;})
./nixos
./scripts
];

View File

@@ -1,12 +0,0 @@
{ userSettings, ... }:
{
programs.git = {
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "${userSettings.gitUserName}";
userEmail = "${userSettings.gitUserEmail}";
extraConfig = {
safe.directory = "/home/appdaemon/ad-nix";
};
};
}

View File

@@ -1,23 +0,0 @@
{ ... }:
{
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
# https://github.com/ohmyzsh/ohmyzsh/wiki/themes
# theme = "robbyrussell";
# theme = "simple";
theme = "risto";
plugins = [
"sudo"
"dotenv"
"git"
"ssh"
"ssh-agent"
];
};
shellAliases = {
ls = "eza -lgs type -o --no-time";
};
};
}

View File

@@ -1,6 +1,7 @@
{ ... }:
{
imports = [
./home-manager.nix
./docker
./services
];

View File

@@ -18,6 +18,7 @@
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
programs.gh.enable = true;
programs.git.extraConfig.safe.directory = "/home/appdaemon/ad-nix";
home.packages = with pkgs; [
lazydocker
];