Fixed various Things for Pipeline to pass
All checks were successful
/ Check Nix Flake (push) Successful in 2m27s
All checks were successful
/ Check Nix Flake (push) Successful in 2m27s
This commit is contained in:
parent
14253d71b6
commit
eb76d220f4
9 changed files with 63 additions and 23 deletions
|
@ -28,7 +28,6 @@ in {
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
logseq
|
logseq
|
||||||
xournalpp
|
xournalpp
|
||||||
xournal
|
|
||||||
rnote
|
rnote
|
||||||
# Security
|
# Security
|
||||||
gnupg
|
gnupg
|
||||||
|
|
|
@ -59,13 +59,15 @@ in
|
||||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
networking.firewall.allowedTCPPorts = [ 25565 ];
|
||||||
|
|
||||||
# Configure Plugin Luckperms
|
# Configure Plugin Luckperms
|
||||||
services.minecraft-servers.servers."velocity".files."plugins/luckperms/config.yml".value = {
|
sops.templates."minecraft/velocity/plugin/luckperms/config.yml".path = "/srv/minecraft/velocity/plugins/luckperms/config.yml";
|
||||||
storage-method = "mariadb";
|
sops.templates."minecraft/velocity/plugin/luckperms/config.yml".content = ''
|
||||||
data.address = "localhost:${toString config.services.mysql.settings.mysqld.port}";
|
storage-method: mariadb
|
||||||
data.database = "luckperms";
|
data:
|
||||||
data.username = "luckperms";
|
address: localhost:${toString config.services.mysql.settings.mysqld.port}
|
||||||
data.password = builtins.readFile /run/secrets/minecraft/database/luckperms_password; # Secret created in ./database.nix
|
database: luckperms
|
||||||
};
|
username: luckperms
|
||||||
|
password: ${config.sops.placeholder."minecraft/database/luckperms_password"}
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.videoDrivers = [ "intel" "modesetting" "fbdev" "vesa" "intel_drv" "intel-media-sdk" ];
|
services.xserver.videoDrivers = [ "modesetting" "fbdev" "vesa" "intel_drv" "intel-media-sdk" ];
|
||||||
# Enable Desktop Environment.
|
# Enable Desktop Environment.
|
||||||
services.displayManager.sddm.enable = true;
|
services.displayManager.sddm.enable = true;
|
||||||
# services.displayManager.sddm.wayland.enable = true;
|
# services.displayManager.sddm.wayland.enable = true;
|
||||||
|
|
|
@ -37,8 +37,8 @@
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "i686-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "i686-linux";
|
||||||
# networking.enableIntel3945ABGFirmware = true;
|
# networking.enableIntel3945ABGFirmware = true;
|
||||||
hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver pkgs.internal.intel-media-sdk pkgs.xorg.xf86videointel ];
|
hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver pkgs.internal.intel-media-sdk ];
|
||||||
hardware.graphics.extraPackages32 = [ pkgs.intel-vaapi-driver pkgs.internal.intel-media-sdk pkgs.xorg.xf86videointel ];
|
hardware.graphics.extraPackages32 = [ pkgs.intel-vaapi-driver pkgs.internal.intel-media-sdk ];
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,6 +92,7 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIuvGIdO1nwuzq3YrjpxH84rpGhquNvRKz1SSPwKUsth kb @ Rubtrm"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIuvGIdO1nwuzq3YrjpxH84rpGhquNvRKz1SSPwKUsth kb @ Rubtrm"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGRlk8FEIN7P81SRVEkP1wjlBjsiUGcBcqzSbHVGB0sF root @ Ohybke"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ # Include the results of the hardware scan.
|
imports = [ # Include the results of the hardware scan.
|
||||||
./vm.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Configure Nix
|
# Configure Nix
|
||||||
|
|
49
systems/x86_64-linux/U3ncSovm/hardware.nix
Normal file
49
systems/x86_64-linux/U3ncSovm/hardware.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ config, lib, pkgs, modulesPath, inputs, ... }:
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
# Configure NixOS
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
|
# Boot Parameters
|
||||||
|
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "firewire_ohci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" "wl" ];
|
||||||
|
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||||||
|
|
||||||
|
# Filesystems
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
boot.initrd.luks.devices."luks-00000000-0000-0000-0000-000000000000".device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/0000-0000";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/swapfile";
|
||||||
|
size = 4*1024;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
# Network
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Hardware
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
# Virtual Machine Configuration
|
||||||
|
virtualisation.vmVariant = {
|
||||||
|
# following configuration is added only when building VM with build-vm
|
||||||
|
virtualisation = {
|
||||||
|
memorySize = 4*1024;
|
||||||
|
cores = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,10 +0,0 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
{
|
|
||||||
virtualisation.vmVariant = {
|
|
||||||
# following configuration is added only when building VM with build-vm
|
|
||||||
virtualisation = {
|
|
||||||
memorySize = 4*1024;
|
|
||||||
cores = 3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -139,7 +139,6 @@
|
||||||
tidal-hifi
|
tidal-hifi
|
||||||
iamb # Matrix with Vim-Binds
|
iamb # Matrix with Vim-Binds
|
||||||
yazi
|
yazi
|
||||||
nerdfonts
|
|
||||||
scrcpy
|
scrcpy
|
||||||
ryujinx
|
ryujinx
|
||||||
razergenie
|
razergenie
|
||||||
|
|
Loading…
Add table
Reference in a new issue