mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
trying to get this shit to build
This commit is contained in:
parent
1861c3e6e6
commit
375a6dc02f
17 changed files with 111 additions and 115 deletions
|
|
@ -53,8 +53,8 @@
|
|||
};
|
||||
|
||||
# Virtualisation
|
||||
nix.settings.system-features = "kvm";
|
||||
environment.systemPackages = pkgs.virt-manager;
|
||||
nix.settings.system-features = [ "kvm" ];
|
||||
environment.systemPackages = [ pkgs.virt-manager ];
|
||||
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
|
|
@ -66,6 +66,7 @@
|
|||
};
|
||||
|
||||
# CPU
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
# Networking
|
||||
networking = {
|
||||
hostName = "socratesV2";
|
||||
hostName = "socrates";
|
||||
useDHCP = lib.mkDefault true;
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
enable = true;
|
||||
startWhenNeeded = true;
|
||||
settings = {
|
||||
permitRootLogin = false;
|
||||
# permitRootLogin = false;
|
||||
X11Forwarding = true;
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue