Carve away
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# Latest kernel, not LTS
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# TODO: Dynamically configure hostname
|
||||
networking.hostName = "laptop-nixos-1";
|
||||
# Configure network connections interactively with nmcli or nmtui.
|
||||
networking.networkmanager.enable = true;
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Chicago";
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
# Pipewire for audio
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
# Bash is bash is bash
|
||||
programs.bash.enable = true;
|
||||
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
jq
|
||||
procps
|
||||
stow
|
||||
vim
|
||||
wget
|
||||
];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
# Copies and links NixOS config to /run/current-system/configuration.nix
|
||||
# Case you nuke it. Idiot.
|
||||
system.copySystemConfiguration = true;
|
||||
|
||||
# Don't touch. It's used for migration compatibility and should not change
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user