trying out docker

This commit is contained in:
Deepak Mallubhotla 2025-03-21 12:32:21 -05:00
parent 4d2fa843bf
commit c40724190e
Signed by: deepak
GPG Key ID: 47831B15427F5A55
4 changed files with 21 additions and 3 deletions

View File

@ -147,7 +147,7 @@ in
cmp_luasnip
nvim-lspconfig
# vim-vinegar
# vim-vinegar
oil-nvim
wiki-vim

View File

@ -1,6 +1,7 @@
{
pkgs,
customPackageOverlay,
withDocker,
stateVersion,
modulesPath,
hostname,
@ -100,4 +101,9 @@ in
time.timeZone = "America/Chicago";
virtualisation.docker.rootless = pkgs.lib.mkIf withDocker {
enable = true;
setSocketVariable = true;
};
}

View File

@ -25,6 +25,7 @@ in
specialArgs = {
inherit customPackageOverlay;
inherit nixpkgs-unstable;
withDocker = false;
};
modules = [
./maxos/configuration.nix
@ -54,6 +55,7 @@ in
inherit nixpkgs-unstable;
hostname = "nixosWalrus";
stateVersion = "24.11";
withDocker = false;
};
modules = [
./commonWSL-configuration.nix
@ -87,6 +89,7 @@ in
inherit nixpkgs-unstable;
hostname = "nixosWSL";
stateVersion = "22.05";
withDocker = false;
};
modules = [
./commonWSL-configuration.nix
@ -120,6 +123,7 @@ in
inherit nixpkgs-unstable;
hostname = "nixosEggYoke";
stateVersion = "22.05";
withDocker = true;
};
modules = [
./commonWSL-configuration.nix

View File

@ -1,6 +1,14 @@
# executes default, set to rebuilding current flake as test
default: test
default:
just --list
# does a nixos-rebuild test of current flake
test:
install:
sudo nixos-rebuild test --flake .
# run nix flake check
test:
nix flake check
fmt:
nix fmt