format, first programs

This commit is contained in:
Theo Hahn committed 2026-09-20 16:38:42 +02:00
1 parent 6741cf73c4
commit cb6b6ea140
2 files changed
+35 -8

No files matched your search

Binary file not shown.
+35 -8
View File
@@ -2,14 +2,19 @@
# 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, ... }:
{
config,
lib,
pkgs,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/apple/t2"
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
# "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/apple/t2"
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@@ -64,7 +69,7 @@
# Enable CUPS to print documents.
services.printing.enable = true;
services.flatpak.enable = true;
# Enable sound.
# services.pulseaudio.enable = true;
# OR
@@ -76,7 +81,6 @@
# Enable touchpad support (enabled default in most desktopManager).
# services.libinput.enable = true;
programs.firefox.enable = true;
hardware.bluetooth = {
@@ -85,12 +89,35 @@
};
# List packages installed in system profile.
nix.settings = {
substituters = [ "https://cache.nixos.org" ];
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
};
nixpkgs.config.allowUnfree = true;
# You can use https://search.nixos.org/ to find more packages (and options).
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
helix
spotify
tor-browser
];
hardware.graphics.enable32Bit = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
environment.variables = {
EDITOR = "hx";
VISUAL = "hx";
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;