diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-03-29 23:09:38 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-03-29 23:09:38 +0100 |
| commit | 2e37bf1533ace5b2d4d50196300133d9e72d2952 (patch) | |
| tree | 0c06f4f03599933bb3d0e31620203287ca67c7c0 /nixos/common/default.nix | |
| parent | 2418424adabca0a1616cca4920221cd67149b65a (diff) | |
flakes update feat. xfce
Diffstat (limited to '')
| -rw-r--r-- | nixos/common/default.nix | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/nixos/common/default.nix b/nixos/common/default.nix new file mode 100644 index 0000000..a186c1b --- /dev/null +++ b/nixos/common/default.nix @@ -0,0 +1,67 @@ + +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page, on +# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). + +{ config, lib, pkgs, ... }: + +{ + imports = + [ # Include the results of the hardware scan. + ./services.nix + ]; + + + + nix.settings.experimental-features = ["nix-command" "flakes"]; + time.timeZone = "Europe/Amsterdam"; # Set timezone + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + console = { + font = "Lat2-Terminus16"; + keyMap = "us"; + # useXkbConfig = true; # use xkb.options in tty. + }; + + # Enable the X11 windowing system. + # services.xserver.enable = true; + + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.wilkuu = { + isNormalUser = true; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + packages = with pkgs; [ + tree + ]; + }; + + # Configure keymap in X11 + # services.xserver.xkb.layout = "us"; + # services.xserver.xkb.options = "eurosign:e,caps:escape"; + + + # programs.firefox.enable = true; + + # List packages installed in system profile. To search, run: + environment.variables.EDITOR = "vim"; + # $ nix search wget + environment.systemPackages = with pkgs; [ + vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + wget + git + ]; + + + + # This option defines the first version of NixOS you have installed on this particular machine, + # DO NOT CHANGE UNLESS USING NIXOS-INSTALL + + system.stateVersion = "24.11"; # Did you read the comment? + +} + |
