diff --git a/flake.nix b/flake.nix index df8a921..3ad8138 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,13 @@ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; }; } ) diff --git a/home/programs/social/nixcord.nix b/home/programs/social/nixcord.nix deleted file mode 100644 index 678d32e..0000000 --- a/home/programs/social/nixcord.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ pkgs, ... }: - -# home.nix -{ - # ... - programs.nixcord = { - enable = true; # Enable Nixcord (It also installs Discord) - vesktop.enable = true; # Vesktop - dorion.enable = true; # Dorion - quickCss = "some CSS"; # quickCSS file - config = { - useQuickCss = true; # use out quickCSS - themeLinks = [ - # or use an online theme - "https://raw.githubusercontent.com/link/to/some/theme.css" - ]; - frameless = true; # Set some Vencord options - plugins = { - hideAttachments.enable = true; # Enable a Vencord plugin - ignoreActivities = { - # Enable a plugin and set some options - enable = true; - ignorePlaying = true; - ignoreWatching = true; - ignoredActivities = [ "someActivity" ]; - }; - }; - }; - dorion = { - theme = "dark"; - zoom = "1.1"; - blur = "acrylic"; # "none", "blur", or "acrylic" - sysTray = true; - openOnStartup = true; - autoClearCache = true; - disableHardwareAccel = false; - rpcServer = true; - rpcProcessScanner = true; - pushToTalk = true; - pushToTalkKeys = [ "RControl" ]; - desktopNotifications = true; - unreadBadge = true; - }; - extraConfig = { - # Some extra JSON config here - # ... - }; - }; - # ... -} diff --git a/home/programs/social/vesktop.nix b/home/programs/social/vesktop.nix new file mode 100644 index 0000000..88e9de4 --- /dev/null +++ b/home/programs/social/vesktop.nix @@ -0,0 +1,18 @@ +{ lib, ... }: +{ + programs.nixcord = { + enable = true; + discord = lib.mkForce { enable = false; }; + vesktop.enable = true; + + config = { + useQuickCss = true; + plugins = { + betterFolders.enable = true; + betterRoleContext.enable = true; + mentionAvatars.enable = true; + # Add other plugins as needed + }; + }; + }; +} diff --git a/home/programs/social/webcord.nix b/home/programs/social/webcord.nix deleted file mode 100644 index fcbf986..0000000 --- a/home/programs/social/webcord.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ pkgs, ... }: - -{ - # Install WebCord - home.packages = with pkgs; [ - webcord - ]; -} diff --git a/hosts/m920q/configuration.nix b/hosts/m920q/configuration.nix index 32d2798..fb80303 100644 --- a/hosts/m920q/configuration.nix +++ b/hosts/m920q/configuration.nix @@ -3,8 +3,6 @@ # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). { - config, - lib, pkgs, ... }: diff --git a/hosts/m920q/default.nix b/hosts/m920q/default.nix index cf66dba..a3458e0 100644 --- a/hosts/m920q/default.nix +++ b/hosts/m920q/default.nix @@ -67,6 +67,8 @@ system.stateVersion = "25.11"; # Did you read the comment? - environment.systemPackages = [ pkgs.onlyoffice-bin ]; + environment.systemPackages = [ + pkgs.onlyoffice-bin + ]; } diff --git a/users/phil/home.nix b/users/phil/home.nix index 57563e6..b4d2d5d 100644 --- a/users/phil/home.nix +++ b/users/phil/home.nix @@ -1,5 +1,4 @@ { - catppuccin, ... }: { @@ -30,9 +29,8 @@ ../../home/programs/social/element.nix ../../home/programs/social/zapzap.nix ../../home/programs/social/teamspeak.nix + ../../home/programs/social/vesktop.nix - ../../home/programs/web/firefox.nix - ../../home/programs/web/chromium.nix ../../home/programs/web/floorp.nix # Games