Compare commits
3 Commits
14486ddbc7
...
2cea0a853b
| Author | SHA1 | Date | |
|---|---|---|---|
|
2cea0a853b
|
|||
|
a69e129c77
|
|||
|
af272fb3ef
|
53
flake.lock
generated
53
flake.lock
generated
@@ -1,5 +1,23 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"catppuccin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1772153824,
|
||||||
|
"narHash": "sha256-T65qXmlcD9qFpPTi+mOXsn4dIkO2N8Ls67nqmuzepv0=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"rev": "4b0f5b7bf7b3eeb484d49524f3c9791864ab9362",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ghettoptt": {
|
"ghettoptt": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -28,11 +46,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772569491,
|
"lastModified": 1772516620,
|
||||||
"narHash": "sha256-bdr6ueeXO1Xg91sFkuvaysYF0mVdwHBpdyhTjBEWv+s=",
|
"narHash": "sha256-2r4cKdqCVlQkvcTcLUMxmsmAYZZxCMd//w/PnDnukTE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "924e61f5c2aeab38504028078d7091077744ab17",
|
"rev": "2b9504d5a0169d4940a312abe2df2c5658db8de9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -109,15 +127,15 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772542754,
|
"lastModified": 1771848320,
|
||||||
"narHash": "sha256-WGV2hy+VIeQsYXpsLjdr4GvHv5eECMISX1zKLTedhdg=",
|
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8c809a146a140c5c8806f13399592dbcb1bb5dc4",
|
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
@@ -139,6 +157,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1772433332,
|
||||||
|
"narHash": "sha256-izhTDFKsg6KeVBxJS9EblGeQ8y+O8eCa6RcW874vxEc=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "cf59864ef8aa2e178cccedbe2c178185b0365705",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixprstatus": {
|
"nixprstatus": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -265,12 +299,13 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"catppuccin": "catppuccin",
|
||||||
"ghettoptt": "ghettoptt",
|
"ghettoptt": "ghettoptt",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"huecli": "huecli",
|
"huecli": "huecli",
|
||||||
"natstonotify": "natstonotify",
|
"natstonotify": "natstonotify",
|
||||||
"nix-packages": "nix-packages",
|
"nix-packages": "nix-packages",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nixprstatus": "nixprstatus",
|
"nixprstatus": "nixprstatus",
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix"
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
url = "git+https://git.t-juice.club/torjus/natstonotify?ref=master";
|
url = "git+https://git.t-juice.club/torjus/natstonotify?ref=master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
catppuccin = {
|
||||||
|
url = "github:catppuccin/nix";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
@@ -45,6 +48,7 @@
|
|||||||
huecli,
|
huecli,
|
||||||
natstonotify,
|
natstonotify,
|
||||||
nix-packages,
|
nix-packages,
|
||||||
|
catppuccin,
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
|
|||||||
@@ -17,11 +17,13 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
inputs.catppuccin.homeModules.catppuccin
|
||||||
../../editor/neovim
|
../../editor/neovim
|
||||||
../../hyprland
|
../../hyprland
|
||||||
../../packages
|
../../packages
|
||||||
../../programs/dunst
|
../../programs/dunst
|
||||||
../../programs/git
|
../../programs/git
|
||||||
|
../../programs/gtk
|
||||||
../../programs/firefox
|
../../programs/firefox
|
||||||
../../programs/kitty
|
../../programs/kitty
|
||||||
../../programs/obs-studio
|
../../programs/obs-studio
|
||||||
@@ -108,6 +110,8 @@
|
|||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
services.dunst.settings.global.monitor = "DP-1";
|
||||||
|
|
||||||
# Custom options
|
# Custom options
|
||||||
torjus.home.obs = {
|
torjus.home.obs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
inputs.catppuccin.homeModules.catppuccin
|
||||||
../../sops
|
../../sops
|
||||||
../../services/labmcp.nix
|
../../services/labmcp.nix
|
||||||
../../editor/neovim
|
../../editor/neovim
|
||||||
@@ -25,10 +26,10 @@
|
|||||||
../../programs/tmux
|
../../programs/tmux
|
||||||
../../programs/dunst
|
../../programs/dunst
|
||||||
../../programs/kitty
|
../../programs/kitty
|
||||||
|
../../programs/gtk
|
||||||
../../programs/rofi
|
../../programs/rofi
|
||||||
../../programs/obs-studio
|
../../programs/obs-studio
|
||||||
../../programs/vscode
|
../../programs/vscode
|
||||||
../../programs/pywal
|
|
||||||
../../scripts
|
../../scripts
|
||||||
../../scripts/batlvl.nix
|
../../scripts/batlvl.nix
|
||||||
../../zsh
|
../../zsh
|
||||||
@@ -60,6 +61,7 @@
|
|||||||
homeDirectory = "/home/${user}";
|
homeDirectory = "/home/${user}";
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
};
|
};
|
||||||
|
services.dunst.settings.global.monitor = "eDP-1";
|
||||||
torjus.home.obs.enable = true;
|
torjus.home.obs.enable = true;
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,5 +9,4 @@
|
|||||||
size = 32;
|
size = 32;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ in
|
|||||||
[
|
[
|
||||||
dunst
|
dunst
|
||||||
hyprpaper
|
hyprpaper
|
||||||
rofi
|
|
||||||
slurp
|
slurp
|
||||||
swww
|
swww
|
||||||
waybar
|
waybar
|
||||||
@@ -261,8 +260,9 @@ in
|
|||||||
# term
|
# term
|
||||||
"$mainMod,Return,exec,$term"
|
"$mainMod,Return,exec,$term"
|
||||||
# rofi
|
# rofi
|
||||||
"$mainMod,D,exec,rofi-launcher"
|
"$mainMod,D,exec,rofi -show drun"
|
||||||
"$mainMod,P,exec,rofi-rbw"
|
"$mainMod,P,exec,rofi-rbw"
|
||||||
|
"$mainMod,E,exec,rofi -show emoji"
|
||||||
# hyprlock
|
# hyprlock
|
||||||
"$shiftMainMod,l,exec,${pkgs.hyprlock}/bin/hyprlock"
|
"$shiftMainMod,l,exec,${pkgs.hyprlock}/bin/hyprlock"
|
||||||
# hyprland
|
# hyprland
|
||||||
|
|||||||
@@ -24,15 +24,9 @@ in
|
|||||||
sops.secrets."radarr_base_url" = { };
|
sops.secrets."radarr_base_url" = { };
|
||||||
sops.secrets."radarr_api_key" = { };
|
sops.secrets."radarr_api_key" = { };
|
||||||
|
|
||||||
xdg.configFile."waybar/macchiato.css" = {
|
catppuccin.waybar = {
|
||||||
source =
|
enable = true;
|
||||||
pkgs.fetchFromGitHub {
|
flavor = "macchiato";
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "waybar";
|
|
||||||
rev = "f74ab1eecf2dcaf22569b396eed53b2b2fbe8aff";
|
|
||||||
sha256 = "WLJMA2X20E5PCPg0ZPtSop0bfmu+pLImP9t8A8V4QK8=";
|
|
||||||
}
|
|
||||||
+ "/themes/macchiato.css";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
@@ -42,7 +36,6 @@ in
|
|||||||
target = "graphical-session.target";
|
target = "graphical-session.target";
|
||||||
};
|
};
|
||||||
style = ''
|
style = ''
|
||||||
@import "macchiato.css";
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "JetbrainsMono Nerd Font";
|
font-family: "JetbrainsMono Nerd Font";
|
||||||
@@ -137,6 +130,7 @@ in
|
|||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#network,
|
#network,
|
||||||
#battery,
|
#battery,
|
||||||
|
#disk,
|
||||||
#custom-powermenu,
|
#custom-powermenu,
|
||||||
#custom-arrhist {
|
#custom-arrhist {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
@@ -164,6 +158,7 @@ in
|
|||||||
(lib.mkIf (withArrhist) "custom/arrhist")
|
(lib.mkIf (withArrhist) "custom/arrhist")
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"pulseaudio#microphone"
|
"pulseaudio#microphone"
|
||||||
|
"disk"
|
||||||
"memory"
|
"memory"
|
||||||
"cpu"
|
"cpu"
|
||||||
(lib.mkIf (withBattery) "battery")
|
(lib.mkIf (withBattery) "battery")
|
||||||
@@ -217,6 +212,15 @@ in
|
|||||||
"interval" = 3;
|
"interval" = 3;
|
||||||
"format" = " {usage}%";
|
"format" = " {usage}%";
|
||||||
};
|
};
|
||||||
|
"disk" = {
|
||||||
|
"interval" = 30;
|
||||||
|
"format" = " {percentage_used}%";
|
||||||
|
"path" = "/";
|
||||||
|
"tooltip-format" = "{used} / {total}";
|
||||||
|
"states" = {
|
||||||
|
"warning" = 85;
|
||||||
|
};
|
||||||
|
};
|
||||||
"tray" = {
|
"tray" = {
|
||||||
"icon-size" = 15;
|
"icon-size" = 15;
|
||||||
"spacing" = 6;
|
"spacing" = 6;
|
||||||
|
|||||||
@@ -4,6 +4,11 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
catppuccin.dunst = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "macchiato";
|
||||||
|
};
|
||||||
|
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
@@ -13,7 +18,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
origin = "top-right";
|
origin = "top-right";
|
||||||
monitor = "4";
|
follow = "none";
|
||||||
alignment = "left";
|
alignment = "left";
|
||||||
vertical_alignment = "center";
|
vertical_alignment = "center";
|
||||||
width = "(0, 400)";
|
width = "(0, 400)";
|
||||||
@@ -36,10 +41,8 @@
|
|||||||
history_length = 20;
|
history_length = 20;
|
||||||
always_run_script = true;
|
always_run_script = true;
|
||||||
corner_radius = 10;
|
corner_radius = 10;
|
||||||
# follow = "mouse";
|
font = "JetBrainsMono Nerd Font 10";
|
||||||
font = "Source Sans Pro 10";
|
format = "<b>%s</b>\\n%b";
|
||||||
format = "<b>%s</b>\\n%b"; # format = "<span foreground='#f3f4f5'><b>%s %p</b></span>\n%b"
|
|
||||||
frame_color = "#232323";
|
|
||||||
frame_width = 1;
|
frame_width = 1;
|
||||||
offset = "(15, 15)";
|
offset = "(15, 15)";
|
||||||
horizontal_padding = 10;
|
horizontal_padding = 10;
|
||||||
@@ -61,19 +64,6 @@
|
|||||||
fullscreen_delay_everything = {
|
fullscreen_delay_everything = {
|
||||||
fullscreen = "delay";
|
fullscreen = "delay";
|
||||||
};
|
};
|
||||||
|
|
||||||
urgency_critical = {
|
|
||||||
background = "#d64e4e";
|
|
||||||
foreground = "#f0e0e0";
|
|
||||||
};
|
|
||||||
urgency_low = {
|
|
||||||
background = "#232323";
|
|
||||||
foreground = "#2596be";
|
|
||||||
};
|
|
||||||
urgency_normal = {
|
|
||||||
background = "#1e1e2a";
|
|
||||||
foreground = "#2596be";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
13
home/programs/gtk/default.nix
Normal file
13
home/programs/gtk/default.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "catppuccin-macchiato-blue-standard";
|
||||||
|
package = pkgs.catppuccin-gtk.override {
|
||||||
|
variant = "macchiato";
|
||||||
|
accents = [ "blue" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
configuration{
|
|
||||||
modi: "run,drun,window";
|
|
||||||
icon-theme: "Oranchelo";
|
|
||||||
show-icons: true;
|
|
||||||
terminal: "alacritty";
|
|
||||||
drun-display-format: "{icon} {name}";
|
|
||||||
location: 0;
|
|
||||||
disable-history: false;
|
|
||||||
hide-scrollbar: true;
|
|
||||||
display-drun: " Apps ";
|
|
||||||
display-run: " Run ";
|
|
||||||
display-window: " Window";
|
|
||||||
display-Network: " Network";
|
|
||||||
sidebar-mode: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@theme "latte"
|
|
||||||
@@ -1,27 +1,33 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
xdg.configFile."rofi/config.rasi" = {
|
catppuccin.rofi = {
|
||||||
source = ./config.rasi;
|
enable = true;
|
||||||
|
flavor = "macchiato";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."rofi/macchiato.rasi" = {
|
programs.rofi = {
|
||||||
source =
|
enable = true;
|
||||||
pkgs.fetchFromGitHub {
|
terminal = "kitty";
|
||||||
owner = "catppuccin";
|
location = "center";
|
||||||
repo = "rofi";
|
font = "JetBrains Mono Nerd Font 12";
|
||||||
rev = "5350da41a11814f950c3354f090b90d4674a95ce";
|
plugins = [
|
||||||
sha256 = "DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY=";
|
pkgs.rofi-emoji
|
||||||
}
|
pkgs.rofi-calc
|
||||||
+ "/basic/.local/share/rofi/themes/catppuccin-macchiato.rasi";
|
];
|
||||||
};
|
extraConfig = {
|
||||||
xdg.configFile."rofi/latte.rasi" = {
|
modi = "drun,ssh,window,calc,emoji";
|
||||||
source =
|
matching = "fuzzy";
|
||||||
pkgs.fetchFromGitHub {
|
show-icons = true;
|
||||||
owner = "catppuccin";
|
icon-theme = "Oranchelo";
|
||||||
repo = "rofi";
|
drun-display-format = "{icon} {name}";
|
||||||
rev = "5350da41a11814f950c3354f090b90d4674a95ce";
|
hide-scrollbar = true;
|
||||||
sha256 = "DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY=";
|
disable-history = false;
|
||||||
}
|
display-drun = "Apps";
|
||||||
+ "/basic/.local/share/rofi/themes/catppuccin-latte.rasi";
|
display-ssh = "SSH";
|
||||||
|
display-window = "Window";
|
||||||
|
display-calc = "Calc";
|
||||||
|
display-emoji = "Emoji";
|
||||||
|
sidebar-mode = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,10 +7,6 @@
|
|||||||
source = ./hl-no-opacity.sh;
|
source = ./hl-no-opacity.sh;
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
home.file.".local/bin/rofi-launcher" = {
|
|
||||||
source = ./rofi-launcher.sh;
|
|
||||||
executable = true;
|
|
||||||
};
|
|
||||||
home.file.".local/bin/randomwp" = {
|
home.file.".local/bin/randomwp" = {
|
||||||
source = ./randomwp.sh;
|
source = ./randomwp.sh;
|
||||||
executable = true;
|
executable = true;
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
rofi \
|
|
||||||
-show drun \
|
|
||||||
-modi run,drun,ssh \
|
|
||||||
-scroll-method 0 \
|
|
||||||
-drun-match-fields all \
|
|
||||||
-drun-display-format "{name}" \
|
|
||||||
-terminal kitty
|
|
||||||
Reference in New Issue
Block a user