trying out docker
This commit is contained in:
parent
4d2fa843bf
commit
c40724190e
@ -147,7 +147,7 @@ in
|
|||||||
cmp_luasnip
|
cmp_luasnip
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
|
|
||||||
# vim-vinegar
|
# vim-vinegar
|
||||||
oil-nvim
|
oil-nvim
|
||||||
|
|
||||||
wiki-vim
|
wiki-vim
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
customPackageOverlay,
|
customPackageOverlay,
|
||||||
|
withDocker,
|
||||||
stateVersion,
|
stateVersion,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
hostname,
|
hostname,
|
||||||
@ -100,4 +101,9 @@ in
|
|||||||
|
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = "America/Chicago";
|
||||||
|
|
||||||
|
virtualisation.docker.rootless = pkgs.lib.mkIf withDocker {
|
||||||
|
enable = true;
|
||||||
|
setSocketVariable = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,7 @@ in
|
|||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit customPackageOverlay;
|
inherit customPackageOverlay;
|
||||||
inherit nixpkgs-unstable;
|
inherit nixpkgs-unstable;
|
||||||
|
withDocker = false;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./maxos/configuration.nix
|
./maxos/configuration.nix
|
||||||
@ -54,6 +55,7 @@ in
|
|||||||
inherit nixpkgs-unstable;
|
inherit nixpkgs-unstable;
|
||||||
hostname = "nixosWalrus";
|
hostname = "nixosWalrus";
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
|
withDocker = false;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./commonWSL-configuration.nix
|
./commonWSL-configuration.nix
|
||||||
@ -87,6 +89,7 @@ in
|
|||||||
inherit nixpkgs-unstable;
|
inherit nixpkgs-unstable;
|
||||||
hostname = "nixosWSL";
|
hostname = "nixosWSL";
|
||||||
stateVersion = "22.05";
|
stateVersion = "22.05";
|
||||||
|
withDocker = false;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./commonWSL-configuration.nix
|
./commonWSL-configuration.nix
|
||||||
@ -120,6 +123,7 @@ in
|
|||||||
inherit nixpkgs-unstable;
|
inherit nixpkgs-unstable;
|
||||||
hostname = "nixosEggYoke";
|
hostname = "nixosEggYoke";
|
||||||
stateVersion = "22.05";
|
stateVersion = "22.05";
|
||||||
|
withDocker = true;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./commonWSL-configuration.nix
|
./commonWSL-configuration.nix
|
||||||
|
12
justfile
12
justfile
@ -1,6 +1,14 @@
|
|||||||
# executes default, set to rebuilding current flake as test
|
# executes default, set to rebuilding current flake as test
|
||||||
default: test
|
default:
|
||||||
|
just --list
|
||||||
|
|
||||||
# does a nixos-rebuild test of current flake
|
# does a nixos-rebuild test of current flake
|
||||||
test:
|
install:
|
||||||
sudo nixos-rebuild test --flake .
|
sudo nixos-rebuild test --flake .
|
||||||
|
|
||||||
|
# run nix flake check
|
||||||
|
test:
|
||||||
|
nix flake check
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
nix fmt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user