diff --git a/configuration.nix b/configuration.nix index 7dfc7af..68269cb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, inputs, ... }: { @@ -21,10 +17,6 @@ networking.hostName = "yogourt"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - # Enable networking networking.networkmanager.enable = true; @@ -55,7 +47,6 @@ # Configure console keymap console.keyMap = "de"; - # Define a user account. Don't forget to set a password with ‘passwd’. programs.fish.enable = true; users.users."floppy" = { isNormalUser = true; @@ -68,8 +59,7 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; - # List packages installed in system profile. To search, run: - # $ nix search wget + environment.systemPackages = with pkgs; [ fish git @@ -85,23 +75,10 @@ # enableSSHSupport = true; # }; - #List services that you want to enable: # Enable the OpenSSH daemon. services.openssh.enable = true; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # 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 - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "26.05"; # Did you read the comment? hardware.graphics = { @@ -119,8 +96,8 @@ home-manager = { useGlobalPkgs = true; useUserPackages = true; - extraSpecialArgs = { inherit inputs; }; # inputs auch an home-manager weitergeben - users.floppy = import ./home.nix; # dein Username + extraSpecialArgs = { inherit inputs; }; + users.floppy = import ./home.nix; }; #sddm @@ -146,7 +123,7 @@ services.printing.enable = true; services.avahi = { enable = true; - nssmdns4 = true; # Netzwerkdrucker-Erkennung + nssmdns4 = true; }; # Fonts fonts.packages = with pkgs; [