This commit is contained in:
Miguel Palhas
2026-03-26 14:30:47 +00:00
parent 6c397bc61a
commit 6f67e5f451
25 changed files with 93 additions and 620 deletions
+3 -1
View File
@@ -24,7 +24,7 @@
./ssh.nix
];
home.mutableFilesRepoPath = "/home/naps62/projects/nixos-config";
home.mutableFilesRepoPath = "${config.home.homeDirectory}/projects/nixos-config";
programs = {
home-manager.enable = true;
@@ -35,7 +35,9 @@
];
home = {
username = lib.mkDefault "naps62";
homeDirectory = lib.mkDefault "/home/${config.home.username}";
stateVersion = lib.mkDefault "24.05";
sessionPath = [ "$HOME/.local/bin" ];
};
}
-1
View File
@@ -43,7 +43,6 @@
signal-desktop
# dev tools
ferdium
yaak
bun
+1 -1
View File
@@ -39,7 +39,7 @@
ktlint
croc
opencode
amp-cli
process-compose
# typst
typst
+2 -2
View File
@@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
home.packages = [ inputs.ethui.packages.x86_64-linux.default ];
home.packages = [ inputs.ethui.packages.${pkgs.stdenv.hostPlatform.system}.default ];
}
+1 -1
View File
@@ -20,7 +20,7 @@
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "/home/naps62/sync/pass";
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/sync/pass";
};
};
}
+1 -8
View File
@@ -15,12 +15,5 @@ in
XCURSOR_SIZE = cursorSize;
};
dconf = {
enable = true;
# settings = {
# "org/gnome/desktop/interface" = {
# cursor-theme = "BreezeX-RosePine-Linux";
# };
# };
};
dconf.enable = true;
}
+1 -22
View File
@@ -6,7 +6,6 @@
...
}:
let
rofiLaunchers = import ../../../pkgs/rofi-launchers/package.nix { };
cfg = config.custom.hyprland;
in
{
@@ -24,9 +23,7 @@ in
};
imports = [
./rofi.nix
./cursor.nix
./waybar.nix
./noctalia
./wallpapers.nix
];
@@ -53,17 +50,9 @@ in
enable = true;
package = null;
portalPackage = null;
plugins = [
# inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprfocus
# inputs.hyprspace.packages.${pkgs.stdenv.hostPlatform.system}.Hyprspace
];
plugins = [ ];
settings = {
plugin = {
# hyprfocus = {
# enabled = true;
# mode = "flash";
# flash_opacity = 0.8; # Flash brighter instead of dimmer
# };
overview = {
autoDrag = true;
exitOnClick = true;
@@ -116,7 +105,6 @@ in
decoration = {
blur = {
enabled = true;
# new_optimizations = false;
popups = false;
};
shadow = {
@@ -219,21 +207,13 @@ in
bind = [
"$mod, n, exec, noctalia-shell ipc call controlCenter toggle"
# "$mod, tab, overview:toggle,"
"$mod, b, exec, pkill waybar || waybar"
"$mod, t, exec, kitty"
"$mod, v, togglefloating"
"$mod, q, killactive"
"$mod, f, fullscreen, 0"
"$mod SHIFT, f, fullscreen, 1"
# app launcher
"$mod, space, exec, noctalia-shell ipc call launcher toggle"
# rofi (old)
# "$mod, space, exec, launcher_t2"
# nerd-dictation
# "$mod, d, exec, nerd-dictation-toggle"
# printscreen
", Print, exec, hyprshot -m region --raw | satty --filename - --output-filename ~/downloads/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
@@ -249,7 +229,6 @@ in
"$mod, 1, workspace, 1"
"$mod, 2, workspace, 2"
"$mod, 3, workspace, 3"
"$mod, 3, workspace, 3"
"$mod, 4, workspace, 4"
"$mod, 5, workspace, 5"
"$mod, 6, workspace, 6"
@@ -292,7 +292,7 @@ in
animationDisabled = false;
animationSpeed = 1;
autoStartAuth = true;
avatarImage = "/home/naps62/.face";
avatarImage = "${config.home.homeDirectory}/.face";
boxRadiusRatio = 1;
clockFormat = "hh\\nmm";
clockStyle = "custom";
@@ -563,7 +563,7 @@ in
};
wallpaper = {
automationEnabled = true;
directory = "/home/naps62/.cache/wallpapers/3840x2160";
directory = "${config.home.homeDirectory}/.cache/wallpapers/3840x2160";
enabled = true;
favorites = [ ];
fillColor = "#5e81ac";
-7
View File
@@ -1,7 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
rofi
(callPackage ../../../../pkgs/rofi-launchers/package.nix { })
];
}
-173
View File
@@ -1,173 +0,0 @@
{ pkgs, ... }:
{
programs.waybar = {
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 32;
exclusive = false;
modules-left = [ "hyprland/workspaces" ];
modules-center = [ "hyprland/window" ];
modules-right = [
"tray"
"bluetooth"
"network"
"pulseaudio"
"battery"
"clock"
];
"hyprland/workspaces" = {
format = "{icon}";
format-icons = {
"1" = "1";
"2" = "2";
"3" = "3";
"4" = "4";
"5" = "5";
"6" = "6";
};
persistent-workspaces = {
"*" = [ 1 2 3 4 5 6 ];
};
};
"hyprland/window" = {
max-length = 50;
};
tray = {
icon-size = 16;
spacing = 8;
};
bluetooth = {
format = "󰂯";
format-disabled = "󰂲";
format-connected = "󰂱";
tooltip-format = "{controller_alias}\t{controller_address}";
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{device_enumerate}";
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
on-click = "blueman-manager";
};
network = {
format-wifi = "󰤨";
format-ethernet = "󰈀";
format-disconnected = "󰤭";
tooltip-format-wifi = "{essid} ({signalStrength}%)";
tooltip-format-ethernet = "{ifname}: {ipaddr}/{cidr}";
tooltip-format-disconnected = "Disconnected";
};
pulseaudio = {
format = "{icon}";
format-muted = "󰝟";
format-icons = {
default = [ "󰕿" "󰖀" "󰕾" ];
};
tooltip-format = "{volume}%";
on-click = "pavucontrol";
on-click-right = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
scroll-step = 5;
};
battery = {
format = "{icon} {capacity}%";
format-charging = "󰂄 {capacity}%";
format-icons = [ "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
states = {
warning = 20;
critical = 10;
};
};
clock = {
format = "{:%H:%M}";
tooltip-format = "{:%A, %B %d, %Y}";
};
};
};
style = ''
@define-color foreground #bac2de;
@define-color background #11111b;
@define-color active #b4befe;
@define-color warning #f9e2af;
@define-color critical #f38ba8;
@define-color muted #6c7086;
* {
background-color: transparent;
color: @foreground;
border: none;
border-radius: 0;
min-height: 0;
font-family: FiraCode Nerd Font;
font-size: 15px;
}
window#waybar {
background-color: @background;
}
.modules-left {
margin-left: 10px;
}
.modules-right {
margin-right: 10px;
}
#workspaces button {
padding: 0 6px;
margin: 0 2px;
color: @muted;
}
#workspaces button.active {
color: @active;
}
#workspaces button.urgent {
color: @critical;
}
#window {
color: @muted;
font-size: 14px;
}
#tray,
#bluetooth,
#network,
#pulseaudio,
#battery,
#clock {
padding: 0 10px;
color: @foreground;
}
#battery.warning {
color: @warning;
}
#battery.critical {
color: @critical;
}
#pulseaudio.muted {
color: @muted;
}
tooltip {
background-color: @background;
border: 1px solid @muted;
border-radius: 4px;
}
'';
};
}
-1
View File
@@ -55,7 +55,6 @@ in
tab_bar_edge = "bottom";
tab_bar_style = "powerline";
tab_powerline_style = "slanted";
# tab_title_template = "{tab.active_wd.split('/')[-1]}{' :{}'.format(num_windows) if num_windows > 1 else ''}";
tab_bar_filter = "session:~ or session:^$";
# keys
-3
View File
@@ -123,7 +123,4 @@ in
nerd-dictation-toggle
pkgs.ydotool
];
# Note: You may need to enable ydotoold as a systemd service
# Either via NixOS configuration or by running: ydotoold &
}
-13
View File
@@ -21,21 +21,8 @@
[build]
rustflags = ["-Z", "threads=12"]
# [unstable]
# codegen-backend = true
#
# [profile.dev]
# codegen-backend = "cranelift"
'';
# systemd.user.services.ra-multiplex = {
# Service = {
# ExecStart = "${pkgs.ra-multiplex}/bin/ra-multiplex server";
# };
# Install.WantedBy = [ "default.target" ];
# };
home.sessionVariables = {
OPENSSL_DIR = "${pkgs.openssl.dev}";
OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib";
+1 -1
View File
@@ -1,4 +1,4 @@
{ inputs, pkgs, ... }:
{
home.packages = [ inputs.zen-browser.packages.x86_64-linux.twilight-official ];
home.packages = [ inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.twilight-official ];
}