desktop: enable catppuccin module
This commit is contained in:
parent
fd09e597c1
commit
3505e611c1
@ -47,14 +47,18 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
url = "github:catppuccin/nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
|
};
|
||||||
|
|
||||||
|
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, catppuccin, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
|
||||||
rec {
|
rec {
|
||||||
nixosConfigurations = ( # NixOS configurations
|
nixosConfigurations = ( # NixOS configurations
|
||||||
import ./hosts { # Imports ./hosts/default.nix
|
import ./hosts { # Imports ./hosts/default.nix
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager home-manager-unstable agenix jovian-nixos microvm impermanence lanzaboote; # Also inherit home-manager so it does not need to be defined here.
|
inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager home-manager-unstable agenix jovian-nixos microvm impermanence lanzaboote catppuccin; # Also inherit home-manager so it does not need to be defined here.
|
||||||
nix.allowedUsers = [ "@wheel" ];
|
nix.allowedUsers = [ "@wheel" ];
|
||||||
security.sudo.execWheelOnly = true;
|
security.sudo.execWheelOnly = true;
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# └─ ./home.nix
|
# └─ ./home.nix
|
||||||
#
|
#
|
||||||
|
|
||||||
{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, ... }:
|
{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, agenix, jovian-nixos, microvm, impermanence, lanzaboote, catppuccin, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
user = "kabbone";
|
user = "kabbone";
|
||||||
@ -33,7 +33,7 @@ in
|
|||||||
{
|
{
|
||||||
hades = lib.nixosSystem { # Desktop profile
|
hades = lib.nixosSystem { # Desktop profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs user location nixos-hardware agenix microvm nixpkgs lanzaboote; };
|
specialArgs = { inherit inputs user location nixos-hardware agenix microvm nixpkgs lanzaboote catppuccin; };
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
microvm.nixosModules.host
|
microvm.nixosModules.host
|
||||||
@ -45,12 +45,13 @@ in
|
|||||||
nixos-hardware.nixosModules.common-cpu-amd
|
nixos-hardware.nixosModules.common-cpu-amd
|
||||||
nixos-hardware.nixosModules.common-gpu-amd
|
nixos-hardware.nixosModules.common-gpu-amd
|
||||||
nixos-hardware.nixosModules.common-pc-ssd
|
nixos-hardware.nixosModules.common-pc-ssd
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
|
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user catppuccin; };
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [(import ./home.nix)] ++ [(import ./desktop/home.nix)];
|
imports = [(import ./home.nix)] ++ [(import ./desktop/home.nix)];
|
||||||
};
|
};
|
||||||
@ -60,7 +61,7 @@ in
|
|||||||
|
|
||||||
lifebook = lib.nixosSystem { # Laptop profile
|
lifebook = lib.nixosSystem { # Laptop profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs user location nixos-hardware agenix lanzaboote; };
|
specialArgs = { inherit inputs user location nixos-hardware agenix lanzaboote catppuccin; };
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
@ -69,11 +70,12 @@ in
|
|||||||
../modules/hardware/hydraCache.nix
|
../modules/hardware/hydraCache.nix
|
||||||
nixos-hardware.nixosModules.common-cpu-intel
|
nixos-hardware.nixosModules.common-cpu-intel
|
||||||
nixos-hardware.nixosModules.common-pc-ssd
|
nixos-hardware.nixosModules.common-pc-ssd
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user catppuccin; };
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [(import ./home.nix)] ++ [(import ./lifebook/home.nix)];
|
imports = [(import ./home.nix)] ++ [(import ./lifebook/home.nix)];
|
||||||
};
|
};
|
||||||
@ -83,7 +85,7 @@ in
|
|||||||
|
|
||||||
nbf5 = lib.nixosSystem { # Laptop profile
|
nbf5 = lib.nixosSystem { # Laptop profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs user location nixos-hardware agenix; };
|
specialArgs = { inherit inputs user location nixos-hardware agenix catppuccin; };
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
./nbf5
|
./nbf5
|
||||||
@ -91,11 +93,12 @@ in
|
|||||||
../modules/hardware/hydraCache.nix
|
../modules/hardware/hydraCache.nix
|
||||||
nixos-hardware.nixosModules.common-cpu-intel
|
nixos-hardware.nixosModules.common-cpu-intel
|
||||||
nixos-hardware.nixosModules.common-pc-ssd
|
nixos-hardware.nixosModules.common-pc-ssd
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user catppuccin; };
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [(import ./home.nix)] ++ [(import ./nbf5/home.nix)];
|
imports = [(import ./home.nix)] ++ [(import ./nbf5/home.nix)];
|
||||||
};
|
};
|
||||||
@ -105,7 +108,7 @@ in
|
|||||||
|
|
||||||
steamdeck = nixpkgs-unstable.lib.nixosSystem { # steamdeck profile
|
steamdeck = nixpkgs-unstable.lib.nixosSystem { # steamdeck profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs user location nixos-hardware agenix jovian-nixos lanzaboote; };
|
specialArgs = { inherit inputs user location nixos-hardware agenix jovian-nixos lanzaboote catppuccin; };
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
jovian-nixos.nixosModules.default
|
jovian-nixos.nixosModules.default
|
||||||
@ -113,11 +116,12 @@ in
|
|||||||
./steamdeck
|
./steamdeck
|
||||||
./configuration_desktop.nix
|
./configuration_desktop.nix
|
||||||
../modules/hardware/hydraCache.nix
|
../modules/hardware/hydraCache.nix
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
|
|
||||||
home-manager-unstable.nixosModules.home-manager {
|
home-manager-unstable.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user catppuccin; };
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [(import ./home.nix)] ++ [(import ./steamdeck/home.nix)];
|
imports = [(import ./home.nix)] ++ [(import ./steamdeck/home.nix)];
|
||||||
};
|
};
|
||||||
|
@ -46,10 +46,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
|
||||||
alacritty.settings.font.size = 11;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = { # Applets
|
services = { # Applets
|
||||||
blueman-applet.enable = true; # Bluetooth
|
blueman-applet.enable = true; # Bluetooth
|
||||||
network-manager-applet.enable = true; # Network
|
network-manager-applet.enable = true; # Network
|
||||||
|
@ -15,10 +15,12 @@
|
|||||||
# └─ default.nix
|
# └─ default.nix
|
||||||
#
|
#
|
||||||
|
|
||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, catppuccin, ... }:
|
||||||
|
#{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = # Home Manager Modules
|
imports =
|
||||||
|
[ catppuccin.homeManagerModules.catppuccin ] ++
|
||||||
(import ../modules/editors) ++
|
(import ../modules/editors) ++
|
||||||
(import ../modules/programs) ++
|
(import ../modules/programs) ++
|
||||||
(import ../modules/programs/configs) ++
|
(import ../modules/programs/configs) ++
|
||||||
@ -92,8 +94,8 @@
|
|||||||
#ms-python.python
|
#ms-python.python
|
||||||
ms-vscode.cpptools
|
ms-vscode.cpptools
|
||||||
dracula-theme.theme-dracula
|
dracula-theme.theme-dracula
|
||||||
catppuccin.catppuccin-vsc
|
#catppuccin.catppuccin-vsc
|
||||||
catppuccin.catppuccin-vsc-icons
|
#catppuccin.catppuccin-vsc-icons
|
||||||
|
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
@ -103,17 +105,56 @@
|
|||||||
];
|
];
|
||||||
file.".config/wall".source = ../modules/themes/wall.jpg;
|
file.".config/wall".source = ../modules/themes/wall.jpg;
|
||||||
file.".config/lockwall".source = ../modules/themes/lockwall.jpg;
|
file.".config/lockwall".source = ../modules/themes/lockwall.jpg;
|
||||||
pointerCursor = { # This will set cursor systemwide so applications can not choose their own
|
# pointerCursor = { # This will set cursor systemwide so applications can not choose their own
|
||||||
name = "Dracula-cursors";
|
# name = "Dracula-cursors";
|
||||||
package = pkgs.dracula-theme;
|
# package = pkgs.dracula-theme;
|
||||||
size = 16;
|
# size = 16;
|
||||||
gtk.enable = true;
|
# gtk.enable = true;
|
||||||
};
|
# };
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
accent = "lavender";
|
||||||
|
flavor = "mocha";
|
||||||
|
pointerCursor.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk.catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
accent = "lavender";
|
||||||
|
flavor = "mocha";
|
||||||
|
icon = {
|
||||||
|
enable = true;
|
||||||
|
accent = "lavender";
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qt.style.catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
accent = "lavender";
|
||||||
|
flavor = "mocha";
|
||||||
|
apply = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
alacritty = {
|
||||||
|
settings.font.size = 11;
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
btop = {
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
swaylock.catppuccin.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,10 +43,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
|
||||||
alacritty.settings.font.size = 11;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = { # Applets
|
services = { # Applets
|
||||||
blueman-applet.enable = true; # Bluetooth
|
blueman-applet.enable = true; # Bluetooth
|
||||||
network-manager-applet.enable = true; # Network
|
network-manager-applet.enable = true; # Network
|
||||||
|
@ -43,10 +43,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
|
||||||
alacritty.settings.font.size = 11;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = { # Applets
|
services = { # Applets
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.alacritty;
|
package = pkgs.alacritty;
|
||||||
settings = {
|
settings = {
|
||||||
|
env.term = "screen-256color";
|
||||||
font = rec { # Font - Laptop has size manually changed at home.nix
|
font = rec { # Font - Laptop has size manually changed at home.nix
|
||||||
#normal.family = "FiraCode Nerd Font";
|
#normal.family = "FiraCode Nerd Font";
|
||||||
normal.family = "Cascadia Code";
|
normal.family = "Cascadia Code";
|
||||||
|
@ -27,6 +27,7 @@ in
|
|||||||
|
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
monitor = 0;
|
monitor = 0;
|
||||||
|
@ -19,22 +19,22 @@
|
|||||||
plugins = with pkgs.tmuxPlugins; [
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
yank
|
yank
|
||||||
sidebar
|
sidebar
|
||||||
{
|
# {
|
||||||
# plugin = dracula;
|
# plugin = dracula;
|
||||||
# extraConfig = "
|
# extraConfig = "
|
||||||
# set -g @dracula-show-powerline true
|
# set -g @dracula-show-powerline true
|
||||||
# set -g @dracula-plugins 'git cpu-usage ram-usage battery time'
|
# set -g @dracula-plugins 'git cpu-usage ram-usage battery time'
|
||||||
# set -g @dracula-border-contrast true
|
# set -g @dracula-border-contrast true
|
||||||
# ";
|
# ";
|
||||||
plugin = catppuccin;
|
# plugin = catppuccin;
|
||||||
extraConfig = "
|
# extraConfig = "
|
||||||
set -g @catppuccin_flavour 'macchiato'
|
# set -g @catppuccin_flavour 'macchiato'
|
||||||
set -g @catppuccin_window_tabs_enabled 'on'
|
# set -g @catppuccin_window_tabs_enabled 'on'
|
||||||
set -g @catppuccin_host 'on'
|
# set -g @catppuccin_host 'on'
|
||||||
set -g @catppuccin_user 'on'
|
# set -g @catppuccin_user 'on'
|
||||||
set -g @catppuccin_date_time '%Y-%m-%d %H:%M'
|
# set -g @catppuccin_date_time '%Y-%m-%d %H:%M'
|
||||||
";
|
# ";
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
checkConfig = false;
|
checkConfig = false;
|
||||||
config = rec {
|
config = rec {
|
||||||
menu = "${pkgs.rofi}/bin/rofi -show combi -show-icons";
|
menu = "${pkgs.rofi}/bin/rofi -show combi -show-icons";
|
||||||
@ -90,9 +91,9 @@
|
|||||||
startup = [
|
startup = [
|
||||||
{ command = "exec ${pkgs.rot8}/bin/rot8 -Y -k"; }
|
{ command = "exec ${pkgs.rot8}/bin/rot8 -Y -k"; }
|
||||||
{ command = "xrdb -load ~/.Xresources"; }
|
{ command = "xrdb -load ~/.Xresources"; }
|
||||||
{ command = "gsettings set org.gnome.desktop.interface gtk-theme Arc"; }
|
# { command = "gsettings set org.gnome.desktop.interface gtk-theme Dracula"; }
|
||||||
{ command = "gsettings set org.gnome.desktop.interface icon-theme ePapirus"; }
|
# { command = "gsettings set org.gnome.desktop.interface icon-theme Dracula"; }
|
||||||
{ command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; }
|
# { command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; }
|
||||||
#{ command = "exec ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; }
|
#{ command = "exec ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; }
|
||||||
{ command = "${pkgs.thunderbird}/bin/thunderbird"; }
|
{ command = "${pkgs.thunderbird}/bin/thunderbird"; }
|
||||||
{ command = "${pkgs.firefox}/bin/firefox"; }
|
{ command = "${pkgs.firefox}/bin/firefox"; }
|
||||||
@ -246,7 +247,8 @@
|
|||||||
export VDPAU_DRIVER="iHD";
|
export VDPAU_DRIVER="iHD";
|
||||||
export XDG_SESSION_TYPE="wayland";
|
export XDG_SESSION_TYPE="wayland";
|
||||||
export XDG_CURRENT_DESKTOP="sway";
|
export XDG_CURRENT_DESKTOP="sway";
|
||||||
export QT_QPA_PLATFORMTHEME="wayland-egl";
|
#export QT_QPA_PLATFORMTHEME="wayland-egl";
|
||||||
|
export QT_QPA_PLATFORMTHEME="qt6ct";
|
||||||
export GST_VAAPI_ALL_DRIVERS="1";
|
export GST_VAAPI_ALL_DRIVERS="1";
|
||||||
export GTK_THEME="Arc";
|
export GTK_THEME="Arc";
|
||||||
export _JAVA_AWT_WM_NONREPARENTING="1";
|
export _JAVA_AWT_WM_NONREPARENTING="1";
|
||||||
@ -290,7 +292,7 @@
|
|||||||
pkgs.pinentry-rofi
|
pkgs.pinentry-rofi
|
||||||
];
|
];
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
theme = "arthur";
|
# theme = "arthur";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -310,4 +312,22 @@
|
|||||||
};
|
};
|
||||||
swayosd.enable = true;
|
swayosd.enable = true;
|
||||||
};
|
};
|
||||||
|
# qt = {
|
||||||
|
# enable = true;
|
||||||
|
# style.package = [
|
||||||
|
# pkgs.dracula-theme
|
||||||
|
# pkgs.dracula-icon-theme
|
||||||
|
# pkgs.catppuccin-kvantum
|
||||||
|
# pkgs.catppuccin-kde
|
||||||
|
# pkgs.catppuccin-gtk
|
||||||
|
# pkgs.qt6Packages.qtstyleplugin-kvantum
|
||||||
|
# ];
|
||||||
|
# style.name = "kvantum";
|
||||||
|
# platformTheme.name = "qtct";
|
||||||
|
# };
|
||||||
|
# xdg.configFile = {
|
||||||
|
# "Kvantum/Catppuccin".source = "${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Frappe-Blue";
|
||||||
|
# "Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Catppuccin-Frappe-Blue";
|
||||||
|
# };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user