From 1f5c44989e3f4432045f6e4178238db42e0f765e Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 4 Feb 2025 22:26:52 -0800 Subject: migration: remove obsolete laptop config --- hosts/phoenix/configuration.nix | 86 ----------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 hosts/phoenix/configuration.nix (limited to 'hosts/phoenix/configuration.nix') diff --git a/hosts/phoenix/configuration.nix b/hosts/phoenix/configuration.nix deleted file mode 100644 index 80dbb06..0000000 --- a/hosts/phoenix/configuration.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ config, lib, pkgs, inputs, ... }: - -{ - imports = [ - ./hardware.nix - ../../core - ../../roles - ]; - - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - - environment.persistence."/persist/system" = { - hideMounts = true; - - directories = [ - "/etc/nixos" - "/var/log" - "/var/lib/nixos" - "/var/lib/systemd/coredump" - ]; - - files = [ - "/etc/machine-id" - ]; - }; - - programs.fuse.userAllowOther = true; - - networking = { - hostName = "phoenix"; - hostId = "d62900ff"; - - networkmanager.enable = true; - }; - - time.timeZone = "America/Los_Angeles"; - - users.users = { - root.hashedPasswordFile = "/secrets/passwords/root"; - - "c" = { - isNormalUser = true; - hashedPasswordFile = "/secrets/passwords/c"; - extraGroups = [ "wheel" ]; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDO8JxqS7B2n3YlNtlVMZGARi+GG/z7wLiiyl52qSZc caroline@larimo.re" ]; - }; - }; - - home-manager = { - extraSpecialArgs = { inherit inputs; }; - users = { - "c" = import ./home.nix; - }; - }; - - roles = { - desktop.enable = true; - }; - - programs = { - gnupg.agent = { - enable = true; - enableSSHSupport = true; - }; - - dconf.enable = true; - }; - - services = { - pcscd.enable = true; - openssh = { - enable = true; - settings = { - PermitRootLogin = "no"; - PasswordAuthentication = false; - }; - }; - }; - - environment.systemPackages = with pkgs; [ - ffmpeg - firefox - ]; - - system.stateVersion = "24.05"; -} -- cgit v1.2.3