added conf file

Tiene niri con DMS y el greeter de DMS
This commit is contained in:
sebarocks 2026-05-25 22:32:24 +00:00
commit 774a35fd1d

86
configuration.nix Normal file
View file

@ -0,0 +1,86 @@
{ 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
}