2023-07-10 10:17:10 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
2023-12-29 16:43:40 +01:00
|
|
|
[
|
|
|
|
# Include the results of the hardware scan.
|
2023-07-10 10:17:10 +02:00
|
|
|
./hardware.nix
|
|
|
|
];
|
|
|
|
|
2023-12-29 16:43:40 +01:00
|
|
|
jopejoe1 = {
|
|
|
|
audio = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
bluetooth.enable = true;
|
|
|
|
local.enable = true;
|
|
|
|
nix.enable = true;
|
|
|
|
plasma.enable = true;
|
|
|
|
printing.enable = true;
|
|
|
|
jopejoe1.enable = true;
|
|
|
|
root.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-07-10 10:17:10 +02:00
|
|
|
networking.hostName = "yokai";
|
2023-07-10 10:35:40 +02:00
|
|
|
networking.hostId = "af13bbec";
|
2023-07-10 10:17:10 +02:00
|
|
|
|
|
|
|
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
|
|
|
|
|
|
|
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
|
|
|
|
2023-07-10 10:27:44 +02:00
|
|
|
hardware.opengl.enable = true;
|
2023-07-10 10:17:10 +02:00
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
2023-12-29 16:43:40 +01:00
|
|
|
networking.networkmanager.ensureProfiles.profiles = {
|
|
|
|
"37C3" = {
|
|
|
|
connection = {
|
|
|
|
id = "37C3";
|
|
|
|
type = "wifi";
|
|
|
|
interface-name = "wlan0";
|
|
|
|
};
|
|
|
|
wifi = {
|
|
|
|
mode = "infrastructure";
|
|
|
|
ssid = "37C3";
|
|
|
|
};
|
|
|
|
wifi-security = {
|
|
|
|
auth-alg = "open";
|
|
|
|
key-mgmt = "wpa-eap";
|
|
|
|
};
|
|
|
|
"802-1x" = {
|
|
|
|
anonymous-identity = "37C3";
|
|
|
|
eap = "ttls;";
|
|
|
|
identity = "37C3";
|
|
|
|
password = "37C3";
|
|
|
|
phase2-auth = "mschapv2";
|
|
|
|
};
|
|
|
|
ipv4 = {
|
|
|
|
method = "auto";
|
|
|
|
};
|
|
|
|
ipv6 = {
|
|
|
|
addr-gen-mode = "default";
|
|
|
|
method = "auto";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2023-07-10 10:17:10 +02:00
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
git
|
|
|
|
|
|
|
|
# Theming
|
|
|
|
catppuccin-kvantum
|
|
|
|
catppuccin-kde
|
|
|
|
catppuccin-gtk
|
|
|
|
tela-icon-theme
|
|
|
|
|
|
|
|
# Fonts
|
2023-07-10 17:59:01 +02:00
|
|
|
#google-fonts
|
2023-07-10 10:17:10 +02:00
|
|
|
noto-fonts
|
|
|
|
noto-fonts-emoji
|
|
|
|
noto-fonts-cjk-sans
|
|
|
|
noto-fonts-cjk-serif
|
|
|
|
noto-fonts-emoji-blob-bin
|
2023-07-10 17:59:01 +02:00
|
|
|
#nerdfonts
|
|
|
|
#league-of-moveable-type
|
2023-07-10 10:17:10 +02:00
|
|
|
twitter-color-emoji
|
|
|
|
];
|
|
|
|
|
|
|
|
services.flatpak.enable = true;
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
droidcam.enable = true;
|
|
|
|
dconf.enable = true;
|
|
|
|
xwayland.enable = true;
|
|
|
|
kdeconnect.enable = true;
|
|
|
|
};
|
|
|
|
console = {
|
|
|
|
enable = true;
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
services.xserver = {
|
|
|
|
layout = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader = {
|
|
|
|
grub.enable = false;
|
2023-07-10 10:25:15 +02:00
|
|
|
generic-extlinux-compatible.enable = true;
|
2023-07-10 10:17:10 +02:00
|
|
|
systemd-boot.configurationLimit = 10;
|
|
|
|
systemd-boot.editor = false;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|