nixos-from-scratch/configuration.nix
2025-09-01 23:30:05 -07:00

60 lines
1.2 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos-btw";
networking.networkmanager.enable = true;
time.timeZone = "America/Los_Angeles";
services.displayManager.ly.enable = true;
services.xserver = {
enable = true;
autoRepeatDelay = 200;
autoRepeatInterval = 35;
windowManager.qtile.enable = true;
displayManager.sessionCommands = ''
xwallpaper --zoom ~/nixos-dotfiles/walls/wall1.png
'';
extraConfig = ''
Section "Monitor"
Identifier "Virtual-1"
Option "PreferredMode" "1920x1080"
EndSection
'';
};
services.picom.enable = true;
users.users.tony = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
tree
];
};
programs.firefox.enable = true;
environment.systemPackages = with pkgs; [
vim
wget
git
alacritty
];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "25.05";
}