mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
83 lines
1.8 KiB
Nix
83 lines
1.8 KiB
Nix
{ config, lib, pkgs, inputs, system, ... }:
|
|
let
|
|
cfg = config.mods;
|
|
|
|
in {
|
|
# Hardware
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
inputs.shabitica.nixosModules."x86_64-linux".default
|
|
inputs.actual.nixosModules.default
|
|
];
|
|
|
|
environment.systemPackages = with inputs.nix-alien.packages.${system}; [
|
|
nix-alien
|
|
];
|
|
|
|
# System
|
|
mods.user.name = "muon";
|
|
networking.hostName = cfg.user.name;
|
|
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.media.enable = true;
|
|
mods.server.astral.enable = true;
|
|
mods.server.astral.autoStart = false;
|
|
|
|
mods.docker.media.enable = false;
|
|
|
|
mods.server.sync.enable = true;
|
|
mods.tailscale.enable = true;
|
|
mods.openvpn.enable = false;
|
|
mods.wireguard.enable = true;
|
|
|
|
services.xserver.windowManager.i3.enable = true;
|
|
services.actual.enable = true;
|
|
|
|
# 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";
|
|
}
|