69 lines
1.7 KiB
Nix
69 lines
1.7 KiB
Nix
# 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, timezone, locale, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ # Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
|
||
#system configs
|
||
../defaults/locale.nix
|
||
../defaults/boot.nix
|
||
../defaults/services.nix
|
||
../defaults/gaming.nix
|
||
|
||
#system packages
|
||
../packages/sddm/sddm.nix
|
||
|
||
];
|
||
|
||
# Bootloader.
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
networking.hostName = "lesbos"; # Define your hostname.
|
||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||
|
||
# Configure network proxy if necessary
|
||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||
|
||
# Enable networking
|
||
networking.networkmanager.enable = true;
|
||
|
||
# Set your time zone.
|
||
time.timeZone = "${timezone}";
|
||
|
||
services.desktopManager.plasma6.enable = true;
|
||
|
||
|
||
# Enable touchpad support (enabled default in most desktopManager).
|
||
# services.xserver.libinput.enable = true;
|
||
|
||
# Install firefox.
|
||
programs = {
|
||
firefox.enable = true;
|
||
};
|
||
# Allow unfree packages
|
||
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
# List packages installed in system profile. To search, run:
|
||
# $ nix search wget
|
||
environment.systemPackages = with pkgs; [
|
||
prismlauncher
|
||
jdk17
|
||
];
|
||
|
||
nix.settings = {
|
||
experimental-features = ["nix-command" "flakes"];
|
||
download-buffer-size = 5245880000;
|
||
};
|
||
|
||
system.stateVersion = "25.05"; # Did you read the comment?
|
||
|
||
}
|