Compare commits
No commits in common. "11667722d74c46d279d33f51729c0d02e9dc8c49" and "1ca4511ec19b6c0f0cf3f12c9f7c80c660714ba4" have entirely different histories.
11667722d7
...
1ca4511ec1
1 changed files with 2 additions and 25 deletions
|
@ -36,11 +36,7 @@
|
||||||
|
|
||||||
# GNOME!
|
# GNOME!
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
displayManager.gdm = {
|
displayManager.gdm.enable = true;
|
||||||
# At the login screen, don't automatically fall asleep.
|
|
||||||
autoSuspend = false;
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Nvidia driver support.
|
# Nvidia driver support.
|
||||||
videoDrivers = [ "nvidia" ];
|
videoDrivers = [ "nvidia" ];
|
||||||
|
@ -86,29 +82,10 @@
|
||||||
cpu.amd.updateMicrocode = true;
|
cpu.amd.updateMicrocode = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# As recommended in https://nixos.wiki/wiki/Libvirt#Setup
|
|
||||||
virtualisation.libvirtd = {
|
|
||||||
enable = true;
|
|
||||||
qemu = {
|
|
||||||
package = pkgs.qemu_kvm;
|
|
||||||
runAsRoot = true;
|
|
||||||
swtpm.enable = true;
|
|
||||||
ovmf = {
|
|
||||||
enable = true;
|
|
||||||
packages = [
|
|
||||||
(pkgs.OVMF.override {
|
|
||||||
secureBoot = true;
|
|
||||||
tpmSupport = true;
|
|
||||||
}).fd
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Hey, world!
|
# Hey, world!
|
||||||
users.users.spotlight = {
|
users.users.spotlight = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "libvirtd" "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQQO+c8ygVzRt55Z9qekqItSjYiw381cFPOqX+vGAGT MacBook Air 2020 macOS"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQQO+c8ygVzRt55Z9qekqItSjYiw381cFPOqX+vGAGT MacBook Air 2020 macOS"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/gyX9b80oml6z3UGOxVMJk/NS8R5w9NEITJcKb0MnU MacBook Air 2020 NixOS"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/gyX9b80oml6z3UGOxVMJk/NS8R5w9NEITJcKb0MnU MacBook Air 2020 NixOS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue