mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 13:22:34 +02:00
Up
This commit is contained in:
@@ -4,32 +4,37 @@ This is my dotfiles repo. It's a work in progress, and I'm still learning how to
|
|||||||
|
|
||||||
# Images
|
# Images
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
|
|
||||||
- WM: *Hyprland*
|
| Category | Software |
|
||||||
- hyprlock
|
|----------------|---------------|
|
||||||
- hyprpaper
|
| WM | Hyprland |
|
||||||
- hypridle
|
| | - hyprlock |
|
||||||
- wlogout
|
| | - hyprpaper |
|
||||||
- File manager:
|
| | - hypridle |
|
||||||
- lf
|
| | - wlogout |
|
||||||
- thunar
|
| File manager | - lf |
|
||||||
- Terminal: kitty
|
| | - thunar |
|
||||||
- Shell: zsh
|
| Terminal | kitty |
|
||||||
- Prompt: starship
|
| Shell | zsh |
|
||||||
- Bat, eza, zoxide, fzf, ripgrep
|
| | - starship |
|
||||||
- Editor: nixvim
|
| | - bat |
|
||||||
- Browser: qutebrowser
|
| | - eza |
|
||||||
- Music: spictify
|
| | - zoxide |
|
||||||
- Bar: waybar
|
| | - fzf |
|
||||||
- Notifications: dunst
|
| Editor | nixvim |
|
||||||
- Launcher: wofi
|
| Browser | qutebrowser |
|
||||||
- DM: Tuigreet
|
| Music | spicetify |
|
||||||
- Secrets: sops-nix
|
| Bar | waybar |
|
||||||
|
| Notifications | dunst |
|
||||||
|
| Launcher | wofi |
|
||||||
|
| DM | tuigreet |
|
||||||
|
| Secrets | sops-nix |
|
||||||
|
|
||||||
# Themes & Colors
|
# Themes & Colors
|
||||||
|
|
||||||
@@ -93,5 +98,5 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#nixy
|
|||||||
- [ ] Variable user & homeDir
|
- [ ] Variable user & homeDir
|
||||||
- [ ] Custom GTK based on the colorscheme
|
- [ ] Custom GTK based on the colorscheme
|
||||||
- [ ] Obsidian.nvim on every markdown file
|
- [ ] Obsidian.nvim on every markdown file
|
||||||
- [ ] Nextcloud services (Only on my personnal network)
|
|
||||||
- [ ] Caffeine & Night-Shift replace notif
|
- [ ] Caffeine & Night-Shift replace notif
|
||||||
|
- [ ] Make hyprcursor working
|
||||||
|
|||||||
+17
-11
@@ -1,6 +1,6 @@
|
|||||||
{ pkgs, config, ... }: {
|
{ self, pkgs, config, ... }: {
|
||||||
|
|
||||||
imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ];
|
imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ./hyprcursor.nix ];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hyprshot
|
hyprshot
|
||||||
@@ -29,11 +29,12 @@
|
|||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$shiftMod" = "SUPER_SHIFT";
|
"$shiftMod" = "SUPER_SHIFT";
|
||||||
"$menu" = "menu";
|
|
||||||
"$powermenu" = "${pkgs.wlogout}/bin/wlogout";
|
|
||||||
|
|
||||||
exec-once =
|
exec-once = [
|
||||||
[ "${pkgs.hypridle}/bin/hypridle" "${pkgs.hyprpaper}/bin/hyprpaper" "${pkgs.bitwarden}/bin/bitwarden" ];
|
"${pkgs.hypridle}/bin/hypridle"
|
||||||
|
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||||
|
"${pkgs.bitwarden}/bin/bitwarden"
|
||||||
|
];
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
"eDP-2,highres,0x0,1"
|
"eDP-2,highres,0x0,1"
|
||||||
@@ -43,22 +44,25 @@
|
|||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||||
"$mod, Q, killactive,"
|
|
||||||
"$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
|
"$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
|
||||||
"$mod, T, togglefloating,"
|
|
||||||
"$mod, F, fullscreen"
|
|
||||||
"$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser"
|
"$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser"
|
||||||
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
|
"$mod, C, exec, ${pkgs.kitty}/bin/kitty --class peaclock peaclock"
|
||||||
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
"$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||||
"$mod, SPACE, exec, $menu"
|
"$mod, X, exec, ${pkgs.wlogout}/bin/wlogout"
|
||||||
"$mod, X, exec, $powermenu"
|
"$mod, SPACE, exec, menu"
|
||||||
|
# Windows control
|
||||||
|
"$mod, Q, killactive,"
|
||||||
|
"$mod, T, togglefloating,"
|
||||||
|
"$mod, F, fullscreen"
|
||||||
"$mod, left, movefocus, l"
|
"$mod, left, movefocus, l"
|
||||||
"$mod, right, movefocus, r"
|
"$mod, right, movefocus, r"
|
||||||
"$mod, up, movefocus, u"
|
"$mod, up, movefocus, u"
|
||||||
"$mod, down, movefocus, d"
|
"$mod, down, movefocus, d"
|
||||||
|
# Screenshots
|
||||||
"$mod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m window -o ~/Pictures/screenshots"
|
"$mod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m window -o ~/Pictures/screenshots"
|
||||||
", PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m output -o ~/Pictures/screenshots"
|
", PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m output -o ~/Pictures/screenshots"
|
||||||
"$shiftMod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m region -o ~/Pictures/screenshots"
|
"$shiftMod, PRINT, exec, ${pkgs.hyprshot}/bin/hyprshot -m region -o ~/Pictures/screenshots"
|
||||||
|
# Night Shift
|
||||||
"$mod, F2, exec, night-shift-off"
|
"$mod, F2, exec, night-shift-off"
|
||||||
"$mod, F3, exec, night-shift-on"
|
"$mod, F3, exec, night-shift-on"
|
||||||
] ++ (builtins.concatLists (builtins.genList (i:
|
] ++ (builtins.concatLists (builtins.genList (i:
|
||||||
@@ -96,6 +100,8 @@
|
|||||||
"QT_QPA_PLATFORM=wayland,xcb"
|
"QT_QPA_PLATFORM=wayland,xcb"
|
||||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||||
"GTK_THEME,Flat-Remix-GTK-White-Darkest-Solid:dark"
|
"GTK_THEME,Flat-Remix-GTK-White-Darkest-Solid:dark"
|
||||||
|
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
|
||||||
|
"HYPRCURSOR_SIZE,10"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [ hyprcursor ];
|
||||||
|
|
||||||
|
home.file.".local/share/icons/rose-pine-hyprcursor" = {
|
||||||
|
recursive = true;
|
||||||
|
source = ./rose-pine;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
name = rose-pine-hyprcursor
|
||||||
|
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
|
||||||
|
version = 0.2
|
||||||
|
cursors_directory = hyprcursors
|
||||||
@@ -1,6 +1 @@
|
|||||||
{
|
{ imports = [ ./cava/default.nix ]; }
|
||||||
imports = [
|
|
||||||
./cava/default.nix
|
|
||||||
./nextcloud.nix # REMOVE
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
{ pkgs, ... }: {
|
|
||||||
systemd.user.services.watch-nextcloud = {
|
|
||||||
Unit = { Description = "Start Nextcloud if I'm on one of my network"; };
|
|
||||||
Install = { WantedBy = [ "default.target" ]; };
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkgs.writeShellScript "watch-nextcloud" ''
|
|
||||||
while 1;do
|
|
||||||
ssid=$(nmcli -t -f name connection show --active | head -n1)
|
|
||||||
if [[ $ssid == "inthecloud" || $ssid == "Wired connection 2" ]]; then
|
|
||||||
status=$(systemctl --user status nextcloud-client)
|
|
||||||
service_status=$(echo "$status" | awk '/Active:/ {print $2}')
|
|
||||||
if [[ $service_status == "inactive" ]]; then
|
|
||||||
systemctl --user start nextcloud-client
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
status=$(systemctl --user status nextcloud-client)
|
|
||||||
service_status=$(echo "$status" | awk '/Active:/ {print $2}')
|
|
||||||
if [[ $service_status == "active" ]]; then
|
|
||||||
systemctl --user stop nextcloud-client
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
sleep 120
|
|
||||||
done
|
|
||||||
''}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
+1
-1
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
historySubstringSearch.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
||||||
|
|
||||||
home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
# Make home-manager crash on boot, dafuk ?
|
||||||
/run/current-system/sw/bin/systemctl start --user sops-nix
|
# home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
'';
|
# /run/current-system/sw/bin/systemctl start --user sops-nix
|
||||||
|
# '';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,5 +108,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.dbus.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user