diff --git a/configuration.nix b/configuration.nix index 4ad66e5..4d18063 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,7 @@ { imports = [ # Include the results of the hardware scan. - ./hardware-configuration.nix + /etc/nixos/hardware-configuration.nix ]; # Bootloader. @@ -29,7 +29,7 @@ time.timeZone = "Europe/Helsinki"; # Select internationalisation properties. - i18n.defaultLocale = "fi_FI.UTF-8"; + i18n.defaultLocale = "en_UK.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "fi_FI.UTF-8"; @@ -107,6 +107,8 @@ gh git neovim + gnome-extensions-manager + gnomeExtensions.dash-to-dock ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 48bcee8..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,30 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = [ ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/49708338-c8f7-484d-9d0a-4aa41d44822e"; - fsType = "ext4"; - }; - - swapDevices = [ ]; - - # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp0s3.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - virtualisation.virtualbox.guest.enable = true; -}