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; [ environment.systemPackages = with pkgs; [
ghostty.outputs.packages.${pkgs.system}.ghostty
fw-ectool fw-ectool
(writeShellApplication (writeShellApplication
{ {

View file

@ -1211,23 +1211,23 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
niri niri
fuzzel fuzzel
xdg-desktop-portal-gnome # xdg-desktop-portal-gnome
xdg-desktop-portal-gtk # xdg-desktop-portal-gtk
]; ];
services.gnome-keyring.enable = true; services.gnome-keyring.enable = true;
xdg.portal = { # xdg.portal = {
enable = true; # enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-gnome]; # extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-gnome];
config = { # config = {
common = { # common = {
default = ["gtk"]; # default = ["gtk"];
}; # };
niri = { # niri = {
default = ["gtk"]; # default = ["gtk"];
}; # };
}; # };
}; # };
home.file."${config.xdg.configHome}/niri" = { home.file."${config.xdg.configHome}/niri" = {
source = config.lib.file.mkOutOfStoreSymlink /etc/nix/flake/modules/home-manager/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: // Check the wiki for a full description of the configuration:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Overview // 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. // Input device configuration.
// Find the full list of options on the wiki: // Find the full list of options on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input // 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; programs.dconf.enable = pkgs.lib.mkDefault true;
fonts.enableDefaultPackages = pkgs.lib.mkDefault true; fonts.enableDefaultPackages = pkgs.lib.mkDefault true;
security.polkit.enable = true; security.polkit.enable = true;
@ -275,6 +275,8 @@
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
aria2 aria2
iputils
inetutils
curl curl
dua dua
bat bat