clean up nixos config

This commit is contained in:
joachimschmidt557 2021-10-29 00:16:30 +02:00
parent 75901ee9bf
commit c6f3808030
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -161,9 +161,6 @@
# Steam
programs.steam.enable = true;
# hardware.opengl.driSupport32Bit = true;
# hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
# hardware.pulseaudio.support32Bit = true;
nixpkgs.config.packageOverrides = pkgs: rec {
# Override emacs
@ -178,38 +175,6 @@
};
};
# Configuration for dwm
# nixpkgs.config.dwm = {
# conf = builtins.fetchurl {
# url = "https://gitlab.com/joachimschmidt557/dotfiles/-/raw/master/dwm/config.h";
# sha256 = "6fe60337a89b6bdec55351df3fba03b4e9689d786b726073702d0fbf41324882";
# };
# };
# Configuration for st
# nixpkgs.config.st = {
# patches = let
# scrollback = builtins.fetchurl {
# url = "https://st.suckless.org/patches/scrollback/st-scrollback-20200419-72e3f6c.diff";
# sha256 = "042k00iy8fvr3xvq93fmnhmjqpl1kns24x50xsa82npgllbzwh8y";
# };
# scrollbackMouse = builtins.fetchurl {
# url = "https://st.suckless.org/patches/scrollback/st-scrollback-mouse-20191024-a2c479c.diff";
# sha256 = "0z961sv4pxa1sxrbhalqzz2ldl7qb26qk9l11zx1hp8rh3cmi51i";
# };
# newTerm = builtins.fetchurl {
# url = "http://st.suckless.org/patches/newterm/st-newterm-0.8.2.diff";
# sha256 = "10r7cbdym0zvifdsvaf34adzc1qc9nwywvg6g9bmhaafjrxjqr91";
# };
# in [ ];
# conf = let
# path = builtins.fetchurl {
# url = "https://gitlab.com/joachimschmidt557/dotfiles/-/raw/master/st/config_scrollback.h";
# sha256 = "0fm2j0i72p9s4wyv4szk7ai6jckv33m2z9g17a3xksvi8q77g7zp";
# };
# in builtins.readFile path;
# };
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 8080 ];
networking.firewall.allowedUDPPorts = [ 8080 ];
@ -224,14 +189,6 @@
extraBackends = [ pkgs.hplipWithPlugin ];
};
# Redshift
# services.redshift = {
# enable = true;
# package = pkgs.redshift-wlr;
# temperature.day = 6500;
# temperature.night = 2000;
# };
systemd.user.services.wlsunset = {
description = "wlsunset colour temperature adjuster";
wantedBy = [ "graphical-session.target" ];
@ -251,11 +208,6 @@
# Hardware
# Enable sound.
sound.enable = true;
# hardware.pulseaudio = {
# enable = true;
# package = pkgs.pulseaudioFull;
# extraModules = [ pkgs.pulseaudio-modules-bt ];
# };
hardware.bluetooth.enable = true;
# UPower