clean home manager
This commit is contained in:
parent
db38c76bb0
commit
481556c7ac
19 changed files with 155 additions and 67 deletions
|
|
@ -1 +1 @@
|
||||||
/nix/store/m7baqiydal7zmd55ki3lbh7qqc8xr0ms-home-manager-files/.config/hypr/.luarc.json
|
/nix/store/yaksysd8kvxqwyv04sd4g97la1sh762c-home-manager-files/.config/hypr/.luarc.json
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
-- shutdown hyprland and lock
|
-- shutdown hyprland and lock
|
||||||
hl.bind(
|
hl.bind(
|
||||||
"CTRL + ALT + M",
|
"CTRL + ALT + M",
|
||||||
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit"),
|
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'")
|
||||||
{ description = "hyprland shutdown" }
|
|
||||||
)
|
)
|
||||||
hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen))
|
hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen))
|
||||||
-- launchers
|
-- launchers
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/m7baqiydal7zmd55ki3lbh7qqc8xr0ms-home-manager-files/.config/hypr/hyprland.lua
|
/nix/store/yaksysd8kvxqwyv04sd4g97la1sh762c-home-manager-files/.config/hypr/hyprland.lua
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/m7baqiydal7zmd55ki3lbh7qqc8xr0ms-home-manager-files/.config/inkscape/palettes
|
/nix/store/yaksysd8kvxqwyv04sd4g97la1sh762c-home-manager-files/.config/inkscape/palettes
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/m7baqiydal7zmd55ki3lbh7qqc8xr0ms-home-manager-files/.config/inkscape/templates
|
/nix/store/yaksysd8kvxqwyv04sd4g97la1sh762c-home-manager-files/.config/inkscape/templates
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/m7baqiydal7zmd55ki3lbh7qqc8xr0ms-home-manager-files/.config/kitty/kitty.conf
|
/nix/store/yaksysd8kvxqwyv04sd4g97la1sh762c-home-manager-files/.config/kitty/kitty.conf
|
||||||
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -336,11 +336,11 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786128941,
|
"lastModified": 1786144742,
|
||||||
"narHash": "sha256-xjrN7ziovhkScO/neQAg8g7Wkl1wmf9YcL6+wMlDYPw=",
|
"narHash": "sha256-ROqWcNC1qYU2p0EY1d9BHnZbcl0ZDaCmXtojENSqL18=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "ce31340522e54e072cb3504ba082f1ecdde47639",
|
"rev": "d18ba6834c7f1141429b6d4cf148fff6c8c41139",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -472,11 +472,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786118193,
|
"lastModified": 1786171986,
|
||||||
"narHash": "sha256-RhkiElXANPrHOXTncgUmKHVw8FHuRZjAXmtUPQfB91c=",
|
"narHash": "sha256-kvmCZLYbByuE+zskqtf5+UPGrFI8e8KspB8jVey0nj0=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "43272965c62be2c512630bc80deeb6792b2f285b",
|
"rev": "f3a721857afb4c34f687390213e0bc034d8e4999",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -6,25 +6,8 @@
|
||||||
imports = [
|
imports = [
|
||||||
# fichier individuel dans packages = programs.xyz existant
|
# fichier individuel dans packages = programs.xyz existant
|
||||||
# sinon, dans other_apps*
|
# sinon, dans other_apps*
|
||||||
./packages/btop.nix
|
|
||||||
./packages/firefox.nix
|
|
||||||
./packages/git.nix
|
|
||||||
./packages/security.nix
|
|
||||||
./packages/hyprland.nix
|
|
||||||
./packages/kitty.nix
|
|
||||||
./packages/mpv.nix
|
|
||||||
./packages/neovim.nix
|
|
||||||
./packages/niri/niri.nix
|
|
||||||
./packages/nextcloud.nix
|
|
||||||
./packages/other_apps_light.nix
|
./packages/other_apps_light.nix
|
||||||
./packages/mako.nix
|
./shared.nix
|
||||||
./packages/python.nix
|
|
||||||
./packages/texlive.nix
|
|
||||||
./packages/thunderbird.nix
|
|
||||||
./packages/tmux.nix
|
|
||||||
./packages/zathura.nix
|
|
||||||
./packages/zen.nix
|
|
||||||
./packages/zsh.nix
|
|
||||||
# dotfiles links
|
# dotfiles links
|
||||||
./dotfiles_apps.nix
|
./dotfiles_apps.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -6,27 +6,9 @@
|
||||||
imports = [
|
imports = [
|
||||||
# fichier individuel dans packages = programs.xyz existant
|
# fichier individuel dans packages = programs.xyz existant
|
||||||
# sinon, dans other_apps*
|
# sinon, dans other_apps*
|
||||||
./packages/btop.nix
|
|
||||||
./packages/firefox.nix
|
|
||||||
./packages/git.nix
|
|
||||||
./packages/security.nix
|
|
||||||
./packages/hyprland.nix
|
|
||||||
./packages/kitty.nix
|
|
||||||
./packages/mpv.nix
|
|
||||||
#./packages/music.nix
|
|
||||||
./packages/neovim.nix
|
|
||||||
./packages/niri/niri.nix
|
|
||||||
./packages/nextcloud.nix
|
|
||||||
./packages/obs.nix
|
./packages/obs.nix
|
||||||
./packages/other_apps.nix
|
./packages/other_apps.nix
|
||||||
./packages/mako.nix
|
./shared.nix
|
||||||
./packages/python.nix
|
|
||||||
./packages/texlive.nix
|
|
||||||
./packages/thunderbird.nix
|
|
||||||
./packages/tmux.nix
|
|
||||||
./packages/zathura.nix
|
|
||||||
./packages/zen.nix
|
|
||||||
./packages/zsh.nix
|
|
||||||
# dotfiles links
|
# dotfiles links
|
||||||
./dotfiles_apps.nix
|
./dotfiles_apps.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -131,5 +131,8 @@
|
||||||
"Alt+Tab".action.toggle-overview = { };
|
"Alt+Tab".action.toggle-overview = { };
|
||||||
# Quitter niri
|
# Quitter niri
|
||||||
"Ctrl+Alt+M".action.quit = { };
|
"Ctrl+Alt+M".action.quit = { };
|
||||||
|
|
||||||
|
# workspaces
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,80 @@
|
||||||
{ ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
programs.niri.settings.workspaces = {
|
programs.niri.settings = {
|
||||||
"1" = {
|
workspaces = {
|
||||||
name = "web";
|
"1" = {
|
||||||
open-on-output = "eDP-1";
|
name = "web";
|
||||||
|
open-on-output = "eDP-1";
|
||||||
|
};
|
||||||
|
"2" = {
|
||||||
|
name = "latex";
|
||||||
|
};
|
||||||
|
"3" = {
|
||||||
|
name = "games";
|
||||||
|
};
|
||||||
|
"4" = {
|
||||||
|
name = "discord";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"2" = {
|
|
||||||
name = "code";
|
window-rules = [
|
||||||
};
|
# Kitty lancé spécifiquement pour la session LaTeX -> 0.7, sans bordure/gaps
|
||||||
"3" = {
|
{
|
||||||
name = "chat";
|
matches = [ { app-id = "^kitty-latex$"; } ];
|
||||||
|
open-on-workspace = "latex";
|
||||||
|
open-maximized = true; # <- corrigé
|
||||||
|
default-column-width.proportion = 0.7;
|
||||||
|
border.enable = false;
|
||||||
|
focus-ring.enable = false;
|
||||||
|
}
|
||||||
|
# Zathura -> 0.3, sans bordure/gaps
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ app-id = "^org\\.pwmt\\.zathura$"; }
|
||||||
|
{ app-id = "^zathura$"; }
|
||||||
|
];
|
||||||
|
open-on-workspace = "latex";
|
||||||
|
open-maximized = true; # <- corrigé
|
||||||
|
default-column-width.proportion = 0.3;
|
||||||
|
border.enable = false;
|
||||||
|
focus-ring.enable = false;
|
||||||
|
}
|
||||||
|
# Steam -> workspace games
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ app-id = "^steam$"; }
|
||||||
|
{ app-id = "^steam_app.*"; }
|
||||||
|
];
|
||||||
|
open-on-workspace = "games";
|
||||||
|
}
|
||||||
|
# Vesktop -> workspace discord
|
||||||
|
{
|
||||||
|
matches = [ { app-id = "^[Vv]esktop$"; } ];
|
||||||
|
open-on-workspace = "discord";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
binds = {
|
||||||
|
"Alt+1".action.spawn = [
|
||||||
|
"sh"
|
||||||
|
"-c"
|
||||||
|
''niri msg action focus-workspace "web"; notify-send -a niri -u low -t 900 "web" || true''
|
||||||
|
];
|
||||||
|
"Alt+2".action.spawn = [
|
||||||
|
"sh"
|
||||||
|
"-c"
|
||||||
|
''niri msg action focus-workspace "latex"; notify-send -a niri -u low -t 900 "latex" || true''
|
||||||
|
];
|
||||||
|
"Alt+3".action.spawn = [
|
||||||
|
"sh"
|
||||||
|
"-c"
|
||||||
|
''niri msg action focus-workspace "games"; notify-send -a niri -u low -t 900 "games" || true''
|
||||||
|
];
|
||||||
|
"Alt+4".action.spawn = [
|
||||||
|
"sh"
|
||||||
|
"-c"
|
||||||
|
''niri msg action focus-workspace "discord"; notify-send -a niri -u low -t 900 "discord" || true''
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
brightnessctl
|
brightnessctl
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
libnotify
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
23
home/afoucaultc/shared.nix
Normal file
23
home/afoucaultc/shared.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./packages/btop.nix
|
||||||
|
./packages/firefox.nix
|
||||||
|
./packages/git.nix
|
||||||
|
./packages/security.nix
|
||||||
|
./packages/hyprland.nix
|
||||||
|
./packages/kitty.nix
|
||||||
|
./packages/mpv.nix
|
||||||
|
./packages/neovim.nix
|
||||||
|
./packages/niri/niri.nix
|
||||||
|
./packages/nextcloud.nix
|
||||||
|
./packages/mako.nix
|
||||||
|
./packages/python.nix
|
||||||
|
./packages/texlive.nix
|
||||||
|
./packages/thunderbird.nix
|
||||||
|
./packages/tmux.nix
|
||||||
|
./packages/zathura.nix
|
||||||
|
./packages/zen.nix
|
||||||
|
./packages/zsh.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -2,5 +2,8 @@
|
||||||
{
|
{
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
programs.niri.package = pkgs.niri;
|
programs.niri.package = pkgs.niri;
|
||||||
systemd.user.services.niri.enableDefaultPath = false;
|
systemd.user.services.niri = {
|
||||||
|
enableDefaultPath = false;
|
||||||
|
overrideStrategy = "asDropin";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
# for niri
|
|
||||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --remember-user-session --cmd ${config.programs.niri.package}/bin/niri";
|
command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --remember-user-session --cmd ${config.programs.niri.package}/bin/niri";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.mullvad-vpn.gui = {
|
services.mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.mullvad-vpn;
|
gui = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.mullvad-vpn;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,12 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.protonmail-bridge.serviceConfig = {
|
systemd.user.services.protonmail-bridge = {
|
||||||
ExecStartPre = "${pkgs.bash}/bin/bash -c 'until ${pkgs.systemd}/bin/busctl --user list | grep -q org.freedesktop.secrets; do sleep 1; done'";
|
after = [ "gnome-keyring.service" ];
|
||||||
RestartSec = "10s";
|
wants = [ "gnome-keyring.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStartPre = "${pkgs.bash}/bin/bash -c 'until ${pkgs.systemd}/bin/busctl --user list | grep -q org.freedesktop.secrets; do sleep 1; done'";
|
||||||
|
RestartSec = "10s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,15 @@
|
||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
};
|
};
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
# affichage logs
|
||||||
|
boot = {
|
||||||
|
consoleLogLevel = 3;
|
||||||
|
initrd.verbose = false;
|
||||||
|
kernelParams = [
|
||||||
|
"quiet"
|
||||||
|
"udev.log_level=3"
|
||||||
|
"rd.udev.log_level=3"
|
||||||
|
"rd.systemd.show_status=auto"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,16 @@
|
||||||
configurationLimit = 5;
|
configurationLimit = 5;
|
||||||
};
|
};
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
# affichage logs
|
||||||
|
boot = {
|
||||||
|
consoleLogLevel = 3;
|
||||||
|
initrd.verbose = false;
|
||||||
|
kernelParams = [
|
||||||
|
"quiet"
|
||||||
|
"udev.log_level=3"
|
||||||
|
"rd.udev.log_level=3"
|
||||||
|
"rd.systemd.show_status=auto"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue