summaryrefslogtreecommitdiff
path: root/nixos/common
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/common')
-rw-r--r--nixos/common/default.nix67
-rw-r--r--nixos/common/services.nix2
2 files changed, 69 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?
+
+}
+
diff --git a/nixos/common/services.nix b/nixos/common/services.nix
new file mode 100644
index 0000000..528363b
--- /dev/null
+++ b/nixos/common/services.nix
@@ -0,0 +1,2 @@
+{config, lib, pkgs, ...}:
+{}