Lil niri
Some checks failed
/ check (push) Failing after 1m44s

This commit is contained in:
Daniel Flanagan 2025-02-10 09:53:07 -06:00
parent 28b5e266e1
commit 2f9200826d
4 changed files with 22 additions and 16 deletions

View file

@ -504,7 +504,6 @@
];
};
environment.systemPackages = with pkgs; [
ghostty.outputs.packages.${pkgs.system}.ghostty
fw-ectool
(writeShellApplication
{

View file

@ -1211,23 +1211,23 @@
home.packages = with pkgs; [
niri
fuzzel
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
# 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"];
};
};
};
# 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

@ -3,6 +3,11 @@
// Check the wiki for a full description of the configuration:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Overview
switch-events {
lid-close { spawn "swaylock"; }
// lid-open { spawn "notify-send" "The laptop lid is open!"; }
}
// Input device configuration.
// Find the full list of options on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input

View file

@ -35,7 +35,7 @@
};
};
security.pam.services.swaylock = {};
# security.pam.services.swaylock = {};
programs.dconf.enable = pkgs.lib.mkDefault true;
fonts.enableDefaultPackages = pkgs.lib.mkDefault true;
security.polkit.enable = true;
@ -275,6 +275,8 @@
};
systemPackages = with pkgs; [
aria2
iputils
inetutils
curl
dua
bat