From 1e1f1e48227bbc9479fde4c00932a1725dde932d Mon Sep 17 00:00:00 2001 From: eltern Date: Sat, 4 Jul 2026 23:10:11 +0200 Subject: [PATCH] add packages --- configuration.nix | 38 ++++++++++++++++++++++++++++++++------ flake.nix | 2 +- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 19a4202..2d7ec9f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -45,8 +45,8 @@ LC_TIME = "de_DE.UTF-8"; }; - # Enable the KDE Plasma Desktop Environment. - services.displayManager.sddm.enable = true; + #sddm Enable the KDE Plasma Desktop Environment. + services.displayManager.plasma-login-manager.enable = true; services.desktopManager.plasma6.enable = true; # Configure keymap in X11 @@ -59,7 +59,25 @@ console.keyMap = "de"; # Enable CUPS to print documents. - services.printing.enable = true; + services.printing = { + enable = true; + drivers = with pkgs; [ + cups-filters + cups-browsed + gutenprint + epson-escpr2 + ]; + }; + + hardware.sane.enable = true; + + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; + + services.ipp-usb.enable = true; # Enable sound with pipewire. services.pulseaudio.enable = false; @@ -79,10 +97,16 @@ users.users.eltern = { isNormalUser = true; description = "eltern"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "lp" "scanner" ]; packages = with pkgs; [ kdePackages.kate + kdePackages.kcalc + kdePackages.skanpage + kdePackages.print-manager thunderbird + libreoffice + asunder + ]; }; @@ -95,8 +119,8 @@ # List packages installed in system profile. To search, run: # $ nix search wget 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 + vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + git ]; # Enable the OpenSSH daemon. @@ -111,6 +135,8 @@ # Or disable the firewall altogether. # networking.firewall.enable = false; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/flake.nix b/flake.nix index 900dca7..82b2078 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ outputs = { self, nixpkgs, home-manager, agenix, lanzaboote, ... }@inputs: { # Please replace my-nixos with your hostname - nixosConfigurations.my-nixos = nixpkgs.lib.nixosSystem { + nixosConfigurations.fuji = nixpkgs.lib.nixosSystem { modules = [ # Import the previous configuration.nix we used, # so the old configuration file still takes effect