From e06eacdd3a50727668f08289504668fe807fd740 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 29 Nov 2023 18:58:03 +0000 Subject: [PATCH] Use programs.virt-manager, remove nano --- flake.lock | 18 +++++++++--------- sets/nixvim.nix | 1 + sets/virtualization.nix | 3 ++- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 9f89950..1009d6f 100644 --- a/flake.lock +++ b/flake.lock @@ -308,11 +308,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1701020860, - "narHash": "sha256-NwnRn04C8s+hH+KdVtGmVB1FFNIG7DtPJmQSCBDaET4=", + "lastModified": 1701250978, + "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "b006ec52fce23b1d57f6ab4a42d7400732e9a0a2", + "rev": "8772491ed75f150f02552c60694e1beff9f46013", "type": "github" }, "original": { @@ -381,11 +381,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1701194385, - "narHash": "sha256-35s/DHukB+qddspQHT1+QjJvWVAOhX1lZYhRLPKepXE=", + "lastModified": 1701250280, + "narHash": "sha256-Nx2nqkUfOAvW+GlVIs5HK8WfuZsbN8FqW2bXNx0fMJc=", "owner": "nix-community", "repo": "nixvim", - "rev": "fda9e1e9a478c8dbe14cc7e2d8ff1db82619e515", + "rev": "f56d412f84e2cee53365ade1093f9cc449d58fa3", "type": "github" }, "original": { @@ -433,11 +433,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1700064067, - "narHash": "sha256-1ZWNDzhu8UlVCK7+DUN9dVQfiHX1bv6OQP9VxstY/gs=", + "lastModified": 1700922917, + "narHash": "sha256-ej2fch/T584b5K9sk1UhmZF7W6wEfDHuoUYpFN8dtvM=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "e558068cba67b23b4fbc5537173dbb43748a17e8", + "rev": "e5ee5c5f3844550c01d2131096c7271cec5e9b78", "type": "github" }, "original": { diff --git a/sets/nixvim.nix b/sets/nixvim.nix index 6b727ee..2daf283 100644 --- a/sets/nixvim.nix +++ b/sets/nixvim.nix @@ -8,4 +8,5 @@ ]; programs.nixvim.enable = true; + programs.nano.enable = lib.mkDefault false; } diff --git a/sets/virtualization.nix b/sets/virtualization.nix index 769e6bf..f250657 100644 --- a/sets/virtualization.nix +++ b/sets/virtualization.nix @@ -22,7 +22,8 @@ # Breaks IPv4 on bridge boot.kernel.sysctl."net.bridge.bridge-nf-call-iptables" = 0; - environment.systemPackages = with pkgs; [ virt-manager spice-gtk qemu ]; + programs.virt-manager.enable = true; + environment.systemPackages = with pkgs; [ spice-gtk qemu ]; users.users = { artemis.extraGroups = [ "lxd" "libvirtd" ];