mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 15:16:23 +01:00
make various improvements and set up email thingsies
This commit is contained in:
parent
5b690d3233
commit
c2757356ac
|
@ -2,7 +2,8 @@
|
|||
description = "system";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "nixpkgs/nixos-22.11";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
|
|
|
@ -50,7 +50,7 @@ in with lib; {
|
|||
./networking.nix
|
||||
./polybar.nix
|
||||
./social.nix
|
||||
./xkeysnail.nix
|
||||
#./xkeysnail.nix
|
||||
./mail.nix
|
||||
./specific-hardware
|
||||
]).content;
|
||||
|
@ -62,6 +62,14 @@ in with lib; {
|
|||
nerdfonts montserrat noto-fonts atkinson-hyperlegible
|
||||
];
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-mozc
|
||||
fcitx5-gtk
|
||||
];
|
||||
};
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.keyboard.uhk.enable = true;
|
||||
#hardware.spacenavd.enable = true;
|
||||
|
@ -70,10 +78,6 @@ in with lib; {
|
|||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
#theme = "glow";
|
||||
};
|
||||
services = {
|
||||
printing.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
|
|
|
@ -1,12 +1,67 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.jade.desktop.mail;
|
||||
let
|
||||
cfg = config.jade.desktop.mail;
|
||||
imap = {
|
||||
host = "imap.migadu.com";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.migadu.com";
|
||||
port = 465;
|
||||
tls.enable = true;
|
||||
};
|
||||
in with lib; {
|
||||
options.jade.desktop.mail = {
|
||||
enable = mkEnableOption "Enable thunderbird mail stuff";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.jade = { pkgs, ... }: {
|
||||
accounts.email.accounts = {
|
||||
"Jade" = rec {
|
||||
inherit imap smtp;
|
||||
address = "jade@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "Jade";
|
||||
thunderbird.enable = true;
|
||||
primary = true;
|
||||
};
|
||||
"Logins" = rec {
|
||||
inherit imap smtp;
|
||||
address = "logins@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "Logins";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
"Contact" = rec {
|
||||
inherit imap smtp;
|
||||
address = "contact@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "Jade";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
"Schule" = rec {
|
||||
inherit imap smtp;
|
||||
address = "schule@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "Jade";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
"Admin" = rec {
|
||||
inherit imap smtp;
|
||||
address = "admin@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "admin";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
"CatchAll" = rec {
|
||||
inherit imap smtp;
|
||||
address = "catchall@schrottkatze.de";
|
||||
userName = address;
|
||||
realName = "Catch all";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles.jade = {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
4983
other/0001-fomx.patch
Normal file
4983
other/0001-fomx.patch
Normal file
File diff suppressed because one or more lines are too long
3363
other/assets/logo_linux_clut224.ppm
Normal file
3363
other/assets/logo_linux_clut224.ppm
Normal file
File diff suppressed because it is too large
Load diff
76804
other/assets/xenia.pnm
Normal file
76804
other/assets/xenia.pnm
Normal file
File diff suppressed because it is too large
Load diff
BIN
other/assets/xenia.xcf
Normal file
BIN
other/assets/xenia.xcf
Normal file
Binary file not shown.
|
@ -28,6 +28,30 @@
|
|||
# ];
|
||||
# };
|
||||
|
||||
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;
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "fomx";
|
||||
patch = ../other/0001-fomx.patch;
|
||||
}
|
||||
];
|
||||
|
||||
jade = {
|
||||
flatpak.enable = true;
|
||||
desktop = {
|
||||
|
|
Loading…
Reference in a new issue