~ruther/nixos-config

d35120da8bf4981266608ed67c864d2e6e141cb2 — Frantisek Bohacek 1 year, 4 months ago c472bda
feat: use NetworkManager on desktop
M hosts/configuration.nix => hosts/configuration.nix +4 -3
@@ 33,12 33,13 @@
  programs.zsh.enable = true; # has to be here to set shell to zsh
    # zsh is configured at home-manager level afterwards

  security.sudo.wheelNeedsPassword = true;

  programs.dconf.enable = true;
  networking.networkmanager.enable = true;
  programs.nm-applet.enable = true;

  programs.command-not-found.enable = false;

  security.sudo.wheelNeedsPassword = true;
  programs.dconf.enable = true;
  services.udisks2.enable = true;

  time.timeZone = "Europe/Prague";        # Time zone and internationalisation

M hosts/desktop-clotho/hardware-configuration.nix => hosts/desktop-clotho/hardware-configuration.nix +0 -7
@@ 39,14 39,7 @@
    [ { device = "/dev/disk/by-label/swap"; }
    ];

  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
  # (the default) this is the recommended approach. When using systemd-networkd it's
  # still possible to use this option, but it's recommended to use it in conjunction
  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
  networking.useDHCP = lib.mkDefault true;
  # networking.interfaces.enp24s0.useDHCP = lib.mkDefault true;
  # networking.interfaces.enp3s0f0u1u3u1.useDHCP = lib.mkDefault true;
  # networking.interfaces.wlo1.useDHCP = lib.mkDefault true;

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

M hosts/laptop-iapetus/default.nix => hosts/laptop-iapetus/default.nix +0 -1
@@ 61,7 61,6 @@
    ];
  };

  networking.networkmanager.enable = true;

  hardware = {                              # No xbacklight, this is the alterantive
    brillo.enable = true;

Do not follow this link