Compare commits

..

2 Commits

Author SHA1 Message Date
k
e29e0fefd6 formating 2025-02-10 14:29:34 +00:00
k
cedac03816 added libvirtd 2025-02-10 14:29:17 +00:00
6 changed files with 59 additions and 52 deletions

View File

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
@ -13,13 +17,13 @@
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/aace1ae9-2a8f-4a90-9e0b-cb21779636d2";
fileSystems."/" = {
device = "/dev/disk/by-uuid/aace1ae9-2a8f-4a90-9e0b-cb21779636d2";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8D75-F095";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8D75-F095";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};

View File

@ -35,7 +35,7 @@
k = {
isNormalUser = true;
description = "k";
extraGroups = ["networkmanager" "wheel"];
extraGroups = ["networkmanager" "wheel" "libvirtd"];
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKbKVe6gneJ9ghFih3bOeL++iDNPJNIMoZSdNMOsD0I k@laptop"];
packages = with pkgs; [zsh];
shell = pkgs.zsh;

View File

@ -14,7 +14,10 @@
defaults.email = "markers711@gmail.com";
};
virtualisation.docker = {enable = true;};
virtualisation = {
docker = {enable = true;};
libvirtd = {enable = true;};
};
services = {
openssh = {enable = true;};