From 2e37bf1533ace5b2d4d50196300133d9e72d2952 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sat, 29 Mar 2025 23:09:38 +0100 Subject: flakes update feat. xfce --- nixos/common/default.nix | 67 +++++++++++++++++++++++++++++++++++++++++++++++ nixos/common/services.nix | 2 ++ 2 files changed, 69 insertions(+) create mode 100644 nixos/common/default.nix create mode 100644 nixos/common/services.nix (limited to 'nixos/common') 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, ...}: +{} -- cgit v1.3.1