my-nixconf/configuration.nix
sebarocks 774a35fd1d added conf file
Tiene niri con DMS y el greeter de DMS
2026-05-25 22:32:24 +00:00

86 lines
1.8 KiB
Nix
Raw Permalink 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, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.bluetooth.enable = true;
networking.hostName = "nixos";
networking.networkmanager.enable = true;
time.timeZone = "America/Santiago";
i18n.defaultLocale = "es_CL.UTF-8";
console.keyMap = "la-latin1";
# Define a user account. Don't forget to set a password with passwd.
users.users.sebas = {
isNormalUser = true;
description = "Sebastian";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
shell = pkgs.nushell;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile
environment.systemPackages = with pkgs; [
quickshell
helix
htop
zellij
nushell
yazi
zoxide
alacritty
ghostty
fuzzel
brave
obsidian
sioyek
microsoft-edge
zed-editor
];
programs.niri.enable = true;
programs.dms-shell = {
enable = true;
enableSystemMonitoring = true;
enableVPN = true;
enableDynamicTheming = true;
enableAudioWavelength = true;
};
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
fira-code
fira-code-symbols
nerd-fonts.symbols-only
nerd-fonts.jetbrains-mono
];
# Services
services.openssh.enable = true;
services.upower.enable = true;
services.power-profiles-daemon.enable = true;
services.displayManager.dms-greeter = {
enable = true;
compositor.name = "niri";
};
system.stateVersion = "25.11"; # Pinned version
}