From c4c4b83b480d6e17fb8a5ad8dfe17dbb761d429f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 24 Dec 2022 16:58:49 +0100 Subject: [PATCH] feat: basic webcord (?) --- flake.nix | 5 ++++- hosts/neodymium/configuration.nix | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4832c21..eab8a29 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ webcord.url = "github:fufexan/webcord-flake"; }; - outputs = { nixpkgs, home-manager, ... }@inputs: { + outputs = { nixpkgs, home-manager, webcord, ... }@inputs: { # colmena colmena = { meta = { @@ -36,6 +36,9 @@ # personnal laptop neodymium = { ... }: { + home-manager.users.laurent = { + imports = [ webcord.homeManagerModules.default ]; + }; deployment = { allowLocalDeployment = true; targetHost = null; diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 697f386..d24de5b 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -9,6 +9,13 @@ let sha256 = "w9XVtEe7TqzxxGUCDUR9BFkzLZjG8XrplXJ3lX6f+x0="; }; + catppuccin-discord = pkgs.fetchFromGitHub { + owner = "catppuccin"; + repo = "discord"; + rev = "159aac939d8c18da2e184c6581f5e13896e11697"; + sha256 = "sha256-cWpog52Ft4hqGh8sMWhiLUQp/XXipOPnSTG6LwUAGGA="; + }; + in { imports = [ ./hardware-configuration.nix ]; @@ -207,6 +214,13 @@ in { nix-direnv.enable = true; }; + programs.webcord = { + enable = true; + themes = { + CatpuccinMocha = "${catppuccin-discord}/themes/mocha.theme.css"; + }; + }; + programs.git = { enable = true; userName = "Laureηt";