summaryrefslogtreecommitdiff
path: root/nixos/common
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-08-17 11:25:33 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-08-17 11:25:33 +0200
commit1be972048dd58218cd689ecb5cac562eb398b751 (patch)
tree203f19ee01ad5fe28f2868e8c1451f9538e4ab12 /nixos/common
parent3cd59d4670711e34a50adea912c3b0894883e490 (diff)
refreshed config
Diffstat (limited to '')
-rw-r--r--nixos/common/default.nix77
-rw-r--r--nixos/common/services.nix27
2 files changed, 0 insertions, 104 deletions
diff --git a/nixos/common/default.nix b/nixos/common/default.nix
deleted file mode 100644
index b199ca5..0000000
--- a/nixos/common/default.nix
+++ /dev/null
@@ -1,77 +0,0 @@
-
-# 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’.
- programs.zsh.enable = true;
- users.users.wilkuu = {
- shell = pkgs.zsh;
- isNormalUser = true;
- extraGroups = [ "wheel" "networkmanager" "input" "docker" "adbusers" "libvirtd" ]; # Enable ‘sudo’ for the user.
- packages = with pkgs; [
- tree
- home-manager
- ];
- };
-
- # 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
- tmux
- usbutils
- lz4
- ];
-
- systemd.oomd = {
- enable = true;
- enableUserSlices = true;
- enableRootSlice = true;
- };
-
-
-
- # 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
deleted file mode 100644
index 8a73d42..0000000
--- a/nixos/common/services.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{config, lib, pkgs, ...}:
-{
-
- ## VM's
- programs.dconf.enable = true;
- programs.virt-manager.enable = true;
- virtualisation = {
- docker.enable = true;
- libvirtd = {
- enable = true;
- qemu = {
- swtpm.enable = true;
- vhostUserPackages = with pkgs; [ virtiofsd ];
- ovmf.enable = true;
- ovmf.packages = [ pkgs.OVMFFull.fd ];
- };
- };
- spiceUSBRedirection.enable = true;
- };
- services.spice-vdagentd.enable = true;
-
- services.mullvad-vpn = {
- enable = true;
- package = pkgs.mullvad-vpn;
- };
-
-}