summaryrefslogtreecommitdiff
path: root/profiles
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
parent72618c7eb3ac6ff500732f11864543f8ad80de61 (diff)
add wsl config
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core/configuration.nix58
-rw-r--r--profiles/core/secrets.nix5
-rw-r--r--profiles/station/packages.nix18
3 files changed, 15 insertions, 66 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 = {
diff --git a/profiles/station/packages.nix b/profiles/station/packages.nix
index 19e7ad1..2912f22 100644
--- a/profiles/station/packages.nix
+++ b/profiles/station/packages.nix
@@ -6,26 +6,14 @@
}: let
core-packages = with pkgs;
[
- # nixopsnixops
- age
- sops
- # k8s and friends
kubernetes-helm
kubectl
kind
krew
- jq
- yq-go
dasel
initool
python311Packages.editorconfig
gnutls
- # other stuff
- coreutils
- dnsutils
- iputils
- inetutils
- usbutils
gcc
pkgsi686Linux.glibc
gnumake
@@ -35,6 +23,8 @@
calcurse
profanity
file
+ jq
+ yq-go
lf
ueberzug
mypaint
@@ -45,12 +35,8 @@
k9s
powershell
azure-cli
- htop
subversion
ripgrep
- gnused
- gnugrep
- curl
inotify-tools
alejandra
statix