Compare commits
No commits in common. "540f7d07e9069b8edf234ec033583408cfed8fe7" and "79c3c68a943283a5a005df2496e186c8f487e5eb" have entirely different histories.
540f7d07e9
...
79c3c68a94
|
@ -1 +1 @@
|
||||||
{ pkgs, ... }: { environment.systemPackages = with pkgs; [ btop borgbackup ]; }
|
{ pkgs, ... }: { environment.systemPackages = with pkgs; [ htop borgbackup ]; }
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
feh # image viewer
|
feh # image viewer
|
||||||
gnome.nautilus # file explorer
|
gnome.nautilus # file explorer
|
||||||
grim # screenshot utils
|
grim # screenshot utils
|
||||||
|
htop # replacement for top
|
||||||
jaq # (fast) json utils
|
jaq # (fast) json utils
|
||||||
jmtpfs # for Android MTP
|
jmtpfs # for Android MTP
|
||||||
keepassxc # password manager
|
keepassxc # password manager
|
||||||
|
@ -25,11 +26,13 @@
|
||||||
rsync # better scp
|
rsync # better scp
|
||||||
slurp # region selector
|
slurp # region selector
|
||||||
socat # socket cat
|
socat # socket cat
|
||||||
|
swaybg # wayland background
|
||||||
|
swayidle # wayland idle hooks
|
||||||
|
swaylock # wayland lockscreen
|
||||||
thunderbird # mail client
|
thunderbird # mail client
|
||||||
tmux # terminal multiplexer
|
tmux # terminal multiplexer
|
||||||
webcord-vencord # discord client
|
webcord-vencord # discord client
|
||||||
wl-clipboard # clipboard utils
|
wl-clipboard # clipboard utils
|
||||||
xdg-utils
|
xdg-utils
|
||||||
sysz # better systemctl
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
catppuccin-btop = pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "btop";
|
|
||||||
rev = "c6469190f2ecf25f017d6120bf4e050e6b1d17af";
|
|
||||||
sha256 = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
|
|
||||||
xdg.configFile."btop/themes".source = "${catppuccin-btop}/themes";
|
|
||||||
|
|
||||||
programs.btop = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
theme_background = false;
|
|
||||||
color_theme = "catppuccin_mocha";
|
|
||||||
|
|
||||||
clock_format = "%Y-%m-%d %X";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zsh.shellAliases = { htop = "btop"; };
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,11 +1,4 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports =
|
||||||
./atuin.nix
|
[ ./atuin.nix ./bat.nix ./direnv.nix ./exa.nix ./git.nix ./zsh.nix ];
|
||||||
./bat.nix
|
|
||||||
./btop.nix
|
|
||||||
./direnv.nix
|
|
||||||
./exa.nix
|
|
||||||
./git.nix
|
|
||||||
./zsh.nix
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,11 @@ let
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
imports = [ ./hyprland ./eww ];
|
programs.eww = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.eww-wayland;
|
||||||
|
configDir = ./eww;
|
||||||
|
};
|
||||||
|
|
||||||
services.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -16,61 +20,10 @@ in {
|
||||||
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.swayidle = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemdTarget = "hyprland-session.target";
|
recommendedEnvironment = true;
|
||||||
events = [
|
extraConfig = builtins.readFile ./hyprland.conf;
|
||||||
{
|
|
||||||
event = "after-resume";
|
|
||||||
command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
event = "before-sleep";
|
|
||||||
command = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
timeouts = [
|
|
||||||
{
|
|
||||||
timeout = 120;
|
|
||||||
command = "${pkgs.swaylock-effects}/bin/swaylock -f --grace 3";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 150;
|
|
||||||
command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 300;
|
|
||||||
command = "${pkgs.systemd}/bin/systemctl suspend";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.swaylock = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.swaylock-effects;
|
|
||||||
settings = {
|
|
||||||
image = "/home/laurent/Pictures/wallpapers/kai-oberhauser-unsplash.jpg";
|
|
||||||
|
|
||||||
clock = true;
|
|
||||||
timestr = "%T";
|
|
||||||
datestr = "%F";
|
|
||||||
|
|
||||||
indicator = true;
|
|
||||||
indicator-radius = 100;
|
|
||||||
indicator-thickness = 7;
|
|
||||||
|
|
||||||
effect-blur = "7x5";
|
|
||||||
effect-vignette = "0.5:0.5";
|
|
||||||
|
|
||||||
ring-color = "bb00cc";
|
|
||||||
key-hl-color = "880033";
|
|
||||||
|
|
||||||
line-color = "00000000";
|
|
||||||
inside-color = "00000088";
|
|
||||||
separator-color = "00000000";
|
|
||||||
|
|
||||||
text-color = "fffffff";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
programs.eww = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.eww-wayland;
|
|
||||||
configDir = ./.;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -5,14 +5,7 @@ monitor=eDP-1,1920x1080@120,0x0,1
|
||||||
|
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
# exec-once = env XDG_CACHE_HOME=/tmp eww open bar & \
|
exec-once = env XDG_CACHE_HOME=/tmp eww open bar & swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg & mako & element-desktop & thunderbird & webcord & swayidle -w timeout 100 'swaylock -f --grace 3' timeout 130 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' timeout 300 'systemctl suspend' before-sleep 'swaylock -f' & gnome-keyring-daemon --start --components=secrets
|
||||||
# swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg & \
|
|
||||||
# swayidle -w & \
|
|
||||||
# mako & \
|
|
||||||
# element-desktop & \
|
|
||||||
# thunderbird & \
|
|
||||||
# webcord & \
|
|
||||||
# gnome-keyring-daemon --start --components=secrets
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
@ -89,13 +82,8 @@ gestures {
|
||||||
}
|
}
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
# no thanks
|
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
|
|
||||||
# turn on screen when mouse moves or key is pressed
|
|
||||||
mouse_move_enables_dpms = true
|
|
||||||
key_press_enables_dpms = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Window-Rules/
|
# https://wiki.hyprland.org/Configuring/Window-Rules/
|
|
@ -1,16 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
recommendedEnvironment = true;
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
exec-once=env XDG_CACHE_HOME=/tmp eww open bar
|
|
||||||
exec-once=${pkgs.swaybg}/bin/swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg
|
|
||||||
exec-once=mako
|
|
||||||
exec-once=element-desktop
|
|
||||||
exec-once=thunderbird
|
|
||||||
exec-once=webcord
|
|
||||||
exec-once=gnome-keyring-daemon --start --components=secrets
|
|
||||||
'' + builtins.readFile ./hyprland.conf;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -3,9 +3,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
dockerSocket.enable = true;
|
|
||||||
defaultNetwork.settings.dns_enabled =
|
|
||||||
true; # required by networks in compose
|
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue