First build; Too many bugs...
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
config,
|
||||
primaryUser,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -12,21 +13,19 @@
|
||||
./shell.nix
|
||||
./xdg.nix
|
||||
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
./neovim
|
||||
./python.nix
|
||||
|
||||
inputs.nixcord.homeModules.nixcord
|
||||
./nixcord.nix
|
||||
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
./spicetify.nix
|
||||
|
||||
./floorp.nix
|
||||
./obsidian.nix
|
||||
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
./desktop
|
||||
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
catppuccin = {
|
||||
@@ -36,21 +35,39 @@
|
||||
|
||||
home = {
|
||||
username = primaryUser;
|
||||
stateVersion = "25.11";
|
||||
stateVersion = "26.05";
|
||||
sessionVariables = {
|
||||
GROQ_API_KEY = config.sops.secrets.GROQ_API_KEY.path;
|
||||
OPENWEATHER_API_KEY = config.sops.secrets.OPENWEATHER_API_KEY.path;
|
||||
};
|
||||
|
||||
file = {
|
||||
"Pictures/Avatar" = {
|
||||
source = ../assets/avatar;
|
||||
source = "${self}/assets/avatar";
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
"Pictures/Wallpapers" = {
|
||||
source = ../assets/wallpapers;
|
||||
source = "${self}/assets/wallpapers";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/phil/.config/sops/age/keys.txt";
|
||||
|
||||
secrets = {
|
||||
GROQ_API_KEY = { };
|
||||
OPENWEATHER_API_KEY = { };
|
||||
ssh_private_key = {
|
||||
path = "/home/${primaryUser}/.ssh/ssh";
|
||||
mode = "0600";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.man.enable = false;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
./hyprland
|
||||
./rofi
|
||||
./waybar
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ catppuccin-papirus-folders ];
|
||||
home.packages = with pkgs; [ catppuccin-papirus-folders adwaita-icon-theme];
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
package = lib.mkForce pkgs.catppuccin-papirus-folders; # deactivate and check
|
||||
};
|
||||
|
||||
cursorTheme = {
|
||||
name = "catppuccin-mocha-dark";
|
||||
package = pkgs.catppuccin-cursors.mocha-dark;
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ in
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
catppuccin-cursors.mocha-dark
|
||||
catppuccin-cursors.mochaDark
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
@@ -43,8 +43,8 @@ in
|
||||
};
|
||||
|
||||
plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
hyprbars
|
||||
hyprexpo
|
||||
#hyprbars
|
||||
# hyprexpo
|
||||
];
|
||||
|
||||
settings = {
|
||||
@@ -139,24 +139,24 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
layerrule = [
|
||||
"ignorezero,notifications"
|
||||
"ignorezero,rofi"
|
||||
];
|
||||
# layerrule = [
|
||||
# "ignorezero,notifications"
|
||||
# "ignorezero,rofi"
|
||||
# ];
|
||||
|
||||
dwindle = {
|
||||
pseudotile = "yes";
|
||||
preserve_split = "yes";
|
||||
};
|
||||
|
||||
gestures = {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = true;
|
||||
workspace_swipe_fingers = 3;
|
||||
workspace_swipe_distance = 300;
|
||||
workspace_swipe_invert = false;
|
||||
workspace_swipe_cancel_ratio = 0.5;
|
||||
};
|
||||
# gestures = {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
# workspace_swipe = true;
|
||||
# workspace_swipe_fingers = 3;
|
||||
# workspace_swipe_distance = 300;
|
||||
# workspace_swipe_invert = false;
|
||||
# workspace_swipe_cancel_ratio = 0.5;
|
||||
# };
|
||||
|
||||
misc = {
|
||||
force_default_wallpaper = 0;
|
||||
@@ -170,7 +170,7 @@ in
|
||||
|
||||
device = {
|
||||
name = "usb-optical-mouse-";
|
||||
sensitivity = -0.5;
|
||||
sensitivity = 0;
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
@@ -181,15 +181,15 @@ in
|
||||
"center, class:^(xdg-desktop-portal-gtk)$"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||
"noanim, class:^(xwaylandvideobridge)$"
|
||||
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||
"maxsize 1 1, class:^(xwaylandvideobridge)$"
|
||||
"noblur, class:^(xwaylandvideobridge)$"
|
||||
"nofocus, class:^(xwaylandvideobridge)$"
|
||||
"noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
|
||||
];
|
||||
# windowrule = [
|
||||
# "opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||
# "noanim, class:^(xwaylandvideobridge)$"
|
||||
# "noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||
# "maxsize 1 1, class:^(xwaylandvideobridge)$"
|
||||
# "noblur, class:^(xwaylandvideobridge)$"
|
||||
# "nofocus, class:^(xwaylandvideobridge)$"
|
||||
# "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
|
||||
# ];
|
||||
|
||||
exec-once = [
|
||||
"waybar &"
|
||||
@@ -265,7 +265,7 @@ in
|
||||
|
||||
# Screenshot
|
||||
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||
''${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||
"${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')"
|
||||
];
|
||||
|
||||
bindl = [
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
};
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
cycle = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
package = pkgs.rofi;
|
||||
font = "FiraCode Nerd Font Mono 12";
|
||||
|
||||
location = "center";
|
||||
|
||||
@@ -1 +1,175 @@
|
||||
*{border:none;min-height:10px;font-family:FiraCode Nerd Font;font-size:15px}window#waybar{background:@crust}window#waybar.hidden{opacity:.2} #media,#clock,#cpu,#memory,#disk,#temperature,#network,#custom-wallpaper,#media,#custom-weather{color:@crust;margin-top:6px;margin-bottom:6px;padding-left:10px;padding-right:10px;transition:none}#custom-nixicon,#cpu{border-top-left-radius:10px;border-bottom-left-radius:10px;margin-left:5px}#clock,#temperature{border-top-right-radius:10px;border-bottom-right-radius:10px;margin-right:20px}#custom-nixicon{background-image:url(nix-snowflake.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;min-width:24px;min-height:24px;margin-top:6px;margin-bottom:6px;margin-left:15px;padding:0 15px 0 10px}#clock{background:@yellow}#cpu{background:@blue}#memory{background:@red}#disk{background:@peach}#temperature{background:@sky}#network{background:@lavender;padding-right:13px}#workspaces{border-radius:10px;margin:6px 5px;padding:0 6px}#workspaces button{color:@text;background:0 0;border:none;padding:4px;transition:color .3s,text-shadow .3s,transform .3s}#workspaces button.occupied{color:@red}#workspaces button.active{color:@green;text-shadow:0 0 4px @green}#workspaces button:hover{color:@teal;border:none}#media{background:@overlay2;color:@crust;border-radius:10px;margin-left:20px}#custom-cava{color:@green}#wireplumber,#custom-cava,#mpris{margin-left:10px;margin-right:5px}#wireplumber{margin-right:5px}#custom-weather{background:@sky;color:@crust;border-radius:10px;margin-right:20px}#custom-notification{background:@green;border-radius:10px;padding-left:10px;padding-right:5px;font-family:NotoSansMono Nerd Font}#custom-wallpaper{background:@red;color:@mantle;border-radius:10px;margin-left:5px}
|
||||
@import "catppuccin.css";
|
||||
|
||||
* {
|
||||
border: none;
|
||||
font-family: "FiraCode Nerd Font";
|
||||
font-size: 15px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @crust;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* - Genera rules for visible modules -- */
|
||||
#media,
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#network,
|
||||
#custom-wallpaper,
|
||||
#media,
|
||||
#custom-weather {
|
||||
color: @crust;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/* Separation to the left */
|
||||
#custom-nixicon,
|
||||
#cpu {
|
||||
margin-left: 5px;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
/* Separation to the rigth */
|
||||
#clock,
|
||||
#temperature {
|
||||
margin-right: 20px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
/* -- Specific styles -- */
|
||||
|
||||
#custom-nixicon {
|
||||
background-image: url("nix-snowflake.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
min-height: 24px;
|
||||
min-width: 24px;
|
||||
|
||||
padding: 0px;
|
||||
padding-right: 15px;
|
||||
padding-left: 10px;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
/* Hardware Group */
|
||||
#clock {
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background: @blue;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background: @red;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background: @peach;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background: @sky;
|
||||
}
|
||||
|
||||
#network {
|
||||
background: @lavender;
|
||||
padding-right: 13px;
|
||||
}
|
||||
|
||||
/* Workspace */
|
||||
#workspaces {
|
||||
border-radius: 10px;
|
||||
margin: 6px 5px;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @text;
|
||||
background: transparent;
|
||||
padding: 4px 4px;
|
||||
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.occupied {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @green;
|
||||
text-shadow: 0 0 4px @green;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @teal;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.active:hover {}
|
||||
|
||||
|
||||
|
||||
/* Media Group */
|
||||
#media {
|
||||
background: @overlay2;
|
||||
border-radius: 10px;
|
||||
color: @crust;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#custom-cava {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#wireplumber, #custom-cava, #mpris {
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
/* Weather */
|
||||
#custom-weather {
|
||||
background: @sky;
|
||||
color: @crust;
|
||||
border-radius: 10px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* SwayNC */
|
||||
#custom-notification {
|
||||
font-family: "NotoSansMono Nerd Font";
|
||||
background: @green;
|
||||
border-radius: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* Wallpaper */
|
||||
#custom-wallpaper {
|
||||
background: @red;
|
||||
color: @mantle;
|
||||
border-radius: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
1
home/desktop/waybar/configs/style.min.css
vendored
Normal file
1
home/desktop/waybar/configs/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*{border:none;min-height:10px;font-family:FiraCode Nerd Font;font-size:15px}window#waybar{background:@crust}window#waybar.hidden{opacity:.2} #media,#clock,#cpu,#memory,#disk,#temperature,#network,#custom-wallpaper,#media,#custom-weather{color:@crust;margin-top:6px;margin-bottom:6px;padding-left:10px;padding-right:10px;transition:none}#custom-nixicon,#cpu{border-top-left-radius:10px;border-bottom-left-radius:10px;margin-left:5px}#clock,#temperature{border-top-right-radius:10px;border-bottom-right-radius:10px;margin-right:20px}#custom-nixicon{background-image:url(nix-snowflake.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;min-width:24px;min-height:24px;margin-top:6px;margin-bottom:6px;margin-left:15px;padding:0 15px 0 10px}#clock{background:@yellow}#cpu{background:@blue}#memory{background:@red}#disk{background:@peach}#temperature{background:@sky}#network{background:@lavender;padding-right:13px}#workspaces{border-radius:10px;margin:6px 5px;padding:0 6px}#workspaces button{color:@text;background:0 0;border:none;padding:4px;transition:color .3s,text-shadow .3s,transform .3s}#workspaces button.occupied{color:@red}#workspaces button.active{color:@green;text-shadow:0 0 4px @green}#workspaces button:hover{color:@teal;border:none}#media{background:@overlay2;color:@crust;border-radius:10px;margin-left:20px}#custom-cava{color:@green}#wireplumber,#custom-cava,#mpris{margin-left:10px;margin-right:5px}#wireplumber{margin-right:5px}#custom-weather{background:@sky;color:@crust;border-radius:10px;margin-right:20px}#custom-notification{background:@green;border-radius:10px;padding-left:10px;padding-right:5px;font-family:NotoSansMono Nerd Font}#custom-wallpaper{background:@red;color:@mantle;border-radius:10px;margin-left:5px}
|
||||
@@ -1,173 +0,0 @@
|
||||
* {
|
||||
border: none;
|
||||
font-family: "FiraCode Nerd Font";
|
||||
font-size: 15px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @crust;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* - Genera rules for visible modules -- */
|
||||
#media,
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#network,
|
||||
#custom-wallpaper,
|
||||
#media,
|
||||
#custom-weather {
|
||||
color: @crust;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/* Separation to the left */
|
||||
#custom-nixicon,
|
||||
#cpu {
|
||||
margin-left: 5px;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
/* Separation to the rigth */
|
||||
#clock,
|
||||
#temperature {
|
||||
margin-right: 20px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
/* -- Specific styles -- */
|
||||
|
||||
#custom-nixicon {
|
||||
background-image: url("nix-snowflake.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
min-height: 24px;
|
||||
min-width: 24px;
|
||||
|
||||
padding: 0px;
|
||||
padding-right: 15px;
|
||||
padding-left: 10px;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
/* Hardware Group */
|
||||
#clock {
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background: @blue;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background: @red;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background: @peach;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background: @sky;
|
||||
}
|
||||
|
||||
#network {
|
||||
background: @lavender;
|
||||
padding-right: 13px;
|
||||
}
|
||||
|
||||
/* Workspace */
|
||||
#workspaces {
|
||||
border-radius: 10px;
|
||||
margin: 6px 5px;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @text;
|
||||
background: transparent;
|
||||
padding: 4px 4px;
|
||||
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.occupied {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @green;
|
||||
text-shadow: 0 0 4px @green;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @teal;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#workspaces button.active:hover {}
|
||||
|
||||
|
||||
|
||||
/* Media Group */
|
||||
#media {
|
||||
background: @overlay2;
|
||||
border-radius: 10px;
|
||||
color: @crust;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#custom-cava {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#wireplumber, #custom-cava, #mpris {
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
/* Weather */
|
||||
#custom-weather {
|
||||
background: @sky;
|
||||
color: @crust;
|
||||
border-radius: 10px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* SwayNC */
|
||||
#custom-notification {
|
||||
font-family: "NotoSansMono Nerd Font";
|
||||
background: @green;
|
||||
border-radius: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* Wallpaper */
|
||||
#custom-wallpaper {
|
||||
background: @red;
|
||||
color: @mantle;
|
||||
border-radius: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
@@ -4,13 +4,18 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
catppuccin.waybar.mode = "createLink";
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
}
|
||||
// (import ./dual.nix { inherit compositor; });
|
||||
home.file.".config/waybar" = {
|
||||
source = ./configs;
|
||||
recursive = true;
|
||||
home = {
|
||||
packages = with pkgs; [ cava ];
|
||||
file.".config/waybar" = {
|
||||
source = ./configs;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}:
|
||||
let
|
||||
common = import ./common.nix;
|
||||
wm = if compositor == "hyprland" then import ./hyprland.wm.nix else import ./niri-wm.nix;
|
||||
wm = if compositor == "hyprland" then import ./hyprland-wm.nix else import ./niri-wm.nix;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
||||
16
home/git.nix
16
home/git.nix
@@ -8,20 +8,20 @@
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "DerGrumpf"; # TODO replace
|
||||
userEmail = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
|
||||
lfs.enable = true;
|
||||
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
|
||||
extraConfig = {
|
||||
settings = {
|
||||
github = {
|
||||
user = primaryUser;
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
user = {
|
||||
name = "DerGrumpf"; # TODO replace
|
||||
email = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
};
|
||||
};
|
||||
|
||||
lfs.enable = true;
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# Conform: Code formatter that runs external formatting tools
|
||||
# Automatically formats code on save for consistent style.
|
||||
programs.nixvim = {
|
||||
@@ -24,7 +25,7 @@
|
||||
# Install formatters
|
||||
extraPackages = with pkgs; [
|
||||
stylua
|
||||
nixfmt-classic
|
||||
nixfmt
|
||||
black
|
||||
rustfmt
|
||||
prettierd
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
./treesitter.nix
|
||||
./lint.nix
|
||||
./lsp.nix
|
||||
@@ -21,7 +22,6 @@
|
||||
home.packages = with pkgs; [
|
||||
nil
|
||||
biome
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
lua-language-server
|
||||
nil
|
||||
rust-analyzer
|
||||
python311Packages.python-lsp-server
|
||||
python314Packages.python-lsp-server
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ lib, ... }: {
|
||||
{ lib, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixcord.homeModules.nixcord
|
||||
];
|
||||
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
discord = lib.mkForce { enable = false; };
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
fstl
|
||||
nautilus
|
||||
swayimg
|
||||
okular
|
||||
kdePackages.okular
|
||||
gnumeric
|
||||
sqlitebrowser
|
||||
thunderbird
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# Python 3.13 (newest stable)
|
||||
python313
|
||||
python313Packages.pip
|
||||
python313Packages.virtualenv
|
||||
python314
|
||||
python314Packages.pip
|
||||
python314Packages.virtualenv
|
||||
|
||||
# Additional useful tools
|
||||
python313Packages.pipx # Install Python apps in isolated environments
|
||||
python314Packages.pipx # Install Python apps in isolated environments
|
||||
uv # Fast Python package installer (alternative to pip)
|
||||
];
|
||||
|
||||
# Set up default Python version
|
||||
home.sessionVariables = { PYTHON = "${pkgs.python313}/bin/python3"; };
|
||||
home.sessionVariables = {
|
||||
PYTHON = "${pkgs.python313}/bin/python3";
|
||||
};
|
||||
|
||||
# Shell aliases for convenience
|
||||
programs.zsh.shellAliases = {
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
tabiew # Table viewer
|
||||
glow # MD Viewer
|
||||
|
||||
llm # LLM in the Terminal
|
||||
# LLM in the Terminal
|
||||
llm
|
||||
|
||||
# Fun stuff
|
||||
zoxide
|
||||
@@ -24,7 +25,7 @@
|
||||
|
||||
font = {
|
||||
name = "Fira Code Nerd Font";
|
||||
size = 12;
|
||||
size = 10;
|
||||
};
|
||||
|
||||
settings = {
|
||||
@@ -97,13 +98,6 @@
|
||||
i = "kitty +kitten icat";
|
||||
"nix-switch" = "sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
|
||||
};
|
||||
|
||||
initContent = ''
|
||||
fastfetch
|
||||
ai() {
|
||||
llm -m groq/groq/compound "$@" | glow
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
@@ -124,12 +118,6 @@
|
||||
fastfetch
|
||||
end
|
||||
'';
|
||||
|
||||
functions.ai = {
|
||||
body = ''
|
||||
llm -m groq/groq/compound $argv | glow
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
{ pkgs, inputs, ... }: {
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs.spicetify =
|
||||
let spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
spotifyPackage = pkgs.spotify;
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
|
||||
Reference in New Issue
Block a user