nix all the things

flake devshell & default editor

+4
+3
flake.nix
··· 79 79 wakuna-image = self.lib.sdImageFromSystem self.nixosConfigurations.wakuna; 80 80 }; 81 81 formatter = pkgs.nixfmt-rfc-style; 82 + devShells.default = pkgs.mkShell { 83 + packages = with pkgs; [ sops ]; 84 + }; 82 85 }; 83 86 84 87 flake =
+1
modules/dev/nixos.nix
··· 28 28 environment.shells = mkIf (cfg.enable || cfg.shell.enable) [ pkgs.nushell ]; 29 29 30 30 programs.nano.enable = mkDefault (!(cfg.enable || cfg.editor.enable)); 31 + environment.sessionVariables.EDITOR = mkIf cfg.editor.enable "hx"; 31 32 }; 32 33 }