More stuff to enable
This commit is contained in:
parent
f392432d32
commit
1f5727930f
|
@ -29,8 +29,8 @@
|
|||
]);
|
||||
|
||||
# Graphical set up
|
||||
# linux.graphical.type = "wayland";
|
||||
# linux.graphical.wallpaper = ./images/wallpaper_0.png;
|
||||
linux.graphical.type = "x11";
|
||||
linux.graphical.wallpaper = ./images/wallpaper_0.png;
|
||||
# Enable sway
|
||||
# programs.my-sway.enable = true;
|
||||
# programs.my-sway.fontSize = 14.0;
|
||||
|
@ -47,6 +47,17 @@
|
|||
nki.programs.kitty = {
|
||||
enable = true;
|
||||
fontSize = 16;
|
||||
enableTabs = true;
|
||||
};
|
||||
|
||||
home.file.".gnupg/gpg-agent.conf" = {
|
||||
text = ''
|
||||
pinentry-program ${pkgs.kwalletcli}/bin/pinentry-kwallet
|
||||
'';
|
||||
onChange = ''
|
||||
echo "Reloading gpg-agent"
|
||||
echo RELOADAGENT | gpg-connect-agent
|
||||
'';
|
||||
};
|
||||
|
||||
# Multiple screen setup
|
||||
|
|
|
@ -24,6 +24,14 @@
|
|||
# boot.kernelBuildIsCross = true;
|
||||
boot.kernelBuildIs16K = false;
|
||||
|
||||
boot.kernelPatches = [{
|
||||
name = "enable_uinput";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
CONFIG_INPUT_UINPUT m
|
||||
'';
|
||||
}];
|
||||
|
||||
networking.hostName = "kagami-air-m1"; # Define your hostname.
|
||||
|
||||
# networking.hostName = "nixos"; # Define your hostname.
|
||||
|
@ -59,7 +67,6 @@
|
|||
services.xserver.enable = true;
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
|
||||
|
||||
# Configure keymap in X11
|
||||
# services.xserver.layout = "jp106";
|
||||
# services.xserver.xkbOptions = {
|
||||
|
@ -72,10 +79,20 @@
|
|||
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
# alsa is optional
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.xserver.libinput.enable = true;
|
||||
# Keyboard
|
||||
services.input-remapper.enable = true;
|
||||
hardware.uinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.nki = {
|
||||
|
@ -122,6 +139,7 @@
|
|||
#
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
|
||||
# PAM
|
||||
security.pam.services.lightdm.enableKwallet = true;
|
||||
security.pam.services.lightdm.enableGnomeKeyring = true;
|
||||
|
|
Loading…
Reference in a new issue