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