Skip to content

Commit

Permalink
Feat: Add Direnv support
Browse files Browse the repository at this point in the history
  • Loading branch information
NamesCode committed Nov 30, 2024
1 parent 7bdf76f commit a59b93b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.direnv/
.DS_Store
20 changes: 14 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,22 @@
}@inputs:
let
system = "aarch64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
# pkgs = import nixpkgs {
# inherit system;
# config = {
# allowUnfree = true;
# };
# };
{
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;

devShells.${system}.default = pkgs.mkShell {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
bash-language-server
];

shellHook = ''echo "Welcome to the bloatation station! :D"'';
};

};

nixosConfigurations.navi = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit system;
Expand All @@ -39,5 +46,6 @@
inputs.nvame.nixosModules.nvame
];
};

};
}

0 comments on commit a59b93b

Please sign in to comment.