Use programs.virt-manager, remove nano

This commit is contained in:
Artemis Tosini 2023-11-29 18:58:03 +00:00
parent 10c58ce06d
commit e06eacdd3a
Signed by: artemist
GPG key ID: EE5227935FE3FF18
3 changed files with 12 additions and 10 deletions

View file

@ -308,11 +308,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1701020860, "lastModified": 1701250978,
"narHash": "sha256-NwnRn04C8s+hH+KdVtGmVB1FFNIG7DtPJmQSCBDaET4=", "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "b006ec52fce23b1d57f6ab4a42d7400732e9a0a2", "rev": "8772491ed75f150f02552c60694e1beff9f46013",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -381,11 +381,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1701194385, "lastModified": 1701250280,
"narHash": "sha256-35s/DHukB+qddspQHT1+QjJvWVAOhX1lZYhRLPKepXE=", "narHash": "sha256-Nx2nqkUfOAvW+GlVIs5HK8WfuZsbN8FqW2bXNx0fMJc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "fda9e1e9a478c8dbe14cc7e2d8ff1db82619e515", "rev": "f56d412f84e2cee53365ade1093f9cc449d58fa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -433,11 +433,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1700064067, "lastModified": 1700922917,
"narHash": "sha256-1ZWNDzhu8UlVCK7+DUN9dVQfiHX1bv6OQP9VxstY/gs=", "narHash": "sha256-ej2fch/T584b5K9sk1UhmZF7W6wEfDHuoUYpFN8dtvM=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "e558068cba67b23b4fbc5537173dbb43748a17e8", "rev": "e5ee5c5f3844550c01d2131096c7271cec5e9b78",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -8,4 +8,5 @@
]; ];
programs.nixvim.enable = true; programs.nixvim.enable = true;
programs.nano.enable = lib.mkDefault false;
} }

View file

@ -22,7 +22,8 @@
# Breaks IPv4 on bridge # Breaks IPv4 on bridge
boot.kernel.sysctl."net.bridge.bridge-nf-call-iptables" = 0; 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 = { users.users = {
artemis.extraGroups = [ "lxd" "libvirtd" ]; artemis.extraGroups = [ "lxd" "libvirtd" ];