Files
nixos-conf/system/yukigekko/configuration.nix
autumn 0f8348d3fe
Some checks failed
Test Flake / test_flake (push) Failing after 24s
Test Flake / dry_build (push) Failing after 25s
Update Flake / update_flake (push) Successful in 8s
add mullvad
2025-12-08 08:31:59 -07:00

130 lines
3.0 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, home-manager, timezone, user, system, locale, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# ../packages/bincache.nix
#system configs
../defaults/boot.nix
../defaults/locale.nix
../defaults/security.nix
../defaults/services.nix
../defaults/system.nix
../defaults/users.nix
../services/mullvad.nix
../services/swaybg.nix
#system packages
../packages/sddm/sddm.nix
#flatpaks
# ../extras/flatpak.nix
];
networking.hostName = "yukigekko"; # Define your hostname.
networking.networkmanager.enable = true;
networking.extraHosts = ''
10.0.0.217 hoardfrost
'';
services.logind.lidSwitchExternalPower = "ignore";
services.blueman.enable = true;
time.timeZone = "${timezone}";
programs.river-classic.enable = true;
programs.niri.enable = true;
xdg.portal = {
enable = true;
config.common.default = "*";
extraPortals = [
pkgs.kdePackages.xdg-desktop-portal-kde
];
};
programs.firefox.enable = true;
programs.zsh.enable = true;
programs.appimage.enable = true;
# programs.openvpn3.enable = true;
# Enable OpenGL
hardware.graphics = {
enable = true;
};
fileSystems."/mnt/hoardfrost" = {
device = "//10.0.0.217/public";
fsType = "cifs";
options = [ "username=autumn" "password=autest" "x-systemd.automount" "noauto"];
};
# hardware.nvidia.prime.intelBusId = "PCI:0@0:2:0";
# hardware.nvidia.prime.nvidiaBusId = "PCI:1@0:0:0";
# hardware.nvidia.prime.sync.enable = true;o
# hardware.nvidia.prime.offload.enable = false;
# hardware.nvidia.prime.offload.enableOffloadCmd = false;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim
pavucontrol
nh
docker
docker-compose
podman
skopeo
buildkit
tree
swaylock-effects
code-cursor-fhs
moonlight-qt
pcmanfm
gvfs
vlc
cifs-utils
polkit
waypaper
# wayland
# wayland-protocols
# libxkbcommon
# expat
# fontconfig
# freetype
# freetype.dev
# libGL
# pkg-config
# xorg.libX11
# xorg.libXcursor
# xorg.libXi
# xorg.libXrandr
];
environment.pathsToLink = ["/share/zsh"];
virtualisation.containers.policy = {
default = [{type = "insecureAcceptAnything";}];
transports = {
docker-daemon = {
"" = [{type = "insecureAcceptAnything";}];
};
};
};
nix.settings.experimental-features = ["nix-command" "flakes"];
system.stateVersion = "25.05";
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = true;
system.autoUpgrade.flake = "../../flake.nix";
# qt.platformTheme = "kde6";
}