From d706ebda657909211ca0089d575888a6ec94c426 Mon Sep 17 00:00:00 2001 From: Aspen Smith Date: Fri, 22 Mar 2024 18:36:00 -0400 Subject: feat(aspen/system): Add lusca A Framework laptop Change-Id: I646e705d12b76c83e8cdcf11c618d07db3a21f0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/11235 Reviewed-by: aspen Tested-by: BuildkiteCI --- users/aspen/system/home/default.nix | 6 ++++++ users/aspen/system/home/machines/lusca.nix | 32 ++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 users/aspen/system/home/machines/lusca.nix (limited to 'users/aspen/system/home') diff --git a/users/aspen/system/home/default.nix b/users/aspen/system/home/default.nix index f821999b9957..90df02b378f6 100644 --- a/users/aspen/system/home/default.nix +++ b/users/aspen/system/home/default.nix @@ -30,7 +30,13 @@ rec { yerenHome = yeren.activation-script; + lusca = home ./machines/lusca.nix; + + luscaHome = lusca.activation-script; + meta.ci.targets = [ + "ogopogoHome" + "luscaHome" "yerenHome" ]; } diff --git a/users/aspen/system/home/machines/lusca.nix b/users/aspen/system/home/machines/lusca.nix new file mode 100644 index 000000000000..94d7fda4b599 --- /dev/null +++ b/users/aspen/system/home/machines/lusca.nix @@ -0,0 +1,32 @@ +{ pkgs, lib, config, ... }: + +let + inherit (builtins) pathExists; +in +{ + imports = [ + ../platforms/linux.nix + ../modules/common.nix + + ../modules/email.nix + ../modules/desktop.nix + ] ++ (lib.optional (pathExists ../modules/private.nix) + ../modules/private.nix); + + home.username = lib.mkForce "aspen"; + home.homeDirectory = lib.mkForce "/home/aspen"; + + # for when hacking + programs.home-manager.enable = true; + home.stateVersion = "20.03"; + + system.machine = { + wirelessInterface = "wlp1s0"; + i3FontSize = 9; + battery = 1; + }; + + home.packages = with pkgs; [ discord steam tdesktop ]; + + xsession.windowManager.i3.config.keybindings.XF86AudioMedia = "exec lock"; +} -- cgit 1.4.1