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
|
||||
];
|
||||
www = [
|
||||
ungoogled-chromium
|
||||
inputs.self.packages.x86_64-linux.ungoogled-chromium
|
||||
];
|
||||
gui-apps = with inputs.self.packages.x86_64-linux; [
|
||||
amberol
|
||||
|
|
|
@ -21,10 +21,17 @@ mkNixPak {
|
|||
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/chromium"))
|
||||
(sloth.concat' sloth.xdgCacheHome "/chromium")
|
||||
]
|
||||
[
|
||||
# home-manager does some funny things
|
||||
(sloth.concat [
|
||||
sloth.xdgConfigHome
|
||||
"/nixpak-ungoogled-chromium"
|
||||
])
|
||||
(sloth.concat [
|
||||
sloth.xdgConfigHome
|
||||
"/chromium"
|
||||
])
|
||||
]
|
||||
(sloth.concat' sloth.homeDir "/Downloads")
|
||||
"/tmp/.X11-unix"
|
||||
(sloth.envOr "XAUTHORITY" "/no-xauth")
|
||||
|
|
|
@ -42,7 +42,7 @@ let
|
|||
};
|
||||
|
||||
# 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.theme.name = "Adwaita-dark";
|
||||
|
|
Loading…
Reference in a new issue