This commit is contained in:
2021-11-09 01:37:09 +00:00
parent 4ecc51c673
commit 3636c479df
4 changed files with 21 additions and 12 deletions

12
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1636044164, "lastModified": 1636274622,
"narHash": "sha256-RI9QjS8NBrfVTp6dzmcEVKNNjxYGBf26+/7ihDA/USc=", "narHash": "sha256-tZYuGhqcfH7piCsrUrIYM0P3oPJcoBxGkuxeFNVxkCc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "70c5b268e10025c70823767f4fb49e240b40151d", "rev": "2917ef23b398a22ee33fb34b5766b28728228ab1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -53,11 +53,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1635844945, "lastModified": 1636267212,
"narHash": "sha256-tZcL307dj28jgEU1Wdn+zwG9neyW0H2+ZjdVhvJxh9g=", "narHash": "sha256-KDS173KqmqrYUPY9N4vf750GxIo+S6E0djyq2BsQm8s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b67e752c29f18a0ca5534a07661366d6a2c2e649", "rev": "c935f5e0add2cf0ae650d072c8357533e21b0c35",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -55,17 +55,22 @@
gdm.enable = true; gdm.enable = true;
}; };
deviceSection = ''
Option "TearFree" "True"
'';
windowManager.i3.enable = true; windowManager.i3.enable = true;
}; };
# Enable sound. # Enable sound.
sound.enable = true; sound = {
enable = true;
mediaKeys = {
enable = true;
volumeStep = "2";
};
};
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;

View File

@@ -3,6 +3,11 @@
let let
mod = "Mod4"; mod = "Mod4";
in { in {
services.picom = {
enable = true;
vSync = true;
};
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
config = { config = {

View File

@@ -6,7 +6,6 @@
package = pkgs.polybar.override { package = pkgs.polybar.override {
i3Support = true; i3Support = true;
mpdSupport = true;
pulseSupport = true; pulseSupport = true;
}; };