wip - fixes to import and config location

This commit is contained in:
2025-01-30 10:54:27 +01:00
parent 1cd68c8ce1
commit 5c79c29b7d
10 changed files with 110 additions and 109 deletions

View File

@@ -1,19 +1,24 @@
{ lib, ... }: {
{ lib, pkgs, ... }: {
services.flatpak.enable = true;
services.flatpak.update.auto.enable = false;
services.flatpak.uninstallUnmanaged = false;
# services.flatpak.enable = true;
# xdg.portal.enable = true;
# # install the xdg-desktop-portal-gtk package
# # to enable the portal service
# xdg.portal.extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
# ];
# services.flatpak.update.auto.enable = false;
# services.flatpak.uninstallUnmanaged = false;
services.flatpak.packages = [
"com.calibre_ebook.calibre"
"com.github.flxzt.rnote"
"com.github.tchx84.Flatseal"
"com.spotify.Client"
"io.podman_desktop.PodmanDesktop"
"org.pipewire.Helvum"
"io.github.zen_browser.zen"
"im.riot.Riot"
];
# services.flatpak.packages = [
# "com.calibre_ebook.calibre"
# "com.github.flxzt.rnote"
# "com.github.tchx84.Flatseal"
# "com.spotify.Client"
# "io.podman_desktop.PodmanDesktop"
# "org.pipewire.Helvum"
# "io.github.zen_browser.zen"
# "im.riot.Riot"
# ];
}

View File

@@ -1,8 +1,10 @@
{inputs, pkgs, ...}:
{
programs.kitty.enable = true;
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = true;
settings = {
"$mod" = "SUPER";
bind =
@@ -10,33 +12,65 @@
"$mod, F, exec, firefox"
"$mod, return, exec, walker"
"$mod_SHIFT, return, exec, kitty"
"$mod_SHIFT, q, kill"
"$mod, s, exec, code"
];
# plugin.virtual-desktops = {
general = {
gaps_in = 5;
gaps_out = 5;
border_size = 1;
};
misc = {
disable_hyprland_logo = true;
};
# }
exec-once = [
"${pkgs.hyprpanel}/bin/hyprpanel"
];
input = {
kb_layout = "de";
};
decoration = {
rounding = 5;
};
# plugin.virtual-desktops = {}
};
plugins = [
# Touch gestures: https://github.com/horriblename/hyprgrass
inputs.hyprgrass.packages.${pkgs.system}.default
# inputs.hyprgrass.packages.${pkgs.system}.default
# Virtual desktops: https://github.com/levnikmyskin/hyprland-virtual-desktops
# inputs.hyprland-virtual-desktops.packages.${pkgs.system}.virtual-desktops
];
};
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
# the overlay makes this available as a home manager module
programs.hyprpanel = {
enable = true;
hyprland.enable = true;
overwrite.enable = true;
overlay.enable = true;
settings = {
bar = {
clock.format = "%H:%M";
clock.showIcon = false;
launcher.icon = "🚀";
};
};
# Add custom widgets + styling
};
programs.walker = {
enable = true;
runAsService = true;
# All options from the config.json can be used here.
config = {
search.placeholder = "Example";
search.placeholder = "Search";
ui.fullscreen = true;
list = {
height = 200;
@@ -53,8 +87,21 @@
# '';
};
# # Set waybar config
# ".config/waybar/config".text = ''
# ''
programs.hyprlock = {
enable = true;
settings = {
general = {
grace = 5;
no_fade_in = false;
disable_loading_bar = false;
};
};
# Style the lock screen
};
services.network-manager-applet = {
enable = true;
};
}