feat: Add amp home-manager on Fedora
This commit is contained in:
parent
e1e44a06ed
commit
2817b8c3ff
6 changed files with 11 additions and 5 deletions
|
@ -156,6 +156,7 @@
|
||||||
"kdb424@cubert" = mkHome [./home-manager/machines/cubert.nix] nixpkgs.legacyPackages.aarch64-darwin;
|
"kdb424@cubert" = mkHome [./home-manager/machines/cubert.nix] nixpkgs.legacyPackages.aarch64-darwin;
|
||||||
"kdb424@farnsworth" = mkHome [./home-manager/machines/headless.nix] nixpkgs.legacyPackages.aarch64-linux;
|
"kdb424@farnsworth" = mkHome [./home-manager/machines/headless.nix] nixpkgs.legacyPackages.aarch64-linux;
|
||||||
"kdb424@zapp" = mkHome [./home-manager/machines/headless.nix] nixpkgs.legacyPackages.x86_64-linux;
|
"kdb424@zapp" = mkHome [./home-manager/machines/headless.nix] nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
"kdb424@amy" = mkHome [./home-manager/machines/headless.nix] nixpkgs.legacyPackages.x86_64-linux;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home.username = "kdb424";
|
home.username = "kdb424";
|
||||||
#home.homeDirectory = "/home/kdb424";
|
home.homeDirectory = "/home/kdb424";
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
# configuration is compatible with. This helps avoid breakage
|
# configuration is compatible with. This helps avoid breakage
|
||||||
|
|
|
@ -29,7 +29,7 @@ in {
|
||||||
# file = "p10k.zsh";
|
# file = "p10k.zsh";
|
||||||
# }
|
# }
|
||||||
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
|
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
|
||||||
[[ ! -f ${configThemeNormal} ]] || source ${configThemeNormal}
|
[[ ! -f ${configThemeNormal} ]] || source /home/kdb424/.zsh/plugins/powerlevel10k
|
||||||
else
|
else
|
||||||
[[ ! -f ${configThemeTTY} ]] || source ${configThemeTTY}
|
[[ ! -f ${configThemeTTY} ]] || source ${configThemeTTY}
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -48,4 +48,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
perl # needed for plugins
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
6
justfile
6
justfile
|
@ -79,7 +79,8 @@ hm-build:
|
||||||
if ! test -f ~/.local/state/nix/profiles; then
|
if ! test -f ~/.local/state/nix/profiles; then
|
||||||
mkdir -p ~/.local/state/nix/profiles
|
mkdir -p ~/.local/state/nix/profiles
|
||||||
fi
|
fi
|
||||||
home-manager build --flake .
|
# home-manager build --flake .
|
||||||
|
nh home build .
|
||||||
|
|
||||||
# Switch to home manager
|
# Switch to home manager
|
||||||
hm-switch:
|
hm-switch:
|
||||||
|
@ -88,7 +89,8 @@ hm-switch:
|
||||||
if ! test -f ~/.local/state/nix/profiles; then
|
if ! test -f ~/.local/state/nix/profiles; then
|
||||||
mkdir -p ~/.local/state/nix/profiles
|
mkdir -p ~/.local/state/nix/profiles
|
||||||
fi
|
fi
|
||||||
home-manager switch --flake .
|
# home-manager switch --flake .
|
||||||
|
nh home switch .
|
||||||
|
|
||||||
# Nuclear option to get space back
|
# Nuclear option to get space back
|
||||||
gc-full:
|
gc-full:
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
# Enable experimental features without having to specify the argument
|
# Enable experimental features without having to specify the argument
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
nativeBuildInputs = with pkgs; [nix home-manager git just alejandra];
|
nativeBuildInputs = with pkgs; [nix home-manager git just alejandra nh];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue