cleanup
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
./disk-config.nix
|
||||
];
|
||||
|
||||
time.timeZone = "Europe/Vienna";
|
||||
services.openssh.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
|
||||
custom = {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
#./hardware-configuration.nix
|
||||
../../modules/services/ssh.nix
|
||||
../../modules/services/step-ca.nix
|
||||
../../modules/fail2ban.nix
|
||||
../../modules/logging.nix
|
||||
../../modules/motd.nix
|
||||
../../modules/kernel.nix
|
||||
../../modules/services/fail2ban.nix
|
||||
../../modules/misc/logging.nix
|
||||
../../modules/misc/motd.nix
|
||||
../../modules/misc/kernel.nix
|
||||
./disk-config.nix
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
@@ -133,24 +133,6 @@
|
||||
networking.firewall.allowedTCPPorts = [ 25565 25566 8888 ];
|
||||
networking.hostName = "server-vm"; # Define your hostname.
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_AT.UTF-8";
|
||||
LC_IDENTIFICATION = "de_AT.UTF-8";
|
||||
LC_MEASUREMENT = "de_AT.UTF-8";
|
||||
LC_MONETARY = "de_AT.UTF-8";
|
||||
LC_NAME = "de_AT.UTF-8";
|
||||
LC_NUMERIC = "de_AT.UTF-8";
|
||||
LC_PAPER = "de_AT.UTF-8";
|
||||
LC_TELEPHONE = "de_AT.UTF-8";
|
||||
LC_TIME = "de_AT.UTF-8";
|
||||
};
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "us";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../modules/kernel.nix
|
||||
../../modules/misc/kernel.nix
|
||||
../../modules/services/ssh.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
#../../modules/fh/scanning.nix
|
||||
../../modules/support/ntfs.nix
|
||||
../../modules/thunderbolt.nix
|
||||
../../modules/misc/kernel.nix
|
||||
../../modules/services/wireguard-client.nix
|
||||
../../modules/services/ssh.nix
|
||||
../../modules/work/vpn.nix
|
||||
#../../modules/vmware-host.nix
|
||||
#../../modules/fh/forensik.nix
|
||||
#../../modules/no-sleep-lid-closed.nix
|
||||
@@ -17,6 +21,64 @@
|
||||
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
];
|
||||
|
||||
custom = {
|
||||
cli-tools.enable = true;
|
||||
tmpfs.enable = true;
|
||||
wireshark.enable = true;
|
||||
virt-manager.enable = true;
|
||||
nix = {
|
||||
ld.enable = true;
|
||||
settings.enable = true;
|
||||
};
|
||||
misc = {
|
||||
podman.enable = true;
|
||||
firejail.enable = true;
|
||||
};
|
||||
hardware = {
|
||||
firmware.enable = true;
|
||||
ssd.enable = true;
|
||||
#tablet.enable = true;
|
||||
#fingerprint.enable = true;
|
||||
};
|
||||
services = {
|
||||
syncthing.enable = true;
|
||||
};
|
||||
graphical = {
|
||||
audio.enable = true;
|
||||
basics.enable = true;
|
||||
code = {
|
||||
enable = true;
|
||||
#android.enable = true;
|
||||
};
|
||||
#emulators.enable = true;
|
||||
hyprland.enable = true;
|
||||
games.enable = true;
|
||||
ime.enable = true;
|
||||
shared.enable = true;
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = import ../../modules/themes/tsukasa.nix;
|
||||
image = ../../tsukasa.jpg;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [ "electron-27.3.11" "electron-28.3.3" ];
|
||||
services.fprintd.enable = true;
|
||||
|
||||
#todo: extract this
|
||||
services.xserver = {
|
||||
xkb.layout = config.mainUser.layout;
|
||||
xkb.variant = config.mainUser.variant;
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
#programs.firejail.wrappedBinaries = with pkgs;
|
||||
# let inherit (config.custom.misc.firejail) mk;
|
||||
# in lib.mkMerge [
|
||||
# (mk "Discord" { pkg = discord; })
|
||||
# ];
|
||||
|
||||
#services.blueman.enable = true;
|
||||
|
||||
#hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
@@ -63,24 +125,6 @@
|
||||
# 82.218.12.28 kopatz.ddns.net
|
||||
#'';
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_AT.UTF-8";
|
||||
LC_IDENTIFICATION = "de_AT.UTF-8";
|
||||
LC_MEASUREMENT = "de_AT.UTF-8";
|
||||
LC_MONETARY = "de_AT.UTF-8";
|
||||
LC_NAME = "de_AT.UTF-8";
|
||||
LC_NUMERIC = "de_AT.UTF-8";
|
||||
LC_PAPER = "de_AT.UTF-8";
|
||||
LC_TELEPHONE = "de_AT.UTF-8";
|
||||
LC_TIME = "de_AT.UTF-8";
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
# disable until CVE-2024-47176, CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177 is fixed
|
||||
services.printing.enable = false;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
../../modules/gpg.nix
|
||||
#../../modules/xanmod-kernel.nix
|
||||
#../../modules/kernel-testing.nix
|
||||
../../modules/kernel.nix
|
||||
../../modules/misc/kernel.nix
|
||||
../../modules/services/syncthing.nix
|
||||
../../modules/support/ntfs.nix
|
||||
../../modules/fh/writing.nix
|
||||
@@ -115,13 +115,6 @@
|
||||
};
|
||||
|
||||
|
||||
i18n.supportedLocales = [
|
||||
"C.UTF-8/UTF-8"
|
||||
"de_AT.UTF-8/UTF-8"
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"ja_JP.UTF-8/UTF-8"
|
||||
];
|
||||
|
||||
# apple shit
|
||||
#services.usbmuxd.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
@@ -158,23 +151,7 @@
|
||||
#disable firewall when doing ipv6 vm stuff
|
||||
#networking.firewall.enable = lib.mkForce false;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_AT.UTF-8";
|
||||
LC_IDENTIFICATION = "de_AT.UTF-8";
|
||||
LC_MEASUREMENT = "de_AT.UTF-8";
|
||||
LC_MONETARY = "de_AT.UTF-8";
|
||||
LC_NAME = "de_AT.UTF-8";
|
||||
LC_NUMERIC = "de_AT.UTF-8";
|
||||
LC_PAPER = "de_AT.UTF-8";
|
||||
LC_TELEPHONE = "de_AT.UTF-8";
|
||||
LC_TIME = "de_AT.UTF-8";
|
||||
};
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../modules/kernel.nix ];
|
||||
imports = [ ../../modules/misc/kernel.nix ];
|
||||
|
||||
specialisation = {
|
||||
nvidia = {
|
||||
|
||||
Reference in New Issue
Block a user