my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
at main 21 lines 590 B view raw view rendered
1Adding packages to your user or system profile is different then most other 2flakes. In this flake we use the `garden.packages` attribute to add our 3packages, which take an attrset. This prevents us from having duplicate listings 4of packages, and lets us think a little less when writing home-manger or 5nixos/darwin module code. 6 7An example of this may look like the following: 8 9```nix 10{ pkgs, ... }: 11{ 12 garden.packages = { 13 inherit (pkgs) git; 14 15 wrapped-nvim = pkgs.symlinkJoin { 16 name = "wrapped-nvim"; 17 paths = [ pkgs.nvim pkgs.astro-language-server ]; 18 }; 19 }; 20} 21```