halfway between the gutter and the stars

This commit is contained in:
atagen 2023-03-18 00:24:09 +11:00
parent aeaf4697f7
commit 765e7a891e
7 changed files with 195 additions and 49 deletions

View file

@ -1,6 +1,15 @@
{ config, pkgs, ... }:
{
let
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
hyprland = (import flake-compat {
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz";
}).defaultNix;
in {
imports = [
hyprland.homeManagerModules.default
];
nixpkgs.overlays = [
(self: super: {
@ -18,22 +27,43 @@
nicotine-plus
];
wayland.windowManager.sway = {
enable = true;
config = rec {
modifier = "Mod4";
terminal = "kitty";
gaps = {
inner = 15;
outer = 30;
};
};
wrapperFeatures = {
base = true;
gtk= true;
};
};
wayland.windowManager.hyprland = {
enable = true;
extraConfig = ''
bind = SUPER, Return, exec, kitty
'';
};
systemd.user.startServices = true;
systemd.user.services."com.system76.Scheduler.dbusproxy" = {
Unit = {
Description = "the system76 process scheduler kwin dbus proxy";
Requires = [ "dbus.service" ];
};
Install = {
WantedBy = [ "graphical-session.target" "default.target" ];
};
Service = {
ExecStart = ''${pkgs.kwin-system76-scheduler-integration}/bin/kwin-system76-scheduler-dbus-proxy.sh'';
};
};
}