tree-wide: drop petalburg (#129)
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

* github: remove petalburg build

* flake, hosts: drop petalburg

* secrets: drop petalburg

* aly/syncthing: drop petalburg

* aly/openssh: drop petalburg

* users: drop petalburg

* hwModules: drop yoga 9i
This commit is contained in:
Aly Raffauf 2024-10-18 15:44:19 -04:00 committed by GitHub
parent 337fd5da36
commit d52929052e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 3 additions and 293 deletions

View file

@ -86,22 +86,6 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build pacifidlog - name: Build pacifidlog
run: nix build --accept-flake-config .#nixosConfigurations.pacifidlog.config.system.build.toplevel run: nix build --accept-flake-config .#nixosConfigurations.pacifidlog.config.system.build.toplevel
petalburg-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build petalburg
run: nix build --accept-flake-config .#nixosConfigurations.petalburg.config.system.build.toplevel
rustboro-build: rustboro-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -100,7 +100,6 @@
"lavaridge" "lavaridge"
"mauville" "mauville"
"pacifidlog" "pacifidlog"
"petalburg"
"rustboro" "rustboro"
"slateport" "slateport"
]; ];
@ -165,7 +164,6 @@
hw-framework-13-amd-7000 = import ./hwModules/framework/13/amd-7000; hw-framework-13-amd-7000 = import ./hwModules/framework/13/amd-7000;
hw-framework-13-intel-11th = import ./hwModules/framework/13/intel-11th; hw-framework-13-intel-11th = import ./hwModules/framework/13/intel-11th;
hw-lenovo-legion-go = import ./hwModules/lenovo/legion/go; hw-lenovo-legion-go = import ./hwModules/lenovo/legion/go;
hw-lenovo-yoga-9i-intel-13th = import ./hwModules/lenovo/yoga-9i/intel-13th;
hw-thinkpad-t440p = import ./hwModules/thinkpad/t440p; hw-thinkpad-t440p = import ./hwModules/thinkpad/t440p;
nixos = import ./nixosModules self; nixos = import ./nixosModules self;

View file

@ -1,25 +0,0 @@
# petalburg
## Overview
Lenovo Yoga 9i 2023. Secondary convertible mainly used for media, light dev work, and anything that might use a stylus or touch screen.
## Specs
| Model | Lenovo Yoga 9i Gen 8 |
|---------|----------------------------------------|
| Display | 14" 2880x1800 90hz OLED |
| CPU | Intel Core i7-1360P |
| RAM | 16GB (8GBx2) LPDDR5-5200Mhz (soldered) |
| GPU | Intel Iris Xe Graphics |
| Disks | 512GB M.2 PCIe 4.0 |
## Filesystems
### /
Encrypted LUKS btrfs volume.
## Display
Scales perfectly at 2x.

View file

@ -1,94 +0,0 @@
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
{
config,
lib,
self,
...
}: {
imports = [
./home.nix
./secrets.nix
./stylix.nix
(import ./../../disko/luks-btrfs-subvolumes.nix {disks = ["/dev/nvme0n1"];})
self.nixosModules.common-auto-upgrade
self.nixosModules.common-base
self.nixosModules.common-locale
self.nixosModules.common-mauville-share
self.nixosModules.common-nix
self.nixosModules.common-overlays
self.nixosModules.common-pkgs
self.nixosModules.common-tailscale
self.nixosModules.common-wifi-profiles
self.nixosModules.hw-lenovo-yoga-9i-intel-13th
];
boot = {
initrd.systemd.enable = true;
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = lib.mkForce false;
};
};
environment.variables.GDK_SCALE = "2";
networking.hostName = "petalburg";
nixpkgs.overlays = [
(final: prev: {
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
obsidian = prev.obsidian.overrideAttrs (old: {
installPhase =
builtins.replaceStrings ["--ozone-platform=wayland"]
["--ozone-platform=wayland --enable-wayland-ime"]
old.installPhase;
});
vscodium = prev.vscodium.override {commandLineArgs = "--enable-wayland-ime";};
webcord = prev.webcord.overrideAttrs (old: {
installPhase =
builtins.replaceStrings ["--ozone-platform-hint=auto"]
["--ozone-platform-hint=auto --enable-wayland-ime"]
old.installPhase;
});
})
];
system.stateVersion = "24.05";
ar = {
apps = {
firefox.enable = true;
podman.enable = true;
steam.enable = true;
};
desktop = {
greetd.enable = true;
hyprland.enable = true;
sway.enable = true;
};
laptopMode = true;
services.flatpak.enable = true;
users.aly = {
enable = true;
password = "$y$j9T$TitXX3J690cnK41XciNMg/$APKHM/os6FKd9H9aXGxaHaQ8zP5SenO9EO94VYafl43";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
};
};
};
}

View file

@ -1,62 +0,0 @@
{
lib,
pkgs,
self,
...
}: {
home-manager = {
sharedModules = [
{
wayland.windowManager = {
hyprland.settings = {
bind = [
",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause"
];
exec-once = [''${
lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default
} "desc:Samsung Display Corp. 0x4152"''];
input = {
tablet.output = "eDP-1";
touchdevice.output = "eDP-1";
};
};
sway.config = {
input = {
"1386:21186:Wacom_HID_52C2_Finger" = {
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
};
"1386:21186:Wacom_HID_52C2_Pen" = {
map_to_output = "'Samsung Display Corp. 0x4152 Unknown'";
};
};
keybindings = {
"XF86Launch2" = "exec ${lib.getExe pkgs.playerctl} play-pause";
};
output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";};
};
};
ar.home = {
desktop.hyprland = {
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
tabletMode = {
enable = true;
switches = ["Lenovo Yoga Tablet Mode Control switch"];
};
};
services.gammastep.enable = true;
};
}
];
users.aly = self.homeManagerModules.aly;
};
}

View file

@ -1,6 +0,0 @@
{
age.secrets = {
syncthingCert.file = ../../secrets/aly/syncthing/petalburg/cert.age;
syncthingKey.file = ../../secrets/aly/syncthing/petalburg/key.age;
};
}

View file

@ -1,50 +0,0 @@
{
pkgs,
self,
...
}: {
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
image = "${self.inputs.wallpapers}/wallhaven-3lyrvy.png";
imageScalingMode = "fill";
polarity = "dark";
cursor = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 24;
};
fonts = {
monospace = {
name = "CaskaydiaCove Nerd Font";
package = pkgs.nerdfonts.override {fonts = ["CascadiaCode"];};
};
sansSerif = {
name = "UbuntuSans Nerd Font";
package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];};
};
serif = {
name = "Source Serif Pro";
package = pkgs.source-serif-pro;
};
sizes = {
applications = 11;
desktop = 10;
popups = 11;
terminal = 12;
};
};
opacity = {
applications = 1.0;
desktop = 0.8;
terminal = 0.8;
popups = 0.8;
};
};
}

View file

@ -1,3 +0,0 @@
{...}: {
hardware.sensor.iio.enable = true;
}

View file

@ -1,23 +0,0 @@
{
lib,
pkgs,
self,
...
}: {
imports = [
../common.nix
self.nixosModules.hw-common-bluetooth
self.nixosModules.hw-common-intel-cpu
self.nixosModules.hw-common-intel-gpu
self.nixosModules.hw-common-laptop
self.nixosModules.hw-common-laptop-intel-cpu
self.nixosModules.hw-common-ssd
];
boot = {
initrd.availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"];
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
hardware.enableAllFirmware = true;
}

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJBK+QkM3C98BxnJtcEOuxjT7bbUG8gsUafrzW9uKuxz aly@petalburg

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjcWpeYMjNaICoHwedu3tBt7/5tKxXQHCKaUx4ez4jm root@petalburg

View file

@ -4,7 +4,6 @@ let
"lavaridge" "lavaridge"
"mauville" "mauville"
"pacifidlog" "pacifidlog"
"petalburg"
"rustboro" "rustboro"
"slateport" "slateport"
]; ];
@ -13,7 +12,6 @@ let
"aly_lavaridge" "aly_lavaridge"
"aly_mauville" "aly_mauville"
"aly_pacifidlog" "aly_pacifidlog"
"aly_petalburg"
"aly_rustboro" "aly_rustboro"
"aly_slateport" "aly_slateport"
]; ];
@ -33,8 +31,6 @@ in {
"aly/syncthing/mauville/key.age".publicKeys = keys; "aly/syncthing/mauville/key.age".publicKeys = keys;
"aly/syncthing/pacifidlog/cert.age".publicKeys = keys; "aly/syncthing/pacifidlog/cert.age".publicKeys = keys;
"aly/syncthing/pacifidlog/key.age".publicKeys = keys; "aly/syncthing/pacifidlog/key.age".publicKeys = keys;
"aly/syncthing/petalburg/cert.age".publicKeys = keys;
"aly/syncthing/petalburg/key.age".publicKeys = keys;
"aly/syncthing/rustboro/cert.age".publicKeys = keys; "aly/syncthing/rustboro/cert.age".publicKeys = keys;
"aly/syncthing/rustboro/key.age".publicKeys = keys; "aly/syncthing/rustboro/key.age".publicKeys = keys;
"aly/syncthing/slateport/cert.age".publicKeys = keys; "aly/syncthing/slateport/cert.age".publicKeys = keys;

View file

@ -21,7 +21,6 @@
keyFiles = [ keyFiles = [
../../secrets/publicKeys/aly_lavaridge.pub ../../secrets/publicKeys/aly_lavaridge.pub
../../secrets/publicKeys/aly_mauville.pub ../../secrets/publicKeys/aly_mauville.pub
../../secrets/publicKeys/aly_petalburg.pub
../../secrets/publicKeys/aly_rustboro.pub ../../secrets/publicKeys/aly_rustboro.pub
]; ];
}; };

View file

@ -31,7 +31,6 @@ in {
"mauville" = {id = "52MTCMC-PKEWSAU-HADMTZU-DY5EKFO-B323P7V-OBXLNTQ-EJY7F7Y-EUWFBQX";}; # Desktop/homelab "mauville" = {id = "52MTCMC-PKEWSAU-HADMTZU-DY5EKFO-B323P7V-OBXLNTQ-EJY7F7Y-EUWFBQX";}; # Desktop/homelab
"norman" = {id = "IVFUFD4-LUQMX5V-FMUZQD2-EP6GOGQ-LPGYF5M-GFQDTNL-DVNQEA7-WWSWEQL";}; # Pixel 8a "norman" = {id = "IVFUFD4-LUQMX5V-FMUZQD2-EP6GOGQ-LPGYF5M-GFQDTNL-DVNQEA7-WWSWEQL";}; # Pixel 8a
"pacifidlog" = {id = "6EBVXYI-HZW4LQI-T6L3TTI-DZEBXJM-RP3DW7N-BCAG6FC-G2654DN-XJFSLQD";}; # Lenovo Legion Go "pacifidlog" = {id = "6EBVXYI-HZW4LQI-T6L3TTI-DZEBXJM-RP3DW7N-BCAG6FC-G2654DN-XJFSLQD";}; # Lenovo Legion Go
"petalburg" = {id = "ECTD3LW-YZTJIXX-HLQYXT7-UGZSGST-3DDKF72-DJPMDHE-SUYDWIT-ASTKTAE";}; # Yoga 9i
"rustboro" = {id = "7CXGPQN-7DYDYJN-DKELOR3-RD4HZUW-SSUDGLZ-WVXYFUT-DPT2MGD-6PO5BQF";}; # Thinkpad t440p "rustboro" = {id = "7CXGPQN-7DYDYJN-DKELOR3-RD4HZUW-SSUDGLZ-WVXYFUT-DPT2MGD-6PO5BQF";}; # Thinkpad t440p
"slateport" = {id = "MDJFDUG-UJAXQXI-AMEF2AR-PBMD5QK-Z5ZG6AA-RCJCU3M-GZHQQEA-X2JGOAK";}; # homelab "slateport" = {id = "MDJFDUG-UJAXQXI-AMEF2AR-PBMD5QK-Z5ZG6AA-RCJCU3M-GZHQQEA-X2JGOAK";}; # homelab
"winona" = {id = "IGAW5SS-WY2QN6J-5TF74YZ-6XPNPTC-RCH3HIT-ZZQKCAI-6L54IS2-SNRIMA2";}; # Pixel Tablet "winona" = {id = "IGAW5SS-WY2QN6J-5TF74YZ-6XPNPTC-RCH3HIT-ZZQKCAI-6L54IS2-SNRIMA2";}; # Pixel Tablet
@ -42,7 +41,7 @@ in {
"sync" = { "sync" = {
id = "default"; id = "default";
path = "/home/aly/sync"; path = "/home/aly/sync";
devices = ["fallarbor" "gsgmba" "iphone12" "lavaridge" "mauville" "norman" "pacifidlog" "petalburg" "rustboro" "slateport" "winona"]; devices = ["fallarbor" "gsgmba" "iphone12" "lavaridge" "mauville" "norman" "pacifidlog" "rustboro" "slateport" "winona"];
versioning = { versioning = {
type = "staggered"; type = "staggered";
params = { params = {
@ -55,7 +54,7 @@ in {
"screenshots" = { "screenshots" = {
id = "screenshots"; id = "screenshots";
path = "/home/aly/pics/screenshots"; path = "/home/aly/pics/screenshots";
devices = ["fallarbor" "lavaridge" "mauville" "norman" "petalburg" "rustboro" "slateport" "winona"]; devices = ["fallarbor" "lavaridge" "mauville" "norman" "rustboro" "slateport" "winona"];
versioning = { versioning = {
params.cleanoutDays = "5"; params.cleanoutDays = "5";
type = "trashcan"; type = "trashcan";
@ -66,7 +65,7 @@ in {
"music" = { "music" = {
id = "6nzmu-z9der"; id = "6nzmu-z9der";
path = config.ar.users.aly.syncthing.musicPath; path = config.ar.users.aly.syncthing.musicPath;
devices = ["lavaridge" "mauville" "petalburg" "rustboro"]; devices = ["lavaridge" "mauville" "rustboro"];
}; };
}; };
}; };

View file

@ -14,7 +14,6 @@ self: {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
(builtins.readFile ../secrets/publicKeys/aly_lavaridge.pub) (builtins.readFile ../secrets/publicKeys/aly_lavaridge.pub)
(builtins.readFile ../secrets/publicKeys/aly_mauville.pub) (builtins.readFile ../secrets/publicKeys/aly_mauville.pub)
(builtins.readFile ../secrets/publicKeys/aly_petalburg.pub)
(builtins.readFile ../secrets/publicKeys/aly_rustboro.pub) (builtins.readFile ../secrets/publicKeys/aly_rustboro.pub)
]; ];
}; };