make various improvements and set up email thingsies

This commit is contained in:
Schrottkatze 2023-04-12 14:14:47 +02:00
parent 5b690d3233
commit c2757356ac
10 changed files with 85278 additions and 13 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, ... }:
{ inputs, config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
@ -10,6 +10,24 @@
../modules
];
nixpkgs = {
overlays = [
(self: super: {
linux_zen_xeniafied = pkgs.linuxPackagesFor (pkgs.linuxKernel.kernels.linux_zen.override {
structuredExtraConfig = with lib.kernel; {
#"FB" = yes;
#"FRAMEBUFFER_CONSOLE" = yes;
#"VGA_CONSOLE" = yes;
#"VIDEO_SELECT" = yes;
LOGO = lib.mkForce yes;
LOGO_LINUX_CLUT224 = yes;
};
ignoreConfigErrors = true;
});
})
];
};
jade = {
flatpak.enable = true;
desktop = {
@ -22,6 +40,7 @@
social.enable = true;
gaming.enable = true;
ios-compat.enable = true;
mail.enable = true;
};
terminal.enable = true;
neovim.enable = true;
@ -35,8 +54,16 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# latest linux kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.kernelModules = [ "amdgpu" ];
#boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linux_zen_xeniafied;
boot.kernelPatches = [
{
name = "fomx";
patch = ../other/0001-fomx.patch;
}
];
programs.corectrl.enable = true;
networking.hostName = "monosodium-glutamate-g";
@ -52,10 +79,16 @@
# missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [
# TODO: clean up.
nvtop-amd
libGL
libreoffice-fresh
wireshark
zenstates zenmonitor
nvtop-amd
radeontop
rgp
];
programs.wireshark.enable = true;
environment.pathsToLink = [
"/share/nix-direnv"

View file

@ -44,6 +44,4 @@
# networking.interfaces.wlp9s0.useDHCP = lib.mkDefault true;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
}