diff --git a/nixos/configuration.nix b/nixos/configuration.nix index df02d7f..90072cc 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, hostName, ... }: { imports = [ @@ -9,7 +9,7 @@ boot.loader.efi.canTouchEfiVariables = true; boot.tmp.cleanOnBoot = true; - networking.hostName = "nixos"; + networking.hostName = "${hostName}"; hardware.graphics.enable = true; @@ -20,8 +20,8 @@ i18n.defaultLocale = "en_CA.UTF-8"; services.udev.extraRules = '' - SUBSYSTEMS=="usb", ATTR{idVendor}=="*", MODE:="0666" - KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" + SUBSYSTEMS=="usb", ATTR{idVendor}=="*", MODE:="0666" + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" ''; services.gnome.glib-networking.enable = true; @@ -45,6 +45,14 @@ services.printing.enable = true; + services.openssh = { + enable = true; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + }; + }; + services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { @@ -76,16 +84,17 @@ programs.dconf.enable = true; environment.systemPackages = with pkgs; [ - pavucontrol - wget + cloudflared + gparted networkmanagerapplet nh - gparted + pavucontrol (pkgs.catppuccin-sddm.override { flavor = "mocha"; font = "CaskaydiaCove Nerd Font"; fontSize = "12"; }) + wget ]; fonts = {