>_ Replaced shell scripts with justfile, nix shell to download the rest

This commit is contained in:
2025-02-13 21:52:01 +01:00
parent 0b0d93cf41
commit 0825b293a1
9 changed files with 48 additions and 32 deletions

View File

@ -37,14 +37,23 @@
}:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
inherit (self) outputs;
common = import ./common.nix;
in
{
defaultPackage.${system} = home-manager.defaultPackage.${system};
# The minimum amount of dependencies in order to run 'just switch-now'
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
just
nh
];
};
# Adds the nix fmt command to format nix files
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
formatter.${system} = pkgs.nixfmt-rfc-style;
nixosConfigurations.${common.hostname} = nixpkgs.lib.nixosSystem {
system = system;