use docker on sgx-nixos
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
e181ef3e75
commit
227144bceb
|
@ -30,6 +30,8 @@
|
|||
ssh.enable = true;
|
||||
# jetbrains.enable = true;
|
||||
};
|
||||
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
|
|
@ -13,7 +13,7 @@ let
|
|||
in
|
||||
{
|
||||
options.plusultra.nix = with types; {
|
||||
enable = mkBoolOpt true "Whether or not to manage nix configuration.";
|
||||
enable = mkBoolOpt false "Whether or not to manage nix configuration.";
|
||||
package = mkOpt package pkgs.nixUnstable "Which nix package to use.";
|
||||
|
||||
default-substituter = {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
with lib;
|
||||
with lib.plusultra; let
|
||||
cfg = config.plusultra.user;
|
||||
defaultIconFileName = "profile.png";
|
||||
defaultIconFileName = "profile.jpg";
|
||||
defaultIcon = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "default-icon";
|
||||
src = ./. + "/${defaultIconFileName}";
|
||||
|
|
BIN
modules/nixos/user/profile.jpg
Normal file
BIN
modules/nixos/user/profile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 90 KiB |
|
@ -69,17 +69,19 @@ with lib.plusultra;
|
|||
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
|
||||
];
|
||||
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# virtualisation = {
|
||||
# podman = {
|
||||
# enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
# dockerCompat = true;
|
||||
|
||||
# For Nixos version > 22.11
|
||||
defaultNetwork.settings = { dns_enabled = true; };
|
||||
};
|
||||
};
|
||||
# defaultNetwork.settings = { dns_enabled = true; };
|
||||
# };
|
||||
# };
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue