aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/thinklappi-bootstrap/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-06 20:52:32 +0100
committersils <sils@sils.li>2023-11-06 20:52:32 +0100
commit836ff0c5a05b7657dc20b967e591054a6336220f (patch)
treea1b496c222c0587512f09c7fd997a4adac59a0b5 /hosts/thinklappi-bootstrap/default.nix
parentbuild(flake): update (diff)
downloadnix-config-836ff0c5a05b7657dc20b967e591054a6336220f.zip
feat(flake): add thinklappi-bootstrap
This minimal config is intended for use with `ǹixos-install` to prevent the nix-store located in RAM from running out of space.
Diffstat (limited to 'hosts/thinklappi-bootstrap/default.nix')
-rw-r--r--hosts/thinklappi-bootstrap/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/hosts/thinklappi-bootstrap/default.nix b/hosts/thinklappi-bootstrap/default.nix
new file mode 100644
index 0000000..10ed8ef
--- /dev/null
+++ b/hosts/thinklappi-bootstrap/default.nix
@@ -0,0 +1,46 @@
+{
+ config,
+ pkgs,
+ ...
+}: {
+ imports = [
+ ./basesystem.nix
+ ../../sys/users
+ ];
+
+ hardware = {
+ opengl.enable = true;
+ bluetooth.enable = true;
+ pulseaudio.enable = false;
+ };
+
+ virtualisation.waydroid.enable = true; # Android emulation
+
+ security = {
+ rtkit.enable = true;
+ pam.services.swaylock = {};
+ };
+
+ environment.systemPackages = [
+ pkgs.xorg.xkbcomp
+ pkgs.neovim
+ pkgs.git
+ ];
+
+ i18n.defaultLocale = "en_US.UTF-8";
+
+ networking = {
+ hostName = "thinklappi";
+ #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"];
+ networkmanager = {
+ enable = true;
+ #dns = "none";
+ };
+ };
+
+ time.timeZone = "Europe/Berlin";
+
+ programs.ssh.startAgent = true;
+
+ system.stateVersion = "23.05";
+}