Commit ea245d13bc93
Changed files (2)
users
vincent
desktop
users/vincent/desktop/default.nix
@@ -10,6 +10,7 @@
./mpv.nix
./spotify.nix
] ++ lib.optionals nixosConfig.profiles.desktop.i3.enable [ ./i3.nix ];
+
home.sessionVariables = { WEBKIT_DISABLE_COMPOSITING_MODE = 1; };
home.packages = with pkgs; [
aspell
@@ -30,7 +31,9 @@
youtube-dl
my.batzconverter
mpw
- ]; # ++ lib.optionals nixosConfig.profiles.desktop.i3.enable [ pkgs.brave ];
+ ];
+
+ programs.autorandr.enable = nixosConfig.profiles.laptop.enable;
home.file.".XCompose".source = ./xorg/XCompose;
# home.file.".Xmodmap".source = ./xorg/Xmodmap;
users/vincent/default.nix
@@ -90,12 +90,6 @@ in
];
}
]
- ++ optionals (config.profiles.laptop.enable && config.profiles.desktop.enable) [
- {
- # FIXME move this in its own file
- programs.autorandr.enable = true;
- }
- ]
++ optionals config.profiles.docker.enable [
{
home.packages = with pkgs; [ docker docker-compose ];