Compare commits

..

No commits in common. "4dad83e4aeaec555f870a3ff124d13fd06294d2a" and "cfdb483ff5c32cd2e699fc0bc4e47198b1f1b2b5" have entirely different histories.

8 changed files with 13 additions and 73 deletions

View file

@ -94,13 +94,5 @@
./hosts/caveserver/home.nix
];
};
homeConfigurations."zynh" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
extraSpecialArgs = { inherit inputs; };
modules = [
./hosts/little-lightning/home.nix
];
};
};
}

View file

@ -5,8 +5,7 @@ let
in
{
options.snowhawk.alacritty = {
enable = lib.mkEnableOption "alacritty home-manager module";
macos = lib.mkEnableOption "macos specific tweaks";
enable = lib.mkEnableOption "alacritty";
};
config = lib.mkIf cfg.enable {
@ -15,8 +14,6 @@ in
settings = {
window = {
opacity = 0.98;
decorations = lib.mkIf cfg.macos "buttonless";
option_as_alt = lib.mkIf cfg.macos "Both";
};
colors = {
primary.background = "#050505";

View file

@ -17,4 +17,5 @@ in
snowhawk.fish.enable = lib.mkDefault true;
snowhawk.git.enable = lib.mkDefault true;
snowhawk.lazygit.enable = lib.mkDefault true;
snowhawk.defaultPrograms.enable = lib.mkDefault true;
}

View file

@ -6,12 +6,10 @@ in
{
options.snowhawk.fish = {
enable = lib.mkEnableOption "fish";
macos = lib.mkEnableOption "macos specific tweaks";
};
config = lib.mkIf cfg.enable {
programs.bash = lib.mkIf (!cfg.macos) {
programs.bash = {
enable = true;
initExtra = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
@ -22,18 +20,6 @@ in
'';
};
programs.zsh = lib.mkIf cfg.macos {
enable = true;
initExtra = ''
if [[ $(${pkgs.procps}/bin/ps $(${pkgs.procps}/bin/ps -p $$ -co "ppid=") -co "comm=") != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
# shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
# exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
exec ${pkgs.fish}/bin/fish
fi
'';
};
programs.fish = {
enable = true;
shellAbbrs = {

View file

@ -9,10 +9,15 @@
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.defaultPrograms.enable = false;
snowhawk.ssh.enable = true;
snowhawk.user.username = "val";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''

View file

@ -1,45 +0,0 @@
{ pkgs, inputs, lib, ... }:
{
imports = [
../../home/modules
];
snowhawk.neovim = {
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.ssh = {
enable = true;
homeNetwork = true;
};
snowhawk.alacritty = {
enable = true;
macos = true;
};
snowhawk.fish.macos = true;
programs.alacritty.settings = {
font.size = lib.mkForce 16.0;
window.opacity = lib.mkForce 0.94;
colors.primary.background = lib.mkForce "#171717";
};
home.username = "zynh";
home.homeDirectory = "/Users/zynh/";
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''
home-manager switch |& nom
'')
go
rustup
fzf
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}

View file

@ -10,9 +10,14 @@
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.ssh.enable = true;
snowhawk.defaultPrograms.enable = false;
snowhawk.user.username = "zynh";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''

View file

@ -19,7 +19,6 @@ in
lazygit.enable = true;
dunst.enable = true;
sops.enable = true;
defaultPrograms.enable = true;
playerctl.enable = true;
};
snowhawk.ssh = {