mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-04-09 23:52:58 +00:00
optionally include sflx packages
This commit is contained in:
parent
928e411040
commit
61fa1382f0
10
home.nix
10
home.nix
@ -1,5 +1,5 @@
|
|||||||
{ host }:
|
{ host }:
|
||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
# https://nix-community.github.io/home-manager
|
# https://nix-community.github.io/home-manager
|
||||||
home.stateVersion = "25.05"; # Please read the comment before changing.
|
home.stateVersion = "25.05"; # Please read the comment before changing.
|
||||||
@ -9,7 +9,10 @@
|
|||||||
home.homeDirectory = "/Users/${host.username}";
|
home.homeDirectory = "/Users/${host.username}";
|
||||||
|
|
||||||
home.packages =
|
home.packages =
|
||||||
[ ] ++ (import ./home/shared.nix { inherit pkgs; }) ++ (import ./home/sflx.nix { inherit pkgs; });
|
[ ]
|
||||||
|
++ (import ./home/shared.nix { inherit pkgs; })
|
||||||
|
# TODO: Move to host config
|
||||||
|
++ lib.optionals (host.hostName == "sflx") (import ./home/sflx.nix { inherit pkgs; });
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
@ -32,8 +35,7 @@
|
|||||||
rsync = "rsync -az --info=progress2";
|
rsync = "rsync -az --info=progress2";
|
||||||
t = "tmux new-session -A -s main";
|
t = "tmux new-session -A -s main";
|
||||||
e = "nvim";
|
e = "nvim";
|
||||||
hms = "home-manager switch --flake ~/nix#root -b backup";
|
vai = "darwin-rebuild switch --flake ~/.config/nix-darwin#${host.hostName}";
|
||||||
snd = "darwin-rebuild switch --flake ~/.config/nix-darwin#mbp";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user