Improve layout structure more

This commit is contained in:
Dave Gallant
2021-01-16 23:48:08 -05:00
parent 73e8011316
commit ce9022f6e6
7 changed files with 52 additions and 61 deletions

View File

@@ -3,15 +3,6 @@
{
imports = [ ./hardware.nix ];
nixpkgs.config.allowUnfree = true;
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -19,9 +10,6 @@
networking.hostName = "hephaestus"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Set your time zone.
time.timeZone = "America/Toronto";
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
@@ -52,15 +40,6 @@
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
hardware.pulseaudio.support32Bit = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.dave = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
shell = pkgs.zsh;
};
environment.systemPackages = with pkgs; [ gnome3.gnome-tweaks ];
virtualisation.docker.enable = true;
programs.gnupg.agent = {
@@ -71,9 +50,6 @@
# Open ports in the firewall.
networking.firewall.enable = true;
system.stateVersion = "unstable";
system.autoUpgrade.enable = true;
# systemd.services.g810-led = {
# description = "Set Logitech G810 Led Profile";
# serviceConfig = {