Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update slack, and add chromium

+32 -1
+26
home/apps/chromium.nix
··· 1 + { lib, config, pkgs, helpers, ... }: 2 + 3 + with lib; 4 + let 5 + cfg = config.modules.apps; 6 + in { 7 + options.modules.apps.chromium = { 8 + enable = mkOption { 9 + default = false; 10 + description = "Whether to enable (Ungoogled) Chromium."; 11 + type = types.bool; 12 + }; 13 + }; 14 + 15 + config.modules.apps.chromium = { 16 + enable = if helpers.isLinux then (mkDefault false) else (mkForce false); 17 + }; 18 + } // helpers.linuxAttrs { 19 + config = mkIf (cfg.enable && cfg.chromium.enable) { 20 + home.packages = with pkgs; [ 21 + ungoogled-chromium 22 + ]; 23 + 24 + systemd.user.sessionVariables.NIXOS_OZONE_WL = mkDefault 1; 25 + }; 26 + }
+1
home/apps/default.nix
··· 13 13 ./slack.nix 14 14 ./discord.nix 15 15 ./firefox.nix 16 + ./chromium.nix 16 17 ./zen-browser.nix 17 18 ./obsidian.nix 18 19 ./ollama.nix
+3 -1
home/apps/slack.nix
··· 14 14 15 15 config = mkIf (cfg.enable && cfg.slack.enable) (mkMerge [ 16 16 { 17 - home.packages = with pkgs; [ slack ]; 17 + home.packages = with pkgs; let 18 + pkg = if helpers.system == "aarch64-linux" then slacky else slack; 19 + in [ pkg ]; 18 20 } 19 21 20 22 (helpers.mkIfLinux {
+2
machines/sodacream/home.nix
··· 11 11 enable = true; 12 12 ghostty.enable = true; 13 13 zen-browser.enable = true; 14 + discord.enable = true; 15 + chromium.enable = true; 14 16 }; 15 17 }; 16 18 }