summaryrefslogtreecommitdiff
path: root/configuration/core
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-12 08:19:04 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-12 08:19:04 +0100
commit07f84bb581e369ff79100f0417e9d277f3c1fb61 (patch)
tree64ec899f185a3d794791df191f53939dbc67be41 /configuration/core
parent8fe481c0858702231335ad6c5eb850b293781b61 (diff)
alot of stuff
Diffstat (limited to 'configuration/core')
-rw-r--r--configuration/core/default.nix10
-rw-r--r--configuration/core/packages.nix21
-rw-r--r--configuration/core/services.nix10
-rw-r--r--configuration/core/settings.nix8
-rw-r--r--configuration/core/tailscale.nix6
-rw-r--r--configuration/core/users.nix44
6 files changed, 0 insertions, 99 deletions
diff --git a/configuration/core/default.nix b/configuration/core/default.nix
deleted file mode 100644
index 7ec63e4..0000000
--- a/configuration/core/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ ... }:
-{
- imports = [
- ./users.nix
- ./services.nix
- ./settings.nix
- ./packages.nix
- ./tailscale.nix
- ];
-}
diff --git a/configuration/core/packages.nix b/configuration/core/packages.nix
deleted file mode 100644
index 37d1562..0000000
--- a/configuration/core/packages.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ pkgs, ... }:
-{
- environment.systemPackages = with pkgs; [
- git
- git-crypt
- helix
- devenv
-
- busybox
- usbutils
- dig
- file
- gcc
- jq
- netcat
- tcpdump
- wget
- iftop
- htop
- ];
-}
diff --git a/configuration/core/services.nix b/configuration/core/services.nix
deleted file mode 100644
index f3d1d24..0000000
--- a/configuration/core/services.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ lib, ... }:
-{
- services = {
- openssh = {
- enable = true;
- openFirewall = lib.mkDefault false;
- settings.AllowUsers = [ "jras" ];
- };
- };
-}
diff --git a/configuration/core/settings.nix b/configuration/core/settings.nix
deleted file mode 100644
index e7a7b2e..0000000
--- a/configuration/core/settings.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ ... }:
-{
- nixpkgs.config.allowUnfree = true;
- nix.settings = {
- experimental-features = [ "nix-command" "flakes" ];
- trusted-users = [ "root" "jras" ];
- };
-}
diff --git a/configuration/core/tailscale.nix b/configuration/core/tailscale.nix
deleted file mode 100644
index 0d7c456..0000000
--- a/configuration/core/tailscale.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{ ... }:
-{
- services.tailscale = {
- enable = true;
- };
-}
diff --git a/configuration/core/users.nix b/configuration/core/users.nix
deleted file mode 100644
index b1a30ed..0000000
--- a/configuration/core/users.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ lib, pkgs, inputs, ... }:
-{
- programs.zsh.enable = true;
-
- security.sudo.execWheelOnly = lib.mkDefault true;
- security.sudo.wheelNeedsPassword = lib.mkDefault false;
-
- users.users.jras = {
- createHome = true;
- isNormalUser = true;
- extraGroups = [ "wheel" ];
- shell = pkgs.zsh;
- packages = with pkgs; [ git helix curl ];
- openssh.authorizedKeys.keyFiles = [ ../../keys/id_tarrel.pub ../../keys/id_work.pub ];
- };
-
- i18n.defaultLocale = "en_US.UTF-8";
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "nl_NL.UTF-8";
- LC_IDENTIFICATION = "nl_NL.UTF-8";
- LC_MEASUREMENT = "nl_NL.UTF-8";
- LC_MONETARY = "nl_NL.UTF-8";
- LC_NAME = "nl_NL.UTF-8";
- LC_NUMERIC = "nl_NL.UTF-8";
- LC_PAPER = "nl_NL.UTF-8";
- LC_TELEPHONE = "nl_NL.UTF-8";
- LC_TIME = "nl_NL.UTF-8";
- };
-
- home-manager.useGlobalPkgs = true;
- home-manager.useUserPackages = true;
- home-manager.extraSpecialArgs = { inherit inputs; };
- home-manager.users.jras = {
- imports = [ ../home-manager/core ];
-
- home.username = "jras";
- home.homeDirectory = "/home/jras";
-
- programs.git = {
- userName = lib.mkDefault "Jasper Ras";
- userEmail = lib.mkDefault "jaspert.ras@gmail.com";
- };
- };
-}