summaryrefslogtreecommitdiff
path: root/profiles/core
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-09 13:40:15 +0000
committerMike Vink <mike1994vink@gmail.com>2023-10-09 13:40:15 +0000
commitbd7e5b35956b72071baca85e8ee39ee20318b278 (patch)
tree144c4ec08fdbdf43031988decbc401fff128ab39 /profiles/core
parent72618c7eb3ac6ff500732f11864543f8ad80de61 (diff)
add wsl config
Diffstat (limited to 'profiles/core')
-rw-r--r--profiles/core/configuration.nix58
-rw-r--r--profiles/core/secrets.nix5
2 files changed, 13 insertions, 50 deletions
diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix
index dd1cca6..211522d 100644
--- a/profiles/core/configuration.nix
+++ b/profiles/core/configuration.nix
@@ -8,64 +8,24 @@
extraGroups = ["wheel" "networkmanager" "docker" "transmission"];
};
- virtualisation.docker.enable = true;
-
- hardware.keyboard.qmk.enable = true;
- services.udev.extraRules = ''
- # Yubico Yubikey II
- ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111|0114|0116|0401|0403|0405|0407|0410", \
- ENV{ID_SECURITY_TOKEN}="1"
-
- KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0200|0402|0403|0406|0407|0410", TAG+="uaccess"
- '';
-
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
-
- networking.hostName = "lemptop";
- networking.networkmanager.enable = true;
- time.timeZone = "Europe/Amsterdam";
-
- services.xserver.enable = true;
- services.xserver.displayManager.startx.enable = true;
- services.xserver.libinput.enable = true;
-
- services.udev.packages = [ pkgs.yubikey-personalization ];
- services.pcscd.enable = true;
- security.pam.services = {
- login.u2fAuth = true;
- sudo.u2fAuth = true;
- };
-
- sound.enable = true;
- security.rtkit.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- };
-
- services.transmission = {
- enable = true;
- };
-
- hardware.bluetooth.enable = true;
- services.blueman.enable = true;
-
- programs.slock.enable = true;
-
- documentation.dev.enable = true;
environment.systemPackages = with pkgs; [
man-pages
man-pages-posix
vim
wget
git
+ curl
pinentry-curses
+ gnused
+ gnugrep
+ htop
+ dnsutils
+ iputils
+ inetutils
+ usbutils
];
- system.stateVersion = "23.05";
+
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
diff --git a/profiles/core/secrets.nix b/profiles/core/secrets.nix
index 69ddca5..9d38c95 100644
--- a/profiles/core/secrets.nix
+++ b/profiles/core/secrets.nix
@@ -26,7 +26,10 @@
};
environment = {
- systemPackages = [ pkgs.sops ];
+ systemPackages = [
+ pkgs.sops
+ pkgs.age
+ ];
};
hm = {