mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
85 lines
1.9 KiB
Nix
85 lines
1.9 KiB
Nix
{ config, lib, pkgs, inputs, system, ... }:
|
|
let cfg = config.mods;
|
|
|
|
in {
|
|
# Hardware
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
environment.systemPackages = with inputs.nix-alien.packages.${system};
|
|
[ nix-alien ];
|
|
|
|
# System
|
|
mods.user.name = "muon";
|
|
networking.hostName = cfg.user.name;
|
|
networking.hostId = "a230906f";
|
|
mods.home.file = ./home.nix;
|
|
|
|
# Modules
|
|
mods.desktop.enable = true;
|
|
mods.desktop.wayland.enable = false;
|
|
mods.desktop.gaming.enable = true;
|
|
mods.boot.enable = true;
|
|
|
|
mods.theme.enable = true;
|
|
mods.theme.scheme = "woodland";
|
|
mods.theme.wallpaper = ./wallpaper.png;
|
|
|
|
mods.containers.steam.enable = false;
|
|
mods.server.astral.enable = false;
|
|
mods.server.astral.autoStart = false;
|
|
|
|
mods.docker.enable = true;
|
|
mods.docker.media.enable = false;
|
|
|
|
mods.server.sync.enable = true;
|
|
mods.tailscale.enable = true;
|
|
mods.openvpn.enable = false;
|
|
mods.wireguard.id = 2;
|
|
mods.i2p.enable = true;
|
|
|
|
mods.server.homebox.enable = true;
|
|
mods.server.nginx.ports.homebox = 3002;
|
|
|
|
services.xserver.windowManager.i3.enable = true;
|
|
services.actual.enable = true;
|
|
|
|
virtualisation.virtualbox.host.enable = true;
|
|
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
|
|
|
|
# Proprietary </3
|
|
mods.unfree.steam.enable = true;
|
|
mods.unfree.nvidia.enable = true;
|
|
mods.unfree.minecraft.enable = true;
|
|
|
|
# Hardware preferences
|
|
|
|
## Mouse
|
|
services.libinput.mouse.accelProfile = "flat";
|
|
|
|
## Monitors
|
|
mods.monitors = {
|
|
primary = {
|
|
name = "DP-2";
|
|
config = {
|
|
enable = true;
|
|
mode = "2560x1440";
|
|
position = "0x480";
|
|
primary = true;
|
|
rate = "144.00";
|
|
};
|
|
};
|
|
secondary = {
|
|
name = "HDMI-1";
|
|
config = {
|
|
enable = true;
|
|
mode = "1920x1080";
|
|
position = "2560x0";
|
|
rate = "60.00";
|
|
rotate = "right";
|
|
};
|
|
};
|
|
};
|
|
|
|
# Version of first install
|
|
system.stateVersion = "23.05";
|
|
}
|