remove tau, not used anymore

This commit is contained in:
Maddie H 2023-10-31 15:33:25 +00:00
parent ad11431ab0
commit 9ceec77160
Signed by: maddie
GPG Key ID: C296DE8C9053683F
26 changed files with 0 additions and 341 deletions

View File

@ -57,20 +57,6 @@
] ++ utils.nixFilesIn ./systems/mdesktop; ] ++ utils.nixFilesIn ./systems/mdesktop;
}; };
nixosConfigurations."tau" = nixpkgs.lib.nixosSystem
{
specialArgs = { inherit username; };
pkgs = nixpkgs_aarch64_linux;
system = "aarch64-linux";
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.${username}.imports = utils.nixFilesIn ./maddie/common ++ utils.nixFilesIn ./maddie/nixos;
home-manager.extraSpecialArgs = { inherit username; pkgs = nixpkgs_aarch64_linux; };
}
] ++ utils.nixFilesIn ./systems/tau;
};
darwinConfigurations."MMacBookPro" = darwin.lib.darwinSystem darwinConfigurations."MMacBookPro" = darwin.lib.darwinSystem
{ {
pkgs = nixpkgs_aarch64_darwin; pkgs = nixpkgs_aarch64_darwin;

View File

@ -1,5 +0,0 @@
{ config, ... }:
{
programs.adb.enable = true;
}

View File

@ -1,14 +0,0 @@
{ config, ... }:
{
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}

View File

@ -1,6 +0,0 @@
{ config, ... }:
{
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}

View File

@ -1,6 +0,0 @@
{ config, ... }:
{
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
}

View File

@ -1,13 +0,0 @@
{ config, username, ... }:
{
security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [{
users = [ "${username}" ];
keepEnv = true;
persist = true;
}];
};
}

View File

@ -1,6 +0,0 @@
{ config, ... }:
{
# Disable the firewall altogether
networking.firewall.enable = false;
}

View File

@ -1,11 +0,0 @@
{ config, pkgs, ... }:
{
fonts.fonts = with pkgs; [
nerdfonts
font-awesome
source-han-sans
source-han-serif
source-han-code-jp
];
}

View File

@ -1,9 +0,0 @@
{ config, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gtk2";
};
}

View File

@ -1,13 +0,0 @@
{ config, ... }:
{
# Time zone
time.timeZone = "Europe/London";
# Internationalisation properties
i18n.defaultLocale = "en_GB.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "uk";
};
}

View File

@ -1,17 +0,0 @@
{ config, lib, ... }:
{
# DHCP
networking.useDHCP = lib.mkDefault true;
# Hostname
networking.hostName = "tau";
# Enable wireless support & configuration
networking.wireless.enable = true;
networking.wireless.networks = {
"BT-C5CPMR_5GEXT" = {
psk = "hN3LtFrkp36bXc";
};
};
}

View File

@ -1,16 +0,0 @@
{ config, pkgs, ... }:
{
# Enable flakes and nix-command
nix = {
package = pkgs.nixVersions.stable;
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
}

View File

@ -1,6 +0,0 @@
{ config, lib, ... }:
{
system.stateVersion = "23.05";
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}

View File

@ -1,9 +0,0 @@
{ config, username, ... }:
{
hardware.openrazer = {
enable = true;
users = [ "${username}" ];
devicesOffOnScreensaver = false;
};
}

View File

@ -1,8 +0,0 @@
{ config, pkgs, ... }:
{
services.hardware.openrgb = {
enable = true;
package = pkgs.openrgb-with-all-plugins;
};
}

View File

@ -1,47 +0,0 @@
{ config, pkgs, ... }:
{
# System-wide packages
# I want these available for all users at all times
environment.systemPackages = with pkgs; [
# Xorg packages
xorg.xinit
xorg.xkill
xorg.xprop
xorg.xwininfo
xorg.xrandr
xdotool
xclip
# Processes
killall
appimage-run
# Filesystems
dosfstools
btrfs-progs
ntfs3g
exfatprogs
libimobiledevice
ifuse
# Archives
zip
unrar
unzip
p7zip
# Cli tools
ripgrep
wget
fzf
bat
# XDG
xdg-utils
xdg-user-dirs
# Git
git
];
}

View File

@ -1,6 +0,0 @@
{ config, pkgs, ... }:
{
programs.slock.enable = true;
security.wrappers.slock.source = "${pkgs.slock.out}/bin/slock";
}

View File

@ -1,6 +0,0 @@
{ config, ... }:
{
# Misc services
services.usbmuxd.enable = true;
}

View File

@ -1,13 +0,0 @@
{ config, ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
programs.ssh.hostKeyAlgorithms = [ "sk-ssh-ed25519@openssh.com" "ssh-ed25519" ];
}

View File

@ -1,42 +0,0 @@
{ config, username, ... }:
{
services.syncthing = {
enable = true;
user = "${username}";
group = "users";
dataDir = "/home/${username}";
configDir = "/home/${username}/.config/syncthing";
guiAddress = "0.0.0.0:8384";
overrideFolders = true;
overrideDevices = true;
devices = {
"M.Phone.Pixel" = { id = "WMGWVOU-DFZQSZO-46XQJQA-Q5XD5ZB-NDXK5SP-LXNAADH-Z2KJN4P-4P4UXA5"; };
"M.MacBookPro" = { id = "A5HRCSI-RWYZ6GG-SCBZ2OJ-PG6T7VP-WKDN2VP-CNXIQ3B-VCJ7ZHO-MTV63QP"; };
"Lambda" = { id = "ZYNSFWR-F3ZNDDT-66TSJWB-PRP3KQK-IWTTABU-GGWT5DL-RWC7VAE-LI5AXQQ"; };
};
folders = {
"Documents" = {
path = "/home/${username}/Documents";
devices = [ "M.Phone.Pixel" "M.MacBookPro" ];
};
"Pictures" = {
path = "/home/${username}/Pictures";
devices = [ "M.Phone.Pixel" "M.MacBookPro" ];
};
"Videos" = {
path = "/home/${username}/Videos";
devices = [ "M.Phone.Pixel" "M.MacBookPro" ];
};
"Music" = {
path = "/home/${username}/Music";
devices = [ "M.Phone.Pixel" "M.MacBookPro" ];
};
"Android Camera" = {
id = "pixel_7_pro_2qyx-photos";
path = "/home/${username}/Pictures/DCIM";
devices = [ "M.Phone.Pixel" "M.MacBookPro" ];
};
};
};
}

View File

@ -1,8 +0,0 @@
{ config, ... }:
{
# Stop systemd from hanging for ages
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
}

View File

@ -1,11 +0,0 @@
{ config, pkgs, username, ... }:
{
users.users.${username} = {
isNormalUser = true;
shell = pkgs.zsh;
description = "Madeleine";
extraGroups = [ "adbusers" "dialout" "libvirtd" "plugdev" ];
openssh.authorizedKeys.keyFiles = [ ../../maddie/common/ssh/id_ed25519_sk.pub ];
};
}

View File

@ -1,6 +0,0 @@
{ config, ... }:
{
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
}

View File

@ -1,17 +0,0 @@
{ config, pkgs, ... }:
{
services.xserver = {
# Enable X11 windowing system
enable = true;
# Set gb X11 keymap
layout = "gb";
xkbOptions = "eurosign:e";
# Use startx for starting window managers
displayManager = {
startx.enable = true;
};
};
}

View File

@ -1,22 +0,0 @@
{ config, pkgs, ... }:
{
services.pcscd.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization pkgs.android-udev-rules ];
security.pam = {
services = {
login.u2fAuth = true;
doas.u2fAuth = true;
};
yubico = {
enable = true;
mode = "challenge-response";
control = "optional";
};
};
/* environment.systemPackages = with pkgs; [ */
/* yubioath-flutter */
/* yubikey-personalization */
/* ]; */
}

View File

@ -1,10 +0,0 @@
{ config, pkgs, ... }:
{
programs.zsh = {
enable = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
};
users.defaultUserShell = pkgs.zsh;
}