From f7e4fc7638ae76cda8c860632d67f22d64ca7a98 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad <git@martials.no> Date: Sun, 12 Jan 2025 16:17:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8C=EF=B8=8F=20Styling,=20flatpak=20?= =?UTF-8?q?=3D=3D=20false,=20clock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Disabled flatpak - Added kitty config and disabled stylix - Styled Mpv - Added gnome-clocks --- configuration.nix | 3 ++- home-manager/default.nix | 6 +----- home-manager/kitty.nix | 23 +++++++++++++++++++++++ home-manager/mpv.nix | 9 +++++++++ modules/gnome/default.nix | 1 + 5 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 home-manager/kitty.nix diff --git a/configuration.nix b/configuration.nix index 2c090b3..4bda202 100644 --- a/configuration.nix +++ b/configuration.nix @@ -50,6 +50,7 @@ in nix-prefetch-github # Cmd to get rev and hash from GitHub gimp vlc + vdhcoapp fortune cowsay inputs.zen-browser.packages."${system}".default # beta @@ -63,7 +64,7 @@ in programs.kdeconnect.enable = true; services = { - flatpak.enable = true; + flatpak.enable = false; xserver.enable = true; }; diff --git a/home-manager/default.nix b/home-manager/default.nix index d81c245..0078912 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -18,6 +18,7 @@ in ./fish.nix ./freetube.nix ./gtk.nix + ./kitty.nix ./mpv.nix ./nextcloud.nix ./rofi @@ -46,11 +47,6 @@ in # Let Home Manager install and manage itself. home-manager.enable = true; - - kitty = { - enable = common.terminal == "kitty"; - settings.window_padding_width = 10; - }; }; services = { diff --git a/home-manager/kitty.nix b/home-manager/kitty.nix new file mode 100644 index 0000000..686ccb6 --- /dev/null +++ b/home-manager/kitty.nix @@ -0,0 +1,23 @@ +let + common = import ../common.nix; + theme = import ../theme.nix; +in +{ + catppuccin.kitty = { + enable = true; + flavor = theme.flavor; + }; + + programs.kitty = { + enable = common.default.terminal == "kitty"; + font.name = theme.nerdFont; + settings = { + background_blur = 5; + background_opacity = 0.8; + confirm_os_window_close = 0; + window_padding_width = 10; + }; + }; + + stylix.targets.kitty.enable = false; +} diff --git a/home-manager/mpv.nix b/home-manager/mpv.nix index a807538..081d89d 100644 --- a/home-manager/mpv.nix +++ b/home-manager/mpv.nix @@ -1,4 +1,13 @@ { + catppuccin.mpv = + let + theme = import ../theme.nix; + in + { + enable = true; + flavor = theme.flavor; + }; + programs.mpv = { enable = true; config = { diff --git a/modules/gnome/default.nix b/modules/gnome/default.nix index 618a8fc..57c5be3 100644 --- a/modules/gnome/default.nix +++ b/modules/gnome/default.nix @@ -14,6 +14,7 @@ loupe gnome-calculator gnome-disk-utility + gnome-clocks ]; programs.dconf.enable = true; # Required for some gnome applications