mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
updates and virtualization enhancements
This commit is contained in:
parent
614bf653df
commit
70a6695ca1
12
flake.lock
12
flake.lock
|
@ -179,11 +179,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700419052,
|
"lastModified": 1700695018,
|
||||||
"narHash": "sha256-U6a5f9ynbzcp8PMIHULbHPkbwp7YfPKOYmTcLqlalD4=",
|
"narHash": "sha256-MAiPLgBF4GLzSOlhnPCDWkWW5CDx4i7ApIYaR+TwTVg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "993fb02d20760067b8ee19c713d94cee07037759",
|
"rev": "134deb46abd5d0889d913b8509413f6f38b0811e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -295,11 +295,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700390070,
|
"lastModified": 1700612854,
|
||||||
"narHash": "sha256-de9KYi8rSJpqvBfNwscWdalIJXPo8NjdIZcEJum1mH0=",
|
"narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e4ad989506ec7d71f7302cc3067abd82730a4beb",
|
"rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultFonts = false;
|
enableDefaultPackages = false;
|
||||||
packages = with pkgs;
|
packages = with pkgs;
|
||||||
[
|
[
|
||||||
nerdfonts
|
nerdfonts
|
||||||
|
@ -110,7 +110,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
|
||||||
|
|
||||||
# control display backlight
|
# control display backlight
|
||||||
programs.light.enable = true;
|
programs.light.enable = true;
|
||||||
|
@ -181,40 +180,23 @@
|
||||||
nvme-cli
|
nvme-cli
|
||||||
intel-gpu-tools
|
intel-gpu-tools
|
||||||
tpm2-tools
|
tpm2-tools
|
||||||
|
lm_sensors
|
||||||
|
pciutils
|
||||||
|
|
||||||
# system essentials
|
# system essentials
|
||||||
wget
|
|
||||||
htop-vim
|
htop-vim
|
||||||
dig
|
|
||||||
traceroute
|
|
||||||
mtr
|
|
||||||
whois
|
|
||||||
inetutils
|
|
||||||
lsof
|
lsof
|
||||||
killall
|
killall
|
||||||
zip
|
zip
|
||||||
unzip
|
unzip
|
||||||
pciutils
|
|
||||||
lm_sensors
|
|
||||||
sbctl
|
sbctl
|
||||||
man-pages
|
man-pages
|
||||||
openssl
|
|
||||||
cups
|
cups
|
||||||
agenix.packages.x86_64-linux.default
|
agenix.packages.x86_64-linux.default
|
||||||
mosh
|
mosh
|
||||||
qpwgraph
|
qpwgraph
|
||||||
];
|
];
|
||||||
|
|
||||||
# services.mysql = {
|
|
||||||
# enable = true;
|
|
||||||
# package = pkgs.mariadb;
|
|
||||||
# ensureUsers = [
|
|
||||||
# {
|
|
||||||
# name = "user1";
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
programs.java.enable = true;
|
programs.java.enable = true;
|
||||||
programs.wireshark = {
|
programs.wireshark = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./uni.nix ];
|
imports = [ ./uni.nix ];
|
||||||
|
|
||||||
|
@ -16,6 +16,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
mtr
|
||||||
|
whois
|
||||||
|
inetutils
|
||||||
|
openssl
|
||||||
|
wget
|
||||||
|
dnsutils
|
||||||
|
];
|
||||||
services.lldpd.enable = true;
|
services.lldpd.enable = true;
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
fallbackDns = [
|
fallbackDns = [
|
||||||
|
|
|
@ -54,9 +54,16 @@
|
||||||
# in
|
# in
|
||||||
{
|
{
|
||||||
|
|
||||||
boot.kernelParams = [ "intel_iommu=on" ];
|
# boot.kernelParams = [ "intel_iommu=on" ];
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation = {
|
||||||
virtualisation.spiceUSBRedirection.enable = true;
|
libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu = {
|
||||||
|
runAsRoot = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
spiceUSBRedirection.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# fix to enable secure boot in vms
|
# fix to enable secure boot in vms
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
|
|
Loading…
Reference in a new issue