add gh-cli
This commit is contained in:
parent
ab917700ee
commit
5b46a0b217
30 changed files with 680 additions and 356 deletions
|
|
@ -2,11 +2,14 @@
|
|||
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.kernelParams = ["nvidia-drm.fbdev=1" "nvidia.NVreg_PreserveVideoMemoryAllocations=1"];
|
||||
boot.extraModprobeConfig = ''
|
||||
options hid_apple fnmode=2
|
||||
options nvidia_drm modeset=1 dbdev=1
|
||||
'';
|
||||
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.kernelModules = [ "nvidia" "i915" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ];
|
||||
boot.swraid.enable = true;
|
||||
boot.swraid.mdadmConf =
|
||||
"\n MAILADDR smitty\n ARRAY /dev/md126 metadata=1.2 name=stuff:0\n UUID=3b0b7c51-2681-407e-a22a-e965a8aeece7\n ";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; } ;
|
||||
};
|
||||
|
||||
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Force intel-media-driver
|
||||
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
|
|
@ -15,7 +14,6 @@
|
|||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,8 +8,11 @@
|
|||
hyprpaper
|
||||
hyprshot
|
||||
kitty
|
||||
|
||||
# Notification
|
||||
libnotify
|
||||
mako
|
||||
swaynotificationcenter
|
||||
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
swayidle
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# Browser
|
||||
firefox
|
||||
opera
|
||||
|
||||
# Utils
|
||||
bat
|
||||
|
|
@ -25,6 +24,7 @@
|
|||
|
||||
# Dev
|
||||
git
|
||||
gh # Github cli tool
|
||||
gnumake
|
||||
lm_sensors
|
||||
libsForQt5.qt5.qtquickcontrols2
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
systemd = {
|
||||
user.services.polkit-gnome-authentication-agent-1 = {
|
||||
enable = true;
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
wants = [ "graphical-session.target" ];
|
||||
|
|
@ -20,6 +21,6 @@
|
|||
DefaultTimeoutStopSec=10s
|
||||
'';
|
||||
};
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
environment.systemPackages = with pkgs; [ polkit polkit_gnome ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@
|
|||
security.polkit.enable = true;
|
||||
security.pam.services.swaylock = { };
|
||||
security.pam.services.swaylock.fprintAuth = false;
|
||||
security.pam.services.sddm.enableGnomeKeyring = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue