packages/nixpak: move chromium directory around
This commit is contained in:
parent
3c6eb2ec25
commit
6f41fee335
3 changed files with 13 additions and 6 deletions
|
@ -25,7 +25,7 @@
|
||||||
xh
|
xh
|
||||||
];
|
];
|
||||||
www = [
|
www = [
|
||||||
ungoogled-chromium
|
inputs.self.packages.x86_64-linux.ungoogled-chromium
|
||||||
];
|
];
|
||||||
gui-apps = with inputs.self.packages.x86_64-linux; [
|
gui-apps = with inputs.self.packages.x86_64-linux; [
|
||||||
amberol
|
amberol
|
||||||
|
|
|
@ -21,10 +21,17 @@ mkNixPak {
|
||||||
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/chromium"))
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/chromium"))
|
||||||
(sloth.concat' sloth.xdgCacheHome "/chromium")
|
(sloth.concat' sloth.xdgCacheHome "/chromium")
|
||||||
]
|
]
|
||||||
(sloth.concat [
|
[
|
||||||
sloth.xdgConfigHome
|
# home-manager does some funny things
|
||||||
"/chromium"
|
(sloth.concat [
|
||||||
])
|
sloth.xdgConfigHome
|
||||||
|
"/nixpak-ungoogled-chromium"
|
||||||
|
])
|
||||||
|
(sloth.concat [
|
||||||
|
sloth.xdgConfigHome
|
||||||
|
"/chromium"
|
||||||
|
])
|
||||||
|
]
|
||||||
(sloth.concat' sloth.homeDir "/Downloads")
|
(sloth.concat' sloth.homeDir "/Downloads")
|
||||||
"/tmp/.X11-unix"
|
"/tmp/.X11-unix"
|
||||||
(sloth.envOr "XAUTHORITY" "/no-xauth")
|
(sloth.envOr "XAUTHORITY" "/no-xauth")
|
||||||
|
|
|
@ -42,7 +42,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
# chromium extensions
|
# chromium extensions
|
||||||
programs.chromium = import ./home/chromium.nix pkgs.ungoogled-chromium inputs.nix-crx.packages.x86_64-linux;
|
programs.chromium = import ./home/chromium.nix inputs.self.packages.x86_64-linux.ungoogled-chromium inputs.nix-crx.packages.x86_64-linux;
|
||||||
|
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
gtk.theme.name = "Adwaita-dark";
|
gtk.theme.name = "Adwaita-dark";
|
||||||
|
|
Loading…
Reference in a new issue