diff --git a/flake.lock b/flake.lock index 10e4db4..ee645b0 100644 --- a/flake.lock +++ b/flake.lock @@ -151,6 +151,20 @@ "type": "github" } }, + "flake-compat": { + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "revCount": 69, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, "flake-file": { "locked": { "lastModified": 1771017549, @@ -187,6 +201,24 @@ } }, "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1769996383, + "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -308,6 +340,26 @@ "type": "github" } }, + "nixcord": { + "inputs": { + "flake-compat": "flake-compat", + "flake-parts": "flake-parts_2", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1772266502, + "narHash": "sha256-HBO3W1ooO9UwmxwwwFflnbCrAVHhaxpB8YnxFGPvOsY=", + "owner": "FlameFlag", + "repo": "nixcord", + "rev": "e805e50f0cc8b9f2d950dc81cd9ee1c986899eaf", + "type": "github" + }, + "original": { + "owner": "FlameFlag", + "repo": "nixcord", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1771848320, @@ -324,6 +376,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1769909678, + "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "72716169fe93074c333e8d0173151350670b824c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1748162331, @@ -340,6 +407,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1770617025, + "narHash": "sha256-1jZvgZoAagZZB6NwGRv2T2ezPy+X6EFDsJm+YSlsvEs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2db38e08fdadcc0ce3232f7279bab59a15b94482", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1771207753, "narHash": "sha256-b9uG8yN50DRQ6A7JdZBfzq718ryYrlmGgqkRm9OOwCE=", @@ -391,7 +474,8 @@ "home-manager": "home-manager", "import-tree": "import-tree", "nix-flatpak": "nix-flatpak", - "nixpkgs": "nixpkgs_3", + "nixcord": "nixcord", + "nixpkgs": "nixpkgs_4", "nixpkgs-lib": [ "nixpkgs" ], @@ -406,7 +490,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_3", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs" diff --git a/modules/hosts/defaults.nix b/modules/hosts/defaults.nix index cb9d866..1a12420 100644 --- a/modules/hosts/defaults.nix +++ b/modules/hosts/defaults.nix @@ -5,6 +5,9 @@ /etc/nixos/hardware-configuration.nix ]; + home-manager.useGlobalPkgs = true; + home-manager.backupFileExtension = "hm-backup"; + system = { stateVersion = "26.05"; diff --git a/modules/software/nixcord.nix b/modules/software/nixcord.nix index 0ca15ff..ff22b15 100644 --- a/modules/software/nixcord.nix +++ b/modules/software/nixcord.nix @@ -1,12 +1,47 @@ { inputs, ... }: { - den.aspects.librewolf = { + den.aspects.nixcord = { homeManager = { imports = [ inputs.nixcord.homeModules.nixcord ]; programs.nixcord = { enable = true; - dorion.enable = true; + discord.enable = false; + vesktop.enable = true; + + config = { + themeLinks = [ "https://catppuccin.github.io/discord/dist/catppuccin-mocha-mauve.theme.css" ]; + + frameless = true; + + plugins = { + alwaysTrust.enable = true; + betterGifPicker.enable = true; + betterUploadButton.enable = true; + biggerStreamPreview.enable = true; + callTimer.enable = true; + fullSearchContext.enable = true; + fullUserInChatbox.enable = true; + implicitRelationships.enable = true; + dearrow.enable = true; + youtubeAdblock.enable = true; + fixYoutubeEmbeds.enable = true; + + # lastFMRichPresence = { + # enable = true; + # username = "USER_NAME"; + # apiKey = "YOUR_LASTFM_API_KEY"; + # hideWithSpotify = false; + # nameFormat = "artist-first"; + # useListeningStatus = true; + # showLastFmLogo = false; + # }; + + viewIcons.enable = true; + volumeBooster.enable = true; + webScreenShareFixes.enable = true; + }; + }; }; }; };