parent
28b5e266e1
commit
2f9200826d
4 changed files with 22 additions and 16 deletions
|
@ -504,7 +504,6 @@
|
|||
];
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
ghostty.outputs.packages.${pkgs.system}.ghostty
|
||||
fw-ectool
|
||||
(writeShellApplication
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue