Update configuration.nix
This commit is contained in:
parent
857a916964
commit
788462956b
1 changed files with 12 additions and 2 deletions
|
@ -28,7 +28,11 @@ in {
|
||||||
|
|
||||||
nixpkgs.config = { allowUnfree = true; };
|
nixpkgs.config = { allowUnfree = true; };
|
||||||
|
|
||||||
networking.hostName = "nixos"; # Define your hostname.
|
virtualisation.libvirtd.enable = true;
|
||||||
|
virtualisation.libvirtd.qemu.package = pkgs.qemu_kvm;
|
||||||
|
users.extraGroups.libvirtd.members = [ "sevki" ];
|
||||||
|
|
||||||
|
networking.hostName = "trashcan"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
|
@ -60,6 +64,7 @@ in {
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
# Enable the GNOME Desktop Environment.
|
# Enable the GNOME Desktop Environment.
|
||||||
|
# services.displayManager.sddm.enable = true;
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
@ -69,6 +74,7 @@ in {
|
||||||
xkbVariant = "";
|
xkbVariant = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
@ -93,7 +99,7 @@ in {
|
||||||
users.users.sevki = {
|
users.users.sevki = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "sevki";
|
description = "sevki";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
# rustc
|
# rustc
|
||||||
|
@ -139,6 +145,7 @@ in {
|
||||||
llvmPackages_17.bintools
|
llvmPackages_17.bintools
|
||||||
podman-compose
|
podman-compose
|
||||||
sea-orm-cli
|
sea-orm-cli
|
||||||
|
ulauncher
|
||||||
(vscode-with-extensions.override {
|
(vscode-with-extensions.override {
|
||||||
vscodeExtensions = with vscode-extensions; [
|
vscodeExtensions = with vscode-extensions; [
|
||||||
tamasfe.even-better-toml
|
tamasfe.even-better-toml
|
||||||
|
@ -212,6 +219,9 @@ in {
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
nextdns
|
nextdns
|
||||||
|
virt-manager
|
||||||
|
qemu
|
||||||
|
OVMF
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/rust-lang/rust-bindgen#environment-variables
|
# https://github.com/rust-lang/rust-bindgen#environment-variables
|
||||||
|
|
Loading…
Reference in a new issue