mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Make home manager config work cross-platform
This commit is contained in:
parent
77ebe6ddd5
commit
516036541b
3 changed files with 13 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, system, username, ... }: {
|
||||
home.stateVersion = "25.05";
|
||||
home.packages = with pkgs; [
|
||||
age
|
||||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
# home-manager switch --flake ~/repos/dots
|
||||
programs.zsh.shellAliases = {
|
||||
nixdiff = "cd ~/repos/dots && home-manager build --flake . && nvd diff /run/current-system result";
|
||||
nixup = "home-manager switch --flake ~/repos/dots";
|
||||
nixdiff = "cd ~/repos/dots && home-manager build --flake .#${username}-${system} && nvd diff /run/current-system result";
|
||||
nixup = "home-manager switch --flake ~/repos/dots#${username}-${system}";
|
||||
};
|
||||
|
||||
sops = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue