Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
c766b08973 | |||
27ca179697 | |||
66b67b9b03 | |||
116e81d080 | |||
e64579832a | |||
11e350751a | |||
d86380c995 | |||
79ad288bcc | |||
5b3d74179b | |||
ac2d3acf0e | |||
9d132e5366 | |||
8248d4b969 | |||
18df257130 | |||
c9ffd8a567 | |||
637f7e0d78 | |||
4ff3ab574f | |||
633eea8877 | |||
3b7c49041c | |||
e8fac6e226 | |||
3239948de6 |
5
Makefile
5
Makefile
@ -1,7 +1,7 @@
|
|||||||
HOST ?= $(file < /etc/nixosFlakeName)
|
HOST ?= $(file < /etc/nixosFlakeName)
|
||||||
THREADS ?= $(shell nproc)
|
THREADS ?= $(shell nproc)
|
||||||
FLAKE ?= .
|
FLAKE ?= .
|
||||||
MODE = switch
|
MODE ?= boot
|
||||||
|
|
||||||
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
|
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
|
||||||
|
|
||||||
@ -22,4 +22,5 @@ iso :
|
|||||||
rm -rf result
|
rm -rf result
|
||||||
|
|
||||||
cleanup :
|
cleanup :
|
||||||
sudo nix-collect-garbage -d
|
sudo nix-collect-garbage -d --delete-older-than 1d
|
||||||
|
nix-store --optimize -vv
|
||||||
|
24
flake.lock
generated
24
flake.lock
generated
@ -8,11 +8,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1745419403,
|
"lastModified": 1752552209,
|
||||||
"narHash": "sha256-pQOOn4UntLSwnL3xZ1JAr3IDhXpL+kTS7Zw8ll59K9Q=",
|
"narHash": "sha256-qOU0Ntz0rczB8mtAXgrYywkeMGNOUZ7K1llhkXZ5IRE=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "346899a4b3b651ab447c61e0c8e9d8a1454cda72",
|
"rev": "a8e97c23cc97670e4ec9ab9fa43faf2585678de2",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -29,11 +29,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745627989,
|
"lastModified": 1752467539,
|
||||||
"narHash": "sha256-mOCdFmxocBPae7wg7RYWOtJzWMJk34u9493ItY0dVqw=",
|
"narHash": "sha256-4kaR+xmng9YPASckfvIgl5flF/1nAZOplM+Wp9I5SMI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4d2d32231797bfa7213ae5e8ac89d25f8caaae82",
|
"rev": "1e54837569e0b80797c47be4720fab19e0db1616",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -44,11 +44,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745503349,
|
"lastModified": 1752048960,
|
||||||
"narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=",
|
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1",
|
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -60,11 +60,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745526057,
|
"lastModified": 1752480373,
|
||||||
"narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=",
|
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f771eb401a46846c1aebd20552521b233dd7e18b",
|
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||||
# Updated: 2025/04/25 00:08:54 by tomoron ### ########.fr #
|
# Updated: 2025/05/12 12:35:00 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
|
|
||||||
home.file = { #should be able to make most of these in nix configs
|
home.file = { #should be able to make most of these in nix configs
|
||||||
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
|
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper_test.png;
|
||||||
".config/pc.jpg".source = lib.mkDefault utils/pc.jpg;
|
".config/pc.jpg".source = lib.mkDefault utils/pc.jpg;
|
||||||
".config/rofi/config.rasi".text = "@theme \"rounded-nord-dark.rasi\"";
|
".config/rofi/config.rasi".text = "@theme \"rounded-nord-dark.rasi\"";
|
||||||
|
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
"LIBVA_DRIVER_NAME,nvidia"
|
"LIBVA_DRIVER_NAME,nvidia"
|
||||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||||
];
|
];
|
||||||
cursor.no_hardware_cursors = 1;
|
cursor.no_hardware_cursors = true;
|
||||||
|
misc.vrr = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
mods.hyprland.autoSuspend = false;
|
mods.hyprland.autoSuspend = false;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file.".config/wallpaper.png".source = ../utils/wallpaper_test.png;
|
|
||||||
programs.waybar.settings.mainBar = {
|
programs.waybar.settings.mainBar = {
|
||||||
modules-right = lib.mkBefore ["custom/fans" "custom/dgpu"];
|
modules-right = lib.mkBefore ["custom/fans" "custom/dgpu"];
|
||||||
"custom/dgpu" = {
|
"custom/dgpu" = {
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
rerere.enabled = true;
|
rerere.enabled = true;
|
||||||
|
help.autocorrect = 1;
|
||||||
};
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f";
|
fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f";
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
clang-tools
|
clang-tools
|
||||||
nixd
|
nixd
|
||||||
nodejs_23
|
nodejs_24
|
||||||
glsl_analyzer
|
glsl_analyzer
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
"CTRL_ALT, Q, killactive,"
|
"CTRL_ALT, Q, killactive,"
|
||||||
"SUPER_ALT, Q, exit,"
|
"SUPER_ALT, Q, exit,"
|
||||||
"$mainMod, S, togglefloating,"
|
"$mainMod, S, togglefloating,"
|
||||||
|
"$mainMod, I, pin,"
|
||||||
"$mainMod, D, exec, rofi -show drun -show-icons"
|
"$mainMod, D, exec, rofi -show drun -show-icons"
|
||||||
"$mainMod, M, fullscreen, 1"
|
"$mainMod, M, fullscreen, 1"
|
||||||
"$mainMod, F, fullscreen, 0"
|
"$mainMod, F, fullscreen, 0"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/10 00:21:11 by tomoron #+# #+# #
|
# Created: 2025/02/10 00:21:11 by tomoron #+# #+# #
|
||||||
# Updated: 2025/02/12 09:36:07 by tomoron ### ########.fr #
|
# Updated: 2025/06/18 15:49:03 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
{lib, config, ... }:
|
{lib, config, ... }:
|
||||||
@ -34,7 +34,7 @@
|
|||||||
setxkbmap fr us&
|
setxkbmap fr us&
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -d)&
|
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -d)&
|
||||||
''; # this is messy but i don't care, x11 isn't my default now.
|
''; # this is messy but i don't care, x11 is just a fallback now
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
|
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
|
||||||
# Updated: 2025/04/15 15:58:07 by tomoron ### ########.fr #
|
# Updated: 2025/07/15 16:10:34 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -14,20 +14,32 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs;[
|
home.packages = with pkgs;[
|
||||||
|
lrzip
|
||||||
|
pigz
|
||||||
|
htop
|
||||||
|
gnumake
|
||||||
|
git
|
||||||
|
neofetch
|
||||||
|
neovim
|
||||||
|
clang
|
||||||
|
ninja
|
||||||
|
gdb
|
||||||
|
valgrind
|
||||||
|
wget
|
||||||
|
cmake
|
||||||
|
man-pages
|
||||||
|
stress
|
||||||
|
ffmpeg-full
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
||||||
activate-linux
|
activate-linux
|
||||||
unison
|
unison
|
||||||
brightnessctl
|
brightnessctl
|
||||||
playerctl
|
playerctl
|
||||||
python3
|
python3
|
||||||
vlc
|
vlc
|
||||||
nerd-fonts.iosevka
|
|
||||||
|
|
||||||
nix-index
|
nix-index
|
||||||
yubikey-manager
|
|
||||||
yubico-pam
|
|
||||||
dunst
|
dunst
|
||||||
|
yubikey-manager
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
libcaca
|
libcaca
|
||||||
nasm
|
nasm
|
||||||
|
1
homeConfigs/result
Symbolic link
1
homeConfigs/result
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/ffxpgsp8bpdfab8kd0vnlpappy5s65ag-home-manager-generation
|
@ -2,12 +2,7 @@
|
|||||||
{ config, lib, inputs, pkgs, ... }:
|
{ config, lib, inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
boot.kernelParams = [ "nvidia-drm-modset=1" ];
|
||||||
../modules/game.nix
|
|
||||||
../modules/nvidia.nix
|
|
||||||
../modules/vboxHost.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cudatoolkit
|
cudatoolkit
|
||||||
lm_sensors
|
lm_sensors
|
||||||
@ -18,9 +13,10 @@
|
|||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
boot.kernelModules = [ "kvm-intel" "nvidia" ];
|
boot.kernelModules = [ "kvm-intel" "nvidia" ];
|
||||||
|
mods.displayManager.enable = true;
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
open = true;
|
open = true;
|
||||||
|
|
||||||
prime.nvidiaBusId = "PCI:1:0:0";
|
prime.nvidiaBusId = "PCI:1:0:0";
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
|
|
||||||
services.getty.autologinUser = lib.mkForce "tom";
|
services.getty.autologinUser = lib.mkForce "tom";
|
||||||
services.getty.helpLine = lib.mkForce "";
|
services.getty.helpLine = lib.mkForce "";
|
||||||
programs.hyprland.enable = true;
|
# programs.hyprland.enable = true;
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
|
# home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
|
||||||
home-manager.users.tom = {
|
# home-manager.users.tom = {
|
||||||
imports = [
|
# imports = [
|
||||||
../../homeConfigs/home.nix
|
# ../../homeConfigs/home.nix
|
||||||
../../homeConfigs/hosts/iso.nix
|
# ../../homeConfigs/hosts/iso.nix
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,46 @@
|
|||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernelParams = [ "kvm.enable_virt_at_load=0" ];
|
|
||||||
|
|
||||||
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
||||||
|
boot.initrd.luks.devices.cryptroot.allowDiscards = true;
|
||||||
|
|
||||||
services.displayManager.enable = true;
|
mods.displayManager.enable = true;
|
||||||
services.displayManager.ly.enable = true;
|
mods.virtualManager.enable = false;
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
networking.hostName = "patate-douce";
|
networking.hostName = "patate-douce";
|
||||||
networking.wireless.enable = true;
|
networking.wireless.enable = true;
|
||||||
networking.networkmanager.enable = false;
|
networking.networkmanager.enable = false;
|
||||||
|
|
||||||
|
specialisation.vfio_ready.configuration = {
|
||||||
|
boot.kernel.sysctl."vm.nr_hugepages" = 5120;
|
||||||
|
boot.extraModulePackages = with config.boot.kernelPackages; [ kvmfr ];
|
||||||
|
boot.kernelModules = [ "kvmfr" ];
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options kvmfr static_size_mb=128
|
||||||
|
blacklist xpad
|
||||||
|
'';
|
||||||
|
virtualisation.libvirtd.qemu.verbatimConfig = ''
|
||||||
|
cgroup_device_acl = [
|
||||||
|
"/dev/kvmfr0", "/dev/null", "/dev/full", "/dev/zero",
|
||||||
|
"/dev/random", "/dev/urandom",
|
||||||
|
"/dev/ptmx", "/dev/kvm",
|
||||||
|
"/dev/rtc","/dev/hpet",
|
||||||
|
"/dev/input/by-id/[some_mouse_device]-event-mouse",
|
||||||
|
"/dev/input/by-id/[some_keyboard_device]-event-kbd"
|
||||||
|
]
|
||||||
|
'';
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="kvmfr", OWNER="tom", GROUP="kvm", MODE="0660"
|
||||||
|
'';
|
||||||
|
environment.systemPackages = with pkgs; [ looking-glass-client ];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
virtualisation.libvirtd.qemu.runAsRoot = true;
|
||||||
|
virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||||
|
|
||||||
networking.dhcpcd.enable = false;
|
networking.dhcpcd.enable = false;
|
||||||
systemd.network.enable = true;
|
systemd.network.enable = true;
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
@ -20,7 +48,6 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
acpi
|
acpi
|
||||||
tlp
|
tlp
|
||||||
looking-glass-client
|
|
||||||
fprintd
|
fprintd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
networking.hostName = "server";
|
networking.hostName = "server";
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
services.openssh.ports = [ 1880 ];
|
services.openssh.ports = [ 1880 ];
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
@ -73,7 +74,7 @@
|
|||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
liveRestore = false;
|
liveRestore = false;
|
||||||
enableOnBoot = true;
|
enableOnBoot = true;
|
||||||
package = inputs.pkgs-docker-2750.legacyPackages."x86_64-linux".docker;
|
# package = inputs.pkgs-docker-2750.legacyPackages."x86_64-linux".docker;
|
||||||
# daemon.settings = {
|
# daemon.settings = {
|
||||||
# runtimes.nvidia.path = "${pkgs.nvidia-docker}/bin/nvidia-container-runtime";
|
# runtimes.nvidia.path = "${pkgs.nvidia-docker}/bin/nvidia-container-runtime";
|
||||||
# exec-opts = ["native.cgroupdriver=cgroupfs"];
|
# exec-opts = ["native.cgroupdriver=cgroupfs"];
|
||||||
@ -87,6 +88,7 @@
|
|||||||
hardware.nvidia-container-toolkit.enable = true;
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
open = true;
|
open = true;
|
||||||
|
|
||||||
# prime.nvidiaBusId = "PCI:1:0:0";
|
# prime.nvidiaBusId = "PCI:1:0:0";
|
||||||
|
21
osConfigs/modules/displayManager.nix
Normal file
21
osConfigs/modules/displayManager.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.mods.displayManager.enable = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "enable the display manager";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.mods.displayManager.enable {
|
||||||
|
services.displayManager.enable = true;
|
||||||
|
services.displayManager.ly.enable = true;
|
||||||
|
services.displayManager.ly.settings =
|
||||||
|
{
|
||||||
|
sleep_cmd = "systemctl sleep";
|
||||||
|
asterisk = "A";
|
||||||
|
auth_fails= 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,14 +1,19 @@
|
|||||||
{ config, lib, inputs, pkgs, ... }:
|
{ config, lib, inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options.mods.virtualbox.enable = lib.mkOption {
|
options.mods.virtualManager.enable = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = "enable virtualbox as host";
|
description = "enable virtual manager as host";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.mods.virtualbox.enable {
|
config = lib.mkIf config.mods.virtualManager.enable {
|
||||||
virtualisation.virtualbox.host.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
users.users.tom.extraGroups = [ "vboxusers" ];
|
virtualisation.libvirtd.enable = true;
|
||||||
|
virtualisation.libvirtd.qemu.runAsRoot = true;
|
||||||
|
virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ spice-gtk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,25 +5,11 @@
|
|||||||
home-manager
|
home-manager
|
||||||
vim
|
vim
|
||||||
pciutils
|
pciutils
|
||||||
pigz
|
|
||||||
htop
|
|
||||||
gnumake
|
|
||||||
git
|
|
||||||
neofetch
|
|
||||||
neovim
|
|
||||||
ntfs3g
|
|
||||||
clang
|
|
||||||
ninja
|
|
||||||
gdb
|
|
||||||
valgrind
|
|
||||||
wget
|
|
||||||
cmake
|
|
||||||
usbutils
|
usbutils
|
||||||
man-pages
|
ntfs3g
|
||||||
stress
|
|
||||||
ffmpeg
|
|
||||||
cryptsetup
|
cryptsetup
|
||||||
acpi
|
acpi
|
||||||
dconf
|
nerd-fonts.iosevka
|
||||||
|
yubico-pam
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user