diff --git a/flake.lock b/flake.lock index 670d7e5..55d4777 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1636044164, - "narHash": "sha256-RI9QjS8NBrfVTp6dzmcEVKNNjxYGBf26+/7ihDA/USc=", + "lastModified": 1636274622, + "narHash": "sha256-tZYuGhqcfH7piCsrUrIYM0P3oPJcoBxGkuxeFNVxkCc=", "owner": "nix-community", "repo": "home-manager", - "rev": "70c5b268e10025c70823767f4fb49e240b40151d", + "rev": "2917ef23b398a22ee33fb34b5766b28728228ab1", "type": "github" }, "original": { @@ -53,11 +53,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1635844945, - "narHash": "sha256-tZcL307dj28jgEU1Wdn+zwG9neyW0H2+ZjdVhvJxh9g=", + "lastModified": 1636267212, + "narHash": "sha256-KDS173KqmqrYUPY9N4vf750GxIo+S6E0djyq2BsQm8s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b67e752c29f18a0ca5534a07661366d6a2c2e649", + "rev": "c935f5e0add2cf0ae650d072c8357533e21b0c35", "type": "github" }, "original": { diff --git a/hosts/miniding/configuration.nix b/hosts/miniding/configuration.nix index e7a718c..640c83b 100644 --- a/hosts/miniding/configuration.nix +++ b/hosts/miniding/configuration.nix @@ -55,17 +55,22 @@ gdm.enable = true; }; - deviceSection = '' - Option "TearFree" "True" - ''; - windowManager.i3.enable = true; }; # Enable sound. - sound.enable = true; + sound = { + enable = true; + + mediaKeys = { + enable = true; + + volumeStep = "2"; + }; + }; + hardware.pulseaudio.enable = true; hardware.opengl.driSupport32Bit = true; diff --git a/user/progs/i3/default.nix b/user/progs/i3/default.nix index 7484da4..7df8119 100644 --- a/user/progs/i3/default.nix +++ b/user/progs/i3/default.nix @@ -3,6 +3,11 @@ let mod = "Mod4"; in { + services.picom = { + enable = true; + vSync = true; + }; + xsession.windowManager.i3 = { enable = true; config = { diff --git a/user/progs/polybar/default.nix b/user/progs/polybar/default.nix index 396e78f..b5accb3 100644 --- a/user/progs/polybar/default.nix +++ b/user/progs/polybar/default.nix @@ -6,7 +6,6 @@ package = pkgs.polybar.override { i3Support = true; - mpdSupport = true; pulseSupport = true; };