diff --git a/flake.nix b/flake.nix index 7d11854..10f519a 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,8 @@ url = "github:ryantm/agenix"; inputs = { nixpkgs.follows = "nixpkgs"; + darwin.follows = "nix-darwin"; + home-manager.follows = "home-manager"; }; }; home-manager = { @@ -179,6 +181,8 @@ "millironx@bosephus" = mkHomeConfiguration { hostname = "bosephus"; }; + "tchristensen@beocat" = mkHomeConfiguration { hostname = "beocat"; }; + "millironx@odyssey" = mkHomeConfiguration { hostname = "odyssey"; desktop = true; diff --git a/homes/beocat.nix b/homes/beocat.nix new file mode 100644 index 0000000..2282c83 --- /dev/null +++ b/homes/beocat.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, pkgs-unstable, ... }: { + home = { + username = "tchristensen"; + homeDirectory = "/homes/tchristensen"; + }; + programs = { }; + services = { }; +} diff --git a/homes/desktop.nix b/homes/desktop.nix index 51a4e01..22e355e 100644 --- a/homes/desktop.nix +++ b/homes/desktop.nix @@ -40,5 +40,21 @@ custom-pkgs.jlfmt custom-pkgs.runic ]; + shellAliases = { + code = "codium"; + zunlink = '' + readlink ~/.config/zed/settings.json > ~/.config/zed/hm-settings-location && + rm ~/.config/zed/settings.json && + cp $(< ~/.config/zed/hm-settings-location) ~/.config/zed/settings.json && + chmod u+w ~/.config/zed/settings.json + ''; + zrelink = '' + rm -f ~/.config/zed/settings.json && + ln -s $(< ~/.config/zed/hm-settings-location) ~/.config/zed/settings.json + ''; + }; + }; + services = { + syncthing.enable = true; }; } diff --git a/programs/direnv.nix b/programs/direnv.nix index 086b41c..4b34305 100644 --- a/programs/direnv.nix +++ b/programs/direnv.nix @@ -1,7 +1,6 @@ -{ pkgs-unstable, ... }: { +{ ... }: { programs.direnv = { enable = true; - package = pkgs-unstable.direnv; enableBashIntegration = true; enableZshIntegration = true; };