forked from colonelpanic/dotfiles
[NixOS] Use own picom config
This commit is contained in:
parent
84137f30be
commit
4e16364e40
@ -1483,6 +1483,7 @@ The file server file for this emacs instance no longer exists.")
|
||||
** beacon
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package beacon
|
||||
:disabled t
|
||||
:demand t
|
||||
:diminish beacon-mode
|
||||
:bind ("C-c b" . beacon-blink)
|
||||
|
@ -1,5 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.sway.enable = true;
|
||||
services.xserver.windowManager.i3.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
asciidoctor
|
||||
gource
|
||||
|
@ -62,7 +62,7 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"narHash": "sha256-OtY5KlTU1TOydDiFTjPx0lCZmfLwdWEagm0C1NROErU=",
|
||||
"narHash": "sha256-CBJguKlUR3DInWleAYhkqA9ujMjKazdThSHK84peKFQ=",
|
||||
"path": "./home-manager",
|
||||
"type": "path"
|
||||
},
|
||||
@ -127,7 +127,7 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"narHash": "sha256-vBvIKuTZfH6H62RTomwSLCg0HwTsTzGsd0WCfxsuB7U=",
|
||||
"narHash": "sha256-xifLAB3xxYZKkx0I0w7lZKsABhgbqLZQ+ctR6Z3KpI4=",
|
||||
"path": "./nixpkgs",
|
||||
"type": "path"
|
||||
},
|
||||
@ -138,8 +138,8 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"narHash": "sha256-eRDWIO61MIEZs/ftS1dp5fqdJQr3yTcfzBrYcC3k31M=",
|
||||
"path": "/nix/store/cbpvh4ldqsjfvvlmxcq81kn3y2dnvwkw-source",
|
||||
"narHash": "sha256-xifLAB3xxYZKkx0I0w7lZKsABhgbqLZQ+ctR6Z3KpI4=",
|
||||
"path": "./nixpkgs",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
@ -149,8 +149,8 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"narHash": "sha256-eRDWIO61MIEZs/ftS1dp5fqdJQr3yTcfzBrYcC3k31M=",
|
||||
"path": "/nix/store/cbpvh4ldqsjfvvlmxcq81kn3y2dnvwkw-source",
|
||||
"narHash": "sha256-xifLAB3xxYZKkx0I0w7lZKsABhgbqLZQ+ctR6Z3KpI4=",
|
||||
"path": "./nixpkgs",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
@ -160,8 +160,8 @@
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"narHash": "sha256-eRDWIO61MIEZs/ftS1dp5fqdJQr3yTcfzBrYcC3k31M=",
|
||||
"path": "/nix/store/cbpvh4ldqsjfvvlmxcq81kn3y2dnvwkw-source",
|
||||
"narHash": "sha256-xifLAB3xxYZKkx0I0w7lZKsABhgbqLZQ+ctR6Z3KpI4=",
|
||||
"path": "./nixpkgs",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, config, ... }: {
|
||||
xsession = {
|
||||
enable = true;
|
||||
preferStatusNotifierItems = true;
|
||||
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
||||
profileExtra = ''
|
||||
export ROFI_SYSTEMD_TERM="alacritty -e"
|
||||
. "$HOME/.lib/login.sh"
|
||||
@ -27,10 +28,6 @@
|
||||
enableSshSupport = true;
|
||||
};
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.blueman-applet = {
|
||||
enable = false;
|
||||
};
|
||||
@ -91,4 +88,22 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
systemd.user.services.picom = {
|
||||
Unit = {
|
||||
Description = "Picom X11 compositor";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
# Temporarily fixes corrupt colours with Mesa 18.
|
||||
Environment = [ "allow_rgb10_configs=false" ];
|
||||
ExecStart = "${pkgs.picom}/bin/picom";
|
||||
Restart = "always";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user