Zellij and some other things

This commit is contained in:
Schrottkatze 2023-05-14 12:07:54 +02:00
parent abe737683b
commit f2689e9de0
5 changed files with 98 additions and 38 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ inputs, config, pkgs, lib, ... }:
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
@ -42,42 +42,56 @@
ios-compat.enable = true;
mail.enable = true;
};
zellij.enable = true;
terminal.enable = true;
neovim.enable = true;
helix.enable = true;
zsh.enable = true;
};
boot = {
loader = {
# monitor control
services.ddccontrol.enable = true;
# Use the systemd-boot EFI boot loader.
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# latest linux kernel
#boot.kernelPackages = pkgs.linuxPackages_latest;
#boot.kernelPackages = pkgs.linux_zen_xeniafied;
kernelPackages = pkgs.linuxPackages_zen;
#boot.kernelPatches = [
#{
#name = "fomx";
#patch = ../other/0001-fomx.patch;
#}
#];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# latest linux kernel
#boot.kernelPackages = pkgs.linuxPackages_latest;
#boot.kernelPackages = pkgs.linux_zen_xeniafied;
boot.kernelPackages = pkgs.linuxPackages_zen;
#boot.kernelPatches = [
#{
#name = "fomx";
#patch = ../other/0001-fomx.patch;
#}
#];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
programs.corectrl.enable = true;
binfmt.emulatedSystems = [ "aarch64-linux" ];
};
networking.hostName = "monosodium-glutamate-g";
services = {
services.xserver.layout = "us";
services.xserver.xkbVariant = "altgr-intl";
# monitor control
ddccontrol.enable = true;
xserver = {
services.openssh.settings.PermitRootLogin = "without-password";
layout = "us";
xkbVariant = "altgr-intl";
enable = true;
};
hardware.bluetooth.enable = true;
hardware.keyboard.uhk.enable = true;
hardware.enableRedistributableFirmware = true;
openssh.settings.PermitRootLogin = "without-password";
blueman.enable = true;
gnome.gnome-keyring.enable = true;
};
hardware = {
bluetooth.enable = true;
keyboard.uhk.enable = true;
enableRedistributableFirmware = true;
};
# missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [
@ -92,16 +106,15 @@
rgp
tea
];
programs.wireshark.enable = true;
programs = {
corectrl.enable = true;
wireshark.enable = true;
seahorse.enable = true;
};
environment.pathsToLink = [
"/share/nix-direnv"
];
services.blueman.enable = true;
services.gnome.gnome-keyring.enable = true;
programs.seahorse.enable = true;
security.pam.services.jade.enableGnomeKeyring = true;
# Copy the NixOS configuration file and link it from the resulting system
@ -111,7 +124,6 @@
# networking.firewall.allowedTCPPorts = [ 4713 ];
systemd.services."NetworkManager-wait-online".enable = false;
services.xserver.enable = true;
systemd.services = {
create-swapfile = {