nixos-config/hosts/NixFrame/configuration.nix
Benson Chu fb8a0810ff WE SHOULDN'T DO THIS
User activated scripts run on every startup
2023-12-07 19:29:42 -06:00

69 lines
1.9 KiB
Nix
Raw 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.

{ config, pkgs, ... }:
let
commonPackages = import ../../common-packages.nix { inherit pkgs; };
in
{
imports =
[
# ./home-git-repos.nix
../../common-configuration.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
networking.hostName = "NixFrame"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
hardware.bluetooth.enable = true; # enables support for Bluetooth
# Configure keymap in X11
services.xserver = {
layout = "us";
xkbVariant = "dvorak";
};
# Configure console keymap
console.keyMap = "dvorak";
# Define a user account. Don't forget to set a password with passwd.
users.users.benson = {
isNormalUser = true;
description = "Benson Chu";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
kate
steam
];
};
fonts = {
packages = with pkgs; [
roboto-mono
];
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.tailscale.enable = true;
environment.systemPackages = with pkgs; [
] ++ commonPackages;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
}