| ... | ... | @@ -7,65 +7,66 @@ |
| 7 | 7 | }: |
| 8 | 8 | { |
| 9 | 9 | imports = [ |
| 10 | | # Include the results of the hardware scan. |
| 11 | 10 | ./hardware-configuration.nix |
| 12 | 11 | ]; |
| 13 | 12 | |
| 14 | | # Use the systemd-boot EFI boot loader. |
| 15 | 13 | boot.loader.efi.canTouchEfiVariables = true; |
| 16 | 14 | |
| 17 | | # networking.hostName = "nixos"; # Define your hostname. |
| 18 | | # Pick only one of the below networking options. |
| 19 | | # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. |
| 15 | networking.hostName = "cattop"; |
| 20 | 16 | # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. |
| 21 | 17 | |
| 22 | 18 | # Set your time zone. |
| 23 | | # time.timeZone = "Europe/Amsterdam"; |
| 24 | | |
| 25 | | # Configure network proxy if necessary |
| 26 | | # networking.proxy.default = "http://user:password@proxy:port/"; |
| 27 | | # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; |
| 28 | | |
| 29 | | # Select internationalisation properties. |
| 30 | | # i18n.defaultLocale = "en_US.UTF-8"; |
| 31 | | # console = { |
| 32 | | # font = "Lat2-Terminus16"; |
| 33 | | # keyMap = "us"; |
| 34 | | # useXkbConfig = true; # use xkb.options in tty. |
| 35 | | # }; |
| 19 | Time.timeZone = "America/Los_Angeles"; |
| 36 | 20 | |
| 37 | | # Enable the X11 windowing system. |
| 38 | 21 | services.xserver.enable = true; |
| 39 | 22 | |
| 40 | | # Enable the GNOME Desktop Environment. |
| 41 | 23 | services.displayManager.gdm.enable = true; |
| 42 | 24 | services.desktopManager.gnome.enable = true; |
| 43 | 25 | environment.gnome.excludePackages = ( |
| 44 | 26 | with pkgs; |
| 45 | 27 | [ |
| 46 | | atomix |
| 47 | | cheese |
| 28 | adwaita-fonts |
| 29 | adwaita-icon-theme |
| 30 | baobab |
| 31 | decibels |
| 48 | 32 | epiphany |
| 33 | evince |
| 34 | file-roller |
| 49 | 35 | geary |
| 50 | | gedit |
| 36 | gnome-backgrounds |
| 37 | gnome-calculator |
| 38 | gnome-calendar |
| 51 | 39 | gnome-characters |
| 40 | gnome-clocks |
| 41 | gnome-connections |
| 42 | gnome-console |
| 43 | gnome-contacts |
| 44 | gnome-disk-utility |
| 45 | gnome-font-viewer |
| 46 | gnome-logs |
| 47 | gnome-maps |
| 52 | 48 | gnome-music |
| 53 | | gnome-photos |
| 54 | | gnome-terminal |
| 49 | gnome-shell-extensions |
| 50 | gnome-system-monitor |
| 51 | gnome-screenshot |
| 52 | gnome-text-editor |
| 53 | gnome-themes-extra |
| 55 | 54 | gnome-tour |
| 56 | | hitori |
| 57 | | iagno |
| 55 | gnome-user-docs |
| 56 | gnome-weather |
| 57 | loupe |
| 58 | nautilus |
| 59 | orca |
| 60 | seahorse |
| 61 | simple-scan |
| 62 | snapshot |
| 63 | sushi |
| 58 | 64 | totem |
| 59 | | |
| 65 | yelp |
| 60 | 66 | ] |
| 61 | 67 | ); |
| 62 | 68 | |
| 63 | | # Configure keymap in X11 |
| 64 | | # services.xserver.xkb.layout = "us"; |
| 65 | | # services.xserver.xkb.options = "eurosign:e,caps:escape"; |
| 66 | | |
| 67 | | # Enable CUPS to print documents. |
| 68 | | # services.printing.enable = true; |
| 69 | services.printing.enable = true; |
| 69 | 70 | |
| 70 | 71 | # Enable sound. |
| 71 | 72 | # services.pulseaudio.enable = true; |
| ... | ... | @@ -78,13 +79,12 @@ |
| 78 | 79 | # Enable touchpad support (enabled default in most desktopManager). |
| 79 | 80 | # services.libinput.enable = true; |
| 80 | 81 | |
| 81 | | # Define a user account. Don't forget to set a password with ‘passwd’. |
| 82 | 82 | users.users.fish = { |
| 83 | 83 | isNormalUser = true; |
| 84 | 84 | shell = pkgs.fish; |
| 85 | 85 | extraGroups = [ |
| 86 | | "wheel" # Enable ‘sudo’ for the user. |
| 87 | | "dialout" # Enable serial access for the user. |
| 86 | "wheel" |
| 87 | "dialout" |
| 88 | 88 | ]; |
| 89 | 89 | packages = with pkgs; [ |
| 90 | 90 | tree |
| ... | ... | @@ -108,14 +108,11 @@ |
| 108 | 108 | #programs.neovim.defaultEditor.enable = true; |
| 109 | 109 | |
| 110 | 110 | # List packages installed in system profile. |
| 111 | | # You can use https://search.nixos.org/ to find more packages (and options). |
| 112 | 111 | environment.systemPackages = with pkgs; [ |
| 113 | | vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. |
| 112 | vim |
| 114 | 113 | wget |
| 115 | 114 | ]; |
| 116 | 115 | |
| 117 | | # Some programs need SUID wrappers, can be configured further or are |
| 118 | | # started in user sessions. |
| 119 | 116 | programs.fish.enable = true; |
| 120 | 117 | programs.mtr.enable = true; |
| 121 | 118 | programs.gnupg.agent = { |
| ... | ... | @@ -128,12 +125,6 @@ |
| 128 | 125 | # Enable the OpenSSH daemon. |
| 129 | 126 | # services.openssh.enable = true; |
| 130 | 127 | |
| 131 | | # Open ports in the firewall. |
| 132 | | # networking.firewall.allowedTCPPorts = [ ... ]; |
| 133 | | # networking.firewall.allowedUDPPorts = [ ... ]; |
| 134 | | # Or disable the firewall altogether. |
| 135 | | # networking.firewall.enable = false; |
| 136 | | |
| 137 | 128 | # Copy the NixOS configuration file and link it from the resulting system |
| 138 | 129 | # (/run/current-system/configuration.nix). This is useful in case you |
| 139 | 130 | # accidentally delete configuration.nix. |