update controller settings and vm thingies on edi
This commit is contained in:
parent
0cc635afa0
commit
a77e7bcda3
6 changed files with 58 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", MODE="0660", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", KERNELS=="*057e:*", MODE="0660", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="2dc8", MODE="0660", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", KERNELS=="*2DC8:*", MODE="0660", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs; [
|
with pkgs; [
|
||||||
|
@ -39,6 +45,9 @@
|
||||||
|
|
||||||
# System tools
|
# System tools
|
||||||
aha
|
aha
|
||||||
|
ttf-ms-win10
|
||||||
|
wineWowPackages.stable
|
||||||
|
bottles
|
||||||
#bcachefs-tools
|
#bcachefs-tools
|
||||||
clinfo
|
clinfo
|
||||||
comma
|
comma
|
||||||
|
@ -96,6 +105,8 @@
|
||||||
# Can be used to install latest version of some packages
|
# Can be used to install latest version of some packages
|
||||||
# ])
|
# ])
|
||||||
;
|
;
|
||||||
|
|
||||||
|
fonts.packages = [pkgs.ttf-ms-win10];
|
||||||
sops = {
|
sops = {
|
||||||
secrets."nextcloud-password" = {
|
secrets."nextcloud-password" = {
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
|
|
|
@ -26,6 +26,14 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
|
||||||
|
users.groups.libvirtd.members = ["lillian"];
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
||||||
services.vpn-ip = {
|
services.vpn-ip = {
|
||||||
ip = "3";
|
ip = "3";
|
||||||
};
|
};
|
||||||
|
|
|
@ -52,6 +52,11 @@
|
||||||
kernelParams = ["quiet" "udev.log_priority=0" "fbcon=vc:2-6" "console=tty0"];
|
kernelParams = ["quiet" "udev.log_priority=0" "fbcon=vc:2-6" "console=tty0"];
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
};
|
};
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="2dc8", MODE="0660", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", KERNELS=="*2DC8:*", MODE="0660", TAG+="uaccess"
|
||||||
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2dc8", MODE="0666"
|
||||||
|
'';
|
||||||
zramSwap.enable = false;
|
zramSwap.enable = false;
|
||||||
networking = {
|
networking = {
|
||||||
domain = "";
|
domain = "";
|
||||||
|
@ -148,6 +153,8 @@
|
||||||
noto-fonts-emoji-blob-bin
|
noto-fonts-emoji-blob-bin
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
qjackctl
|
qjackctl
|
||||||
|
ttf-ms-win10
|
||||||
|
bottles
|
||||||
# jellyfin-media-player
|
# jellyfin-media-player
|
||||||
|
|
||||||
#rustdesk
|
#rustdesk
|
||||||
|
@ -224,6 +231,7 @@
|
||||||
enableAutoMountUdevRules = true;
|
enableAutoMountUdevRules = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
fonts.packages = [pkgs.ttf-ms-win10];
|
||||||
programs = {
|
programs = {
|
||||||
steam = lib.mkForce {
|
steam = lib.mkForce {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -236,6 +236,7 @@
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
|
usbutils
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable completion of system packages by zsh
|
# Enable completion of system packages by zsh
|
||||||
|
|
|
@ -15,4 +15,5 @@ pkgs: {
|
||||||
auto-mount = pkgs.callPackage ./auto-mount {};
|
auto-mount = pkgs.callPackage ./auto-mount {};
|
||||||
simple-completion-language-server = pkgs.callPackage ./simple-completion-language-server {};
|
simple-completion-language-server = pkgs.callPackage ./simple-completion-language-server {};
|
||||||
freetube-0236 = pkgs.callPackage ./freetube-0.23.6 {};
|
freetube-0236 = pkgs.callPackage ./freetube-0.23.6 {};
|
||||||
|
ttf-ms-win10 = pkgs.callPackage ./ttf-ms-win10 {};
|
||||||
}
|
}
|
||||||
|
|
29
pkgs/ttf-ms-win10/default.nix
Normal file
29
pkgs/ttf-ms-win10/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchzip,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "ttf-ms-win10";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/streetsamurai00mi/ttf-ms-win10/archive/refs/heads/build.zip";
|
||||||
|
hash = "sha256-UwkHlrSRaXhfoMlimyXFETV9yq1SbvUXykrhigf+wP8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/streetsamurai00mi/ttf-ms-win10";
|
||||||
|
description = "Windows 10 ttf Fonts";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = [];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue