add packages

This commit is contained in:
2026-07-04 23:10:11 +02:00
parent b1298e425a
commit 1e1f1e4822
2 changed files with 33 additions and 7 deletions
+32 -6
View File
@@ -45,8 +45,8 @@
LC_TIME = "de_DE.UTF-8"; LC_TIME = "de_DE.UTF-8";
}; };
# Enable the KDE Plasma Desktop Environment. #sddm Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true; services.displayManager.plasma-login-manager.enable = true;
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
# Configure keymap in X11 # Configure keymap in X11
@@ -59,7 +59,25 @@
console.keyMap = "de"; console.keyMap = "de";
# Enable CUPS to print documents. # 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. # Enable sound with pipewire.
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
@@ -79,10 +97,16 @@
users.users.eltern = { users.users.eltern = {
isNormalUser = true; isNormalUser = true;
description = "eltern"; description = "eltern";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "lp" "scanner" ];
packages = with pkgs; [ packages = with pkgs; [
kdePackages.kate kdePackages.kate
kdePackages.kcalc
kdePackages.skanpage
kdePackages.print-manager
thunderbird thunderbird
libreoffice
asunder
]; ];
}; };
@@ -95,8 +119,8 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget git
]; ];
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
@@ -111,6 +135,8 @@
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave
+1 -1
View File
@@ -23,7 +23,7 @@
outputs = { self, nixpkgs, home-manager, agenix, lanzaboote, ... }@inputs: { outputs = { self, nixpkgs, home-manager, agenix, lanzaboote, ... }@inputs: {
# Please replace my-nixos with your hostname # Please replace my-nixos with your hostname
nixosConfigurations.my-nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.fuji = nixpkgs.lib.nixosSystem {
modules = [ modules = [
# Import the previous configuration.nix we used, # Import the previous configuration.nix we used,
# so the old configuration file still takes effect # so the old configuration file still takes effect