diff --git a/configuration.nix b/configuration.nix index 61076b5..cc3b7e3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -213,6 +213,10 @@ # Samba networking.firewall.extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns''; + virtualisation.docker = { + enable = true; + storageDriver = "btrfs"; + }; virtualisation.libvirtd = { enable = true; diff --git a/flake.lock b/flake.lock index 5a930cd..9ef004f 100644 --- a/flake.lock +++ b/flake.lock @@ -29,11 +29,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1696328081, - "narHash": "sha256-bLByhTgLUi5VNwagMyHtG2+wJ7HDjf8rNjokDgN3wCw=", + "lastModified": 1696410469, + "narHash": "sha256-N8gQTrqQVW+d3bUcWKkfKPKvctMH3SzkzkFtysruPc4=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "a202ec0db49962241a811481ba15ac7e98ebad04", + "rev": "61ba9eca21db0a7e8a6471d11f3f6f74b79a70ba", "type": "github" }, "original": { @@ -194,11 +194,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696039360, - "narHash": "sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE=", + "lastModified": 1696323343, + "narHash": "sha256-u7WLUrh5eb+6SBYwtkaGL2ryHpLcHzmLml+a+VqKJWE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "32dcb45f66c0487e92db8303a798ebc548cadedc", + "rev": "3b79cc4bcd9c09b5aa68ea1957c25e437dc6bc58", "type": "github" }, "original": { @@ -210,11 +210,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1696039360, - "narHash": "sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE=", + "lastModified": 1696323343, + "narHash": "sha256-u7WLUrh5eb+6SBYwtkaGL2ryHpLcHzmLml+a+VqKJWE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "32dcb45f66c0487e92db8303a798ebc548cadedc", + "rev": "3b79cc4bcd9c09b5aa68ea1957c25e437dc6bc58", "type": "github" }, "original": { @@ -258,11 +258,11 @@ }, "nur": { "locked": { - "lastModified": 1696351685, - "narHash": "sha256-lSNGQttwfSm9G3gEo8Pc5dZdUfMxKKIyUKts/J+UxT4=", + "lastModified": 1696421792, + "narHash": "sha256-fhx7rQoL0rbupNRcNbTQSOxJ7sU6vpug+og2f9z1FDw=", "owner": "nix-community", "repo": "NUR", - "rev": "8d2064f5786202d354d073cb30336386fe7fc19b", + "rev": "4ca4be389a0c04cf9b41a554f9d3b3cea7a5b68a", "type": "github" }, "original": { diff --git a/hardware.nix b/hardware.nix index 45d9da2..2f76fe3 100644 --- a/hardware.nix +++ b/hardware.nix @@ -10,6 +10,7 @@ ]; boot = { + kernelPackages = pkgs.linuxPackages_latest; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; diff --git a/users.nix b/users.nix index 41ec124..cc346a1 100644 --- a/users.nix +++ b/users.nix @@ -8,7 +8,7 @@ users.users.tristand = { isNormalUser = true; description = "Tristan Druyen"; - extraGroups = ["networkmanager" "wheel" "libvirtd" "qemu-libvirtd"]; + extraGroups = ["docker" "networkmanager" "wheel" "libvirtd" "qemu-libvirtd"]; shell = pkgs.fish; home = "/home/tristand"; hashedPassword = "$6$Wj.XY8JgH5EWuog4$HnbtPJXDEqKXFrzkPVEjih3PytcpBCrkfL7TAwkXd0IFced7kGMlZNliNsAqQ3XqfyUzAYiiKTIqoPVJEk.s..";