This commit is contained in:
chrisbell committed 2026-10-02 20:59:47 -05:00
commit 655ef30c69
14 files changed
+472

No files matched your search

+88
View File
@@ -0,0 +1,88 @@
{ config, pkgs, inputs, ... }:
{
imports =
[
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
../../modules/nixos/bspwm.nix
../../modules/nixos/quadro-m1000m.nix
];
# Nix options
nix.settings = {
experimental-features = ["nix-command" "flakes"];
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "p50"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "America/Chicago";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
};
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users."chris" = {
isNormalUser = true;
description = "chris";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
};
home-manager = {
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users."chris" = import ./home.nix;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
vim
wget
helix
nixd
git
fastfetch
btop
];
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
system.stateVersion = "26.05"; # Did you read the comment?
}