Stuff
Some checks failed
/ check (push) Failing after 1m45s

This commit is contained in:
Daniel Flanagan 2025-02-04 12:49:44 -06:00
parent b2671bb298
commit 28b5e266e1
3 changed files with 41 additions and 1 deletions

View file

@ -1211,8 +1211,24 @@
home.packages = with pkgs; [
niri
fuzzel
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
services.gnome-keyring.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-gnome];
config = {
common = {
default = ["gtk"];
};
niri = {
default = ["gtk"];
};
};
};
home.file."${config.xdg.configHome}/niri" = {
source = config.lib.file.mkOutOfStoreSymlink /etc/nix/flake/modules/home-manager/niri;
};

View file

@ -111,7 +111,7 @@ layout {
// - "always", the focused column will always be centered.
// - "on-overflow", focusing a column will center it if it doesn't fit
// together with the previously focused column.
center-focused-column "always"
center-focused-column "never"
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
preset-column-widths {

View file

@ -18,6 +18,30 @@
# TODO: include the home-manager modules for daniel?
};
niri = {pkgs, ...}: {
environment.systemPackages = with pkgs; [niri];
systemd.user.services.polkit = {
description = "PolicyKit Authentication Agent";
wantedBy = ["niri.service"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
security.pam.services.swaylock = {};
programs.dconf.enable = pkgs.lib.mkDefault true;
fonts.enableDefaultPackages = pkgs.lib.mkDefault true;
security.polkit.enable = true;
services.gnome.gnome-keyring.enable = true;
};
hyprland = {pkgs, ...}: {
imports = with nixosModules; [
ewwbar