Direnv and allow unfree
This commit is contained in:
parent
c2eb0ec788
commit
8e2b3e3a28
6 changed files with 24 additions and 16 deletions
5
.envrc
Normal file
5
.envrc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
use flake
|
||||
|
||||
if [ -f .env ]; then
|
||||
dotenv .env
|
||||
fi
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
.nobackup
|
||||
.direnv/
|
||||
|
|
|
|||
|
|
@ -74,9 +74,7 @@
|
|||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
cmake
|
||||
pkg-config
|
||||
meson
|
||||
lazygit
|
||||
agenix.packages.${system}.agenix
|
||||
colmena.packages.${system}.colmena
|
||||
];
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ in
|
|||
|
||||
programs = {
|
||||
|
||||
direnv.enable = true;
|
||||
|
||||
# For VSCode Remote Development
|
||||
nix-ld.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -67,18 +67,18 @@ in
|
|||
# # specialArgs = { };
|
||||
# };
|
||||
|
||||
baseLXC = nixpkgs.lib.nixosSystem {
|
||||
pkgs = pkgs "x86_64-linux";
|
||||
modules = [
|
||||
nodeBaseModules
|
||||
proxmoxModule
|
||||
./base-lxc.nix
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
specialArgs = {
|
||||
inherit self;
|
||||
};
|
||||
};
|
||||
# baseLXC = nixpkgs.lib.nixosSystem {
|
||||
# pkgs = pkgs "x86_64-linux";
|
||||
# modules = [
|
||||
# nodeBaseModules
|
||||
# proxmoxModule
|
||||
# ./base-lxc.nix
|
||||
# agenix.nixosModules.default
|
||||
# ];
|
||||
# specialArgs = {
|
||||
# inherit self;
|
||||
# };
|
||||
# };
|
||||
|
||||
arr = nixpkgs.lib.nixosSystem {
|
||||
pkgs = pkgs "x86_64-linux";
|
||||
|
|
@ -157,7 +157,7 @@ in
|
|||
# specialArgs = { };
|
||||
};
|
||||
|
||||
authentik = nixpkgs.lib.nixosSystem {
|
||||
authentik = nixpkgs-unstable.lib.nixosSystem {
|
||||
pkgs = pkgs-unstable "x86_64-linux";
|
||||
modules = [
|
||||
nodeBaseModules
|
||||
|
|
|
|||
|
|
@ -5,9 +5,11 @@ let
|
|||
in
|
||||
{
|
||||
meta = {
|
||||
# Configuration used by colmena to build
|
||||
nixpkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
overlays = [ ];
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) inputs.self.nixosConfigurations;
|
||||
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs) inputs.self.nixosConfigurations;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue