From 774a35fd1d273491f6d9404102dd20fa5e9c0c9d Mon Sep 17 00:00:00 2001 From: sebarocks Date: Mon, 25 May 2026 22:32:24 +0000 Subject: [PATCH] added conf file Tiene niri con DMS y el greeter de DMS --- configuration.nix | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 configuration.nix diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..07e1b90 --- /dev/null +++ b/configuration.nix @@ -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 + +}