Added catppuccin flake for system theming, swapped vis for cava, fixed wofi screenshot util
This commit is contained in:
parent
0d6995657a
commit
052405ba92
16
flake.lock
generated
16
flake.lock
generated
@ -1,5 +1,20 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"catppuccin": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1734397929,
|
||||||
|
"narHash": "sha256-VCTVpU/RlrI9StxzDnqc1R3ZTQloLVALSkiN/Fgiad4=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"rev": "21310cde33d3ee8023679dec01a9724a346c63ff",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@ -112,6 +127,7 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"catppuccin": "catppuccin",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
15
flake.nix
15
flake.nix
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
# nixpkgs-23.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nur.url = "github:nix-community/NUR";
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-24.11";
|
url = "github:nix-community/home-manager/release-24.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
|
nur.url = "github:nix-community/NUR";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, nur, home-manager, ... } @ inputs:
|
outputs = { self, nixpkgs, nixpkgs-unstable, catppuccin, nur, home-manager, ... } @ inputs:
|
||||||
let
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@ -45,6 +45,7 @@
|
|||||||
inherit inputs outputs timeZone system;
|
inherit inputs outputs timeZone system;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
# Setup home manager
|
# Setup home manager
|
||||||
inputs.home-manager.nixosModules.home-manager {
|
inputs.home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@ -63,11 +64,17 @@
|
|||||||
inherit inputs outputs timeZone system;
|
inherit inputs outputs timeZone system;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
# Setup home manager
|
# Setup home manager
|
||||||
inputs.home-manager.nixosModules.home-manager {
|
inputs.home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.nate = import ./nate-work/modules/home-manager/home.nix;
|
home-manager.users.nate = {
|
||||||
|
imports = [
|
||||||
|
./nate-work/modules/home-manager/home.nix
|
||||||
|
catppuccin.homeManagerModules.catppuccin
|
||||||
|
];
|
||||||
|
};
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit inputs outputs unstablePkgs;
|
inherit inputs outputs unstablePkgs;
|
||||||
};
|
};
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
prompt="What to capture?"
|
|
||||||
hide_search=true
|
|
||||||
hide_scroll=true
|
hide_scroll=true
|
||||||
insensitive=true
|
insensitive=true
|
||||||
width=1
|
width=140
|
||||||
|
height=200
|
||||||
show=dmenu
|
show=dmenu
|
||||||
lines=3
|
location=top_right
|
||||||
location=centre
|
x=-200
|
||||||
x=870
|
y=60
|
||||||
y=455
|
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Overpass Nerd Font', monospace;
|
font-family: 'Overpass Nerd Font', monospace;
|
||||||
font-size: 14px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Window */
|
/* Window */
|
||||||
@ -61,7 +61,7 @@ window {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 0.16em solid @lavender;
|
border: 0.16em solid @lavender;
|
||||||
border-radius: 0.1em;
|
border-radius: 0.7em;
|
||||||
background-color: @base;
|
background-color: @base;
|
||||||
animation: slideIn 0.5s ease-in-out both;
|
animation: slideIn 0.5s ease-in-out both;
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ window {
|
|||||||
/* Inner Box */
|
/* Inner Box */
|
||||||
#inner-box {
|
#inner-box {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
padding: 10px;
|
padding: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: @base;
|
background-color: @base;
|
||||||
animation: fadeIn 0.5s ease-in-out both;
|
animation: fadeIn 0.5s ease-in-out both;
|
||||||
@ -115,7 +115,7 @@ window {
|
|||||||
|
|
||||||
/* Input */
|
/* Input */
|
||||||
#input {
|
#input {
|
||||||
margin: 5px 20px;
|
margin: 0px 20px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0.1em;
|
border-radius: 0.1em;
|
||||||
@ -130,7 +130,7 @@ window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#input * {
|
#input * {
|
||||||
outline: 4px solid @red !important;
|
outline: 4px solid @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Text */
|
/* Text */
|
||||||
@ -160,5 +160,5 @@ window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#entry:drop(active) {
|
#entry:drop(active) {
|
||||||
background-color: @lavender !important;
|
background-color: @lavender;
|
||||||
}
|
}
|
@ -36,6 +36,14 @@
|
|||||||
../apps/firefox/firefox.nix
|
../apps/firefox/firefox.nix
|
||||||
../hypr/hypr_home.nix
|
../hypr/hypr_home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "macchiato";
|
||||||
|
accent = "lavender";
|
||||||
|
pointerCursor.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
home.username = userName;
|
home.username = userName;
|
||||||
home.homeDirectory = "/home/${userName}";
|
home.homeDirectory = "/home/${userName}";
|
||||||
@ -81,11 +89,11 @@
|
|||||||
delve
|
delve
|
||||||
|
|
||||||
### Misc
|
### Misc
|
||||||
dbeaver-bin
|
# dbeaver-bin
|
||||||
usbutils
|
usbutils
|
||||||
cli-visualizer
|
cli-visualizer
|
||||||
openscad
|
openscad
|
||||||
powertop
|
libxml2
|
||||||
|
|
||||||
#
|
#
|
||||||
# Better Unix
|
# Better Unix
|
||||||
@ -124,10 +132,10 @@
|
|||||||
#
|
#
|
||||||
# Communication
|
# Communication
|
||||||
#
|
#
|
||||||
unstable.slack
|
# unstable.slack
|
||||||
mumble
|
mumble
|
||||||
unstable.signal-desktop
|
# unstable.signal-desktop
|
||||||
zoom-us
|
# zoom-us
|
||||||
|
|
||||||
#
|
#
|
||||||
# Other
|
# Other
|
||||||
@ -173,9 +181,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
BAT_THEME="Catppuccin Macchiato";
|
# BAT_THEME="Catppuccin Macchiato";
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
XCURSOR_THEME = "catppuccin-macchiato-lavender-cursors";
|
||||||
|
XCURSOR_SIZE = "24";
|
||||||
|
HYPRCURSOR_THEME = "catppuccin-macchiato-lavender-cursors";
|
||||||
|
# HYPRCURSOR_SIZE = "24";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Git setup
|
# Git setup
|
||||||
@ -189,7 +201,6 @@
|
|||||||
pull = { ff = "only"; };
|
pull = { ff = "only"; };
|
||||||
merge = { conflictStyle="zdiff3"; };
|
merge = { conflictStyle="zdiff3"; };
|
||||||
push = { autoSetupRemote="true"; };
|
push = { autoSetupRemote="true"; };
|
||||||
delta = { features = "Catppuccin Macchiato"; };
|
|
||||||
"url \"git@github.com:\"" = {
|
"url \"git@github.com:\"" = {
|
||||||
insteadOf = "https://github.com/";
|
insteadOf = "https://github.com/";
|
||||||
};
|
};
|
||||||
@ -241,50 +252,63 @@
|
|||||||
cat="bat --paging=never";
|
cat="bat --paging=never";
|
||||||
rm="rm -i";
|
rm="rm -i";
|
||||||
};
|
};
|
||||||
|
syntaxHighlighting = {
|
||||||
|
enable = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "qtct";
|
platformTheme.name = "kvantum";
|
||||||
style.name = "kvantum";
|
style.name = "kvantum";
|
||||||
|
style.catppuccin.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cursorTheme = {
|
catppuccin = {
|
||||||
package = pkgs.catppuccin-cursors.macchiatoLavender;
|
enable = true;
|
||||||
name = "Catppuccin-Macchiato-Lavender-Cursors";
|
size = "compact";
|
||||||
};
|
tweaks = [ "rimless" ];
|
||||||
iconTheme = {
|
icon = {
|
||||||
package = pkgs.catppuccin-papirus-folders;
|
enable = true;
|
||||||
name = "Papirus-Dark";
|
|
||||||
};
|
|
||||||
theme = {
|
|
||||||
name = "catppuccin-macchiato-lavender-compact+rimless";
|
|
||||||
package = pkgs.catppuccin-gtk.override {
|
|
||||||
accents = [ "lavender" ];
|
|
||||||
size = "compact";
|
|
||||||
tweaks = [ "rimless" ];
|
|
||||||
variant = "macchiato";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# cursorTheme = {
|
||||||
|
# package = pkgs.catppuccin-cursors.macchiatoLavender;
|
||||||
|
# name = "Catppuccin-Macchiato-Lavender-Cursors";
|
||||||
|
# };
|
||||||
|
# iconTheme = {
|
||||||
|
# package = pkgs.catppuccin-papirus-folders;
|
||||||
|
# name = "Papirus-Dark";
|
||||||
|
# };
|
||||||
|
# theme = {
|
||||||
|
# name = "catppuccin-macchiato-lavender-compact+rimless";
|
||||||
|
# package = pkgs.catppuccin-gtk.override {
|
||||||
|
# accents = [ "lavender" ];
|
||||||
|
# size = "compact";
|
||||||
|
# tweaks = [ "rimless" ];
|
||||||
|
# variant = "macchiato";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
# Symlink in gtk and kvantum theme to ~/.config
|
# Symlink in gtk and kvantum theme to ~/.config
|
||||||
xdg.configFile = {
|
# xdg.configFile = {
|
||||||
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
|
# "gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
|
||||||
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
# "gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||||
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
# "gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||||
"Kvantum/kvantum.kvconfig".text = ''
|
# "Kvantum/kvantum.kvconfig".text = ''
|
||||||
[General]
|
# [General]
|
||||||
theme=Catppuccin-Frappe-Blue
|
# theme=Catppuccin-Frappe-Blue
|
||||||
'';
|
# '';
|
||||||
"Kvantum/Catppuccin-Frappe-Blue".source = "${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Frappe-Blue";
|
# "Kvantum/Catppuccin-Frappe-Blue".source = "${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Frappe-Blue";
|
||||||
};
|
# };
|
||||||
|
|
||||||
home.file.".icons/default/index.theme".text = ''
|
# home.file.".icons/default/index.theme".text = ''
|
||||||
[icon theme]
|
# [icon theme]
|
||||||
Inherits=Catppuccin-Macchiato-Lavender-Cursors
|
# Inherits=Catppuccin-Macchiato-Lavender-Cursors
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
home.stateVersion = "23.11"; # Please read the comment before changing.
|
home.stateVersion = "23.11"; # Please read the comment before changing.
|
||||||
}
|
}
|
||||||
|
@ -159,12 +159,12 @@
|
|||||||
", switch:off:Lid Switch, exec, hyprctl keyword monitor 'eDP-1, 2560x1600@165, 0x0, 1.00' && nwg-panel"
|
", switch:off:Lid Switch, exec, hyprctl keyword monitor 'eDP-1, 2560x1600@165, 0x0, 1.00' && nwg-panel"
|
||||||
# ", switch:off:[switch name], exec, hyprctl dispatch dpms on eDP-1"
|
# ", switch:off:[switch name], exec, hyprctl dispatch dpms on eDP-1"
|
||||||
];
|
];
|
||||||
env = [
|
# env = [
|
||||||
"XCURSOR_THEME,catppuccin-macchiato-lavender-cursors"
|
# "XCURSOR_THEME,catppuccin-macchiato-lavender-cursors"
|
||||||
"XCURSOR_SIZE,24"
|
# "XCURSOR_SIZE,24"
|
||||||
"HYPRCURSOR_THEME,catppuccin-macchiato-lavender-cursors"
|
# "HYPRCURSOR_THEME,catppuccin-macchiato-lavender-cursors"
|
||||||
"HYPRCURSOR_SIZE,24"
|
# "HYPRCURSOR_SIZE,24"
|
||||||
];
|
# ];
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
# float keepass windows, put main window in scratch
|
# float keepass windows, put main window in scratch
|
||||||
"float, class:^(org.keepassxc.KeePassXC)$"
|
"float, class:^(org.keepassxc.KeePassXC)$"
|
||||||
@ -187,7 +187,7 @@
|
|||||||
];
|
];
|
||||||
cursor = {
|
cursor = {
|
||||||
no_hardware_cursors = false;
|
no_hardware_cursors = false;
|
||||||
allow_dumb_copy = true;
|
# allow_dumb_copy = true;
|
||||||
};
|
};
|
||||||
misc = {
|
misc = {
|
||||||
vfr = true;
|
vfr = true;
|
||||||
@ -199,11 +199,13 @@
|
|||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
name = "catppuccin-macchiato-lavender-cursors";
|
name = "catppuccin-macchiato-lavender-cursors";
|
||||||
package = pkgs.catppuccin-cursors.macchiatoLavender;
|
# package = pkgs.catppuccin-cursors.macchiatoLavender;
|
||||||
size = 24;
|
# size = 24;
|
||||||
gtk.enable = true;
|
# gtk.enable = true;
|
||||||
x11.enable = true;
|
# x11.enable = true;
|
||||||
};
|
};
|
||||||
|
# home.sessionVariables = {
|
||||||
|
# };
|
||||||
home.packages = with pkgs; lib.lists.flatten [
|
home.packages = with pkgs; lib.lists.flatten [
|
||||||
[
|
[
|
||||||
### hyprland packages
|
### hyprland packages
|
||||||
@ -239,5 +241,11 @@
|
|||||||
]
|
]
|
||||||
config.hyprhome.homePackages
|
config.hyprhome.homePackages
|
||||||
];
|
];
|
||||||
|
programs.cava = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
smoothing.noise_reduction = 55;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,9 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf config.hypr.enable {
|
config = lib.mkIf config.hypr.enable {
|
||||||
|
|
||||||
|
catppuccin.enable = true;
|
||||||
|
catppuccin.flavor = "macchiato";
|
||||||
|
catppuccin.accent = "lavender";
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
# programs.hyprland.package = unstable.hyprland;
|
# programs.hyprland.package = unstable.hyprland;
|
||||||
# programs.hyprland.portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
# programs.hyprland.portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||||
|
@ -27,11 +27,11 @@
|
|||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home/nate/kage" = {
|
# fileSystems."/home/nate/kage" = {
|
||||||
device = "192.168.1.169:/kage";
|
# device = "192.168.1.169:/kage";
|
||||||
fsType = "nfs";
|
# fsType = "nfs";
|
||||||
options = [ "nfsvers=4.2" "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; # lazy mounting and auto disconnect after 600 seconds
|
# options = [ "nfsvers=4.2" "x-systemd.automount" "noauto" "bg" "x-systemd.idle-timeout=600" ]; # lazy mounting and auto disconnect after 600 seconds
|
||||||
};
|
# };
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{ device = "/dev/disk/by-label/swap"; }
|
{ device = "/dev/disk/by-label/swap"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user