enable docker and update

This commit is contained in:
Julian Sutter 2025-03-03 10:42:38 -08:00
parent fbdc6153c4
commit 4eaa6c05e8
3 changed files with 24 additions and 13 deletions

View file

@ -9,7 +9,17 @@
qemu.ovmf.packages = [ pkgs.OVMFFull ]; qemu.ovmf.packages = [ pkgs.OVMFFull ];
}; };
spiceUSBRedirection.enable = true; spiceUSBRedirection.enable = true;
docker = {
enable = true;
# Use journald for logging for better integration with system logs
extraOptions = "--log-driver=journald";
# Optional: configure daemon settings as needed (e.g., registry mirrors, storage drivers)
# settings = {
# "registry-mirrors" = [ "https://mirror.gcr.io" ];
# };
}; };
};
services.spice-vdagentd.enable = true; services.spice-vdagentd.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -22,6 +32,7 @@
win-spice win-spice
# quickemu # quickemu
spicy spicy
docker-compose
]; ];
environment.sessionVariables.LIBVIRT_DEFAULT_URI = [ "qemu:///system" ]; environment.sessionVariables.LIBVIRT_DEFAULT_URI = [ "qemu:///system" ];

24
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740347597, "lastModified": 1740845322,
"narHash": "sha256-st5q9egkPGz8TUcVVlIQX7y6G3AzHob+6M963bwVq74=", "narHash": "sha256-AXEgFj3C0YJhu9k1OhbRhiA6FnDr81dQZ65U3DhaWpw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "12e26a74e5eb1a31e13daaa08858689e25ebd449", "rev": "fcac3d6d88302a5e64f6cb8014ac785e08874c8d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1740387674, "lastModified": 1740646007,
"narHash": "sha256-pGk/aA0EBvI6o4DeuZsr05Ig/r4uMlSaf5EWUZEWM10=", "narHash": "sha256-dMReDQobS3kqoiUCQIYI9c0imPXRZnBubX20yX/G5LE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "d58f642ddb23320965b27beb0beba7236e9117b5", "rev": "009b764ac98a3602d41fc68072eeec5d24fc0e49",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1740367490, "lastModified": 1740828860,
"narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=", "narHash": "sha256-cjbHI+zUzK5CPsQZqMhE3npTyYFt9tJ3+ohcfaOF/WM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0196c0175e9191c474c26ab5548db27ef5d34b05", "rev": "303bd8071377433a2d8f76e684ec773d70c5b642",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -61,11 +61,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739557722, "lastModified": 1740569341,
"narHash": "sha256-XikzLpPUDYiNyJ4w2SfRShdbSkIgE3btYdxCGInmtc4=", "narHash": "sha256-WV8nY2IOfWdzBF5syVgCcgOchg/qQtpYh6LECYS9XkY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "plasma-manager", "repo": "plasma-manager",
"rev": "1f3e1f38dedbbb8aad77e184fb54ec518e2d9522", "rev": "5eeb0172fb74392053b66a8149e61b5e191b2845",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -87,7 +87,7 @@
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ profiles.default.extensions = with pkgs.vscode-extensions; [
dracula-theme.theme-dracula dracula-theme.theme-dracula
yzhang.markdown-all-in-one yzhang.markdown-all-in-one
mkhl.direnv mkhl.direnv