Files
nixos-flake/hosts/waku/default.nix

102 lines
2.0 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../profiles/base.nix
../../profiles/desktop.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.tmp.cleanOnBoot = true;
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
};
libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu = {
swtpm.enable = true;
};
};
spiceUSBRedirection.enable = true;
};
services.ollama = {
enable = true;
acceleration = "rocm";
};
services.n8n = {
enable = true;
};
services.open-webui = {
enable = true;
port = 11111;
};
services.fprintd.enable = true;
services.xserver.windowManager.i3.enable = true;
services.xserver.resolutions = [ {x = 2560; y = 1600; } ];
services.desktopManager.gnome.enable = true;
services.gnome = {
core-apps.enable = false;
core-developer-tools.enable = false;
games.enable = false;
};
environment.gnome.excludePackages = with pkgs; [
gnome-tour
gnome-user-docs
];
services.flatpak.enable = true;
xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-xapp
kdePackages.xdg-desktop-portal-kde
];
programs.steam = {
enable = true;
#extest.enable = true;
fontPackages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
];
};
environment.systemPackages = (with pkgs; [
vim
tmux
saleae-logic-2
]) ++ (with pkgs.gnomeExtensions; [
kiwi-menu
blur-my-shell
forge
vibe-panel
dash-to-dock
]);
nixpkgs.config.allowUnfree = true;
networking.hostName = "wakugumi-hitoroku";
networking.firewall.enable = true;
system.stateVersion = "25.11";
}