From db6423f146b140c099d12708bcc1b94e72bbe278 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 13 Jun 2023 00:30:42 +0200 Subject: tsp.r: rebuild with flakes --- 1systems/tsp/config.nix | 52 +++++++++++++++++++---------------------------- 1systems/tsp/hardware.nix | 3 ++- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/1systems/tsp/config.nix b/1systems/tsp/config.nix index 9586578d3..587d5f83d 100644 --- a/1systems/tsp/config.nix +++ b/1systems/tsp/config.nix @@ -1,45 +1,35 @@ -# -# -# -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, self, ... }: { imports = [ # Include the results of the hardware scan. ./hardware.nix - - - - - - - # - + ../../2configs/default.nix + # (self + "/2configs/nur.nix") + + # (self + "/2configs/nur.nix") + (self + "/2configs/home-manager") + (self + "/2configs/main-laptop.nix") + (self + "/2configs/editor/neovim") + (self + "/2configs/tools/core.nix") + # (self + "/2configs/tools/all.nix") + (self + "/2configs/fs/disko/single-disk-bcachefs.nix") # hardware specifics are in here - - + (self + "/2configs/hw/bluetooth.nix") + (self + "/2configs/hw/network-manager.nix") - # + # (self + "/2configs/rad1o.nix") - - - - - + (self + "/2configs/zsh-user.nix") + (self + "/2configs/home-manager") + (self + "/2configs/home-manager/desktop.nix") + (self + "/2configs/home-manager/cli.nix") - - { - programs.adb.enable = true; - } + # still broken + #(self + "/2configs/tinc/retiolum.nix") + # (self + "/2configs/sshd-totp.nix") ]; - krebs.build.host = config.krebs.hosts.tsp; - boot.loader.grub.device = "/dev/sda"; - - networking.firewall.allowedTCPPorts = [ - 25 - ]; - hardware.enableRedistributableFirmware = true; nixpkgs.config.allowUnfree = true; } diff --git a/1systems/tsp/hardware.nix b/1systems/tsp/hardware.nix index 2788eae04..ca20a1dd2 100644 --- a/1systems/tsp/hardware.nix +++ b/1systems/tsp/hardware.nix @@ -2,8 +2,9 @@ { imports = [ # laptop is an acer aspire, but close enough i'd say - + ../../2configs/hw/tp-x2x0.nix ]; # the laptop only has the touchpad services.xserver.synaptics.additionalOptions = lib.mkForce ''Option "TouchpadOff" "0"''; + hardware.enableRedistributableFirmware = true; } -- cgit v1.2.3