diff --git a/common.nix b/common.nix index 1ceb7f0..7157843 100644 --- a/common.nix +++ b/common.nix @@ -21,6 +21,7 @@ networking = { # wireless.enable = true; # Enables wireless support via wpa_supplicant. + # wireless.userControlled.enable = true; # Configure network proxy if necessary # proxy.default = "http://user:password@proxy:port/"; @@ -33,15 +34,17 @@ enable = true; allowedTCPPortRanges = [ { + # KDE Connect from = 1714; to = 1764; - } # KDE Connect + } ]; allowedUDPPortRanges = [ { + # KDE Connect from = 1714; to = 1764; - } # KDE Connect + } ]; }; }; @@ -136,6 +139,13 @@ package = pkgs.gitFull; }; + + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + }; + # List packages installed in system profile. # environment.systemPackages = []; } diff --git a/home.nix b/home.nix index 3dc8918..a1552ce 100644 --- a/home.nix +++ b/home.nix @@ -5,7 +5,7 @@ }: { # override insync build version nixpkgs.config.packageOverrides = pkgs: { - my = import (builtins.fetchTarball https://github.com/kaesaecracker/nixpkgs/archive/db254c650b7f5b6657c6579afba1568f7f997195.tar.gz) { + my = import (builtins.fetchTarball https://github.com/kaesaecracker/nixpkgs/archive/0fa91456d2f6dfb9cd4008e81c89c2fec8512415.tar.gz) { config = config.nixpkgs.config; }; }; @@ -50,6 +50,11 @@ lutris amberol simple-scan + gnome.gpaste + wireguard-tools + # steamlink + chromium + element-desktop ] # system monitoring ++ [ @@ -59,6 +64,7 @@ radeontop lsof wirelesstools + #lm-sensors ] # command line niceness ++ [ @@ -76,6 +82,8 @@ arduino uucp screen + jetbrains.pycharm-professional + kdiff3 ]; file.".nanorc".text = '' @@ -123,12 +131,9 @@ prettylog = "log --pretty=oneline --graph"; }; extraConfig = { - pull = { - ff = "only"; - }; - init = { - defaultBranch = "main"; - }; + pull.ff = "only"; + init.defaultBranch = "main"; + merge.tool = "kdiff3"; }; }; @@ -136,12 +141,22 @@ enable = true; package = pkgs.vscodium; enableUpdateCheck = false; - extensions = [pkgs.vscode-extensions.bbenoist.nix]; + extensions = with pkgs; [ + vscode-extensions.bbenoist.nix + vscode-extensions.ms-python.python + ]; userSettings = { "files.insertFinalNewline" = true; + "git.autofetch" = true; + "update.mode" = "none"; + "editor.fontFamily" = "'Fira Code', 'Droid Sans Mono', 'monospace', monospace"; + "editor.fontLigatures" = true; "[nix]" = { "editor.tabSize" = 2; }; + "redhat.telemetry.enabled" = false; + "markdown.extension.tableFormatter.normalizeIndentation" = true; + "markdown.extension.toc.orderedList" = false; }; }; }; diff --git a/vinzenz-lpt-hardware-configuration.nix b/vinzenz-lpt-hardware-configuration.nix index a44d0b1..0aa8477 100644 --- a/vinzenz-lpt-hardware-configuration.nix +++ b/vinzenz-lpt-hardware-configuration.nix @@ -41,5 +41,6 @@ # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.enableRedistributableFirmware = true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }