This commit is contained in:
atagen 2023-03-31 15:43:30 +11:00
parent bc72aada53
commit 917f97a99c
6 changed files with 29 additions and 47 deletions

View file

@ -7,6 +7,7 @@ let
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz";
}).defaultNix;
wlogout_style_base = dots/wlogout/style.css;
wlogout_style = pkgs.runCommandLocal "wlogout_style_base" {wlogpath = lib.strings.escape ["/"] "${pkgs.wlogout}";} ''
cp ${wlogout_style_base} $out
@ -19,7 +20,6 @@ in {
imports = [
hyprland.homeManagerModules.default
../foreign/dotfiles/home/programs/eww/default.nix
../foreign/dotfiles/modules/regreet.nix
];
nixpkgs.overlays = [
@ -35,6 +35,7 @@ in {
colors = builtins.readFile dots/eww/colors.scss;
};
home.username = "bolt";
home.homeDirectory = "/home/bolt";
@ -56,6 +57,7 @@ in {
swayidle
swaynotificationcenter
swayosd
waylock
playerctl
];

View file

@ -1,5 +1,6 @@
exec-once = eww open bar
exec-once = swayidle -w timeout 600 'systemctl suspend' after-resume 'hyprctl dispatch dpms on && eww open bar'
exec-once = swayidle -w timeout 300 'waylock'
exec-once = swayidle -w timeout 600 'systemctl suspend' after-resume 'eww open bar'
exec-once = ckb-next -c -b
exec-once = swaybg -i $HOME/Downloads/fantastyland-dark.png -m fill
exec-once = xrdb -l ~/.Xresources

View file

@ -1,24 +1,36 @@
{
"label" : "lock",
"action" : "waylock",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "d"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "s"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "d"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}

View file

@ -42,7 +42,7 @@ in
lazygit
fzf
# kdeconnect # maybe once i get an android
kdeconnect
keepassxc
direnv
@ -54,19 +54,12 @@ in
meslo-lgs-nf
# libreoffice-qt
libsForQt5.ark
libsForQt5.qtstyleplugin-kvantum
libsForQt5.bismuth
gtk-engine-murrine
plasma-browser-integration
(callPackage ./homepkgs/git-credential-keepassxc.nix { })
(callPackage ./homepkgs/culr.nix { })
# (callPackage ./homepkgs/glpaper.nix { })
];
@ -165,10 +158,10 @@ in
enable = true;
};
services.kdeconnect = {
enable = true;
indicator = true;
};
# services.kdeconnect = {
# enable = true;
# indicator = true;
# };
programs.kitty = {
enable = true;

View file

@ -41,6 +41,7 @@
LIBVA_DRIVER_NAME = "nvidia";
__GL_GSYNC_ALLOWED = "1";
__GL_VRR_ALLOWED = "1";
EDITOR = "hx";
};
environment.pathsToLink = [ "/share/zsh" ];
@ -75,41 +76,20 @@
services.xserver.xkbOptions = "caps:escape";
services.xserver.layout = "us";
services.xserver.libinput.enable = true;
# kde time
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.lightdm.enable = false; # gets installed by default..
# services.xserver.displayManager.sddm = {
# enable = true;
# theme = "${(pkgs.fetchFromGitHub {
# owner = "EricKotato";
# repo = "sddm-slice";
# rev = "763b8f4e01c00c1f8590fc7a103e14f6e8449443";
# sha256 = "sha256-UW53ZdKb3RSrrcZ9GxZsJyjzS/uKR8lkaLLyi+2o27U=";
# })}";
# autoNumlock = true;
# settings = {
# General = {
# InputMethod = "";
# };
# };
# };
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r -g \"what's good\" --time --sessions ${config.services.xserver.displayManager.sessionData.desktops}/share/wayland-sessions";
# export SESSION_DIRS=${config.services.xserver.displayManager.sessionData.desktops}/share/wayland-sessions;
# command = "${pkgs.greetd.regreet}/bin/regreet -l off";
user = "greeter";
};
};
};
security.polkit.enable = true;
services.xserver.desktopManager.plasma5.runUsingSystemd = true;
programs.dconf.enable = true;
xdg.autostart.enable = true;
@ -131,7 +111,6 @@
# jack.enable = true;
};
# gtk compatibility
qt.enable = true;
qt.style = "kvantum";
qt.platformTheme = "qt5ct";
@ -162,10 +141,6 @@
nix-index
comma
river
];
networking.wg-quick.interfaces = {

View file

@ -126,7 +126,6 @@ in {
# };
};
extraPortals = with pkgs; [
xdg-desktop-portal-kde
xdg-desktop-portal-gtk
];
};