feat(aspen/system): Add lusca
A Framework laptop Change-Id: I646e705d12b76c83e8cdcf11c618d07db3a21f0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/11235 Reviewed-by: aspen <root@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
783972182e
commit
d706ebda65
5 changed files with 186 additions and 0 deletions
|
|
@ -30,7 +30,13 @@ rec {
|
|||
|
||||
yerenHome = yeren.activation-script;
|
||||
|
||||
lusca = home ./machines/lusca.nix;
|
||||
|
||||
luscaHome = lusca.activation-script;
|
||||
|
||||
meta.ci.targets = [
|
||||
"ogopogoHome"
|
||||
"luscaHome"
|
||||
"yerenHome"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
32
users/aspen/system/home/machines/lusca.nix
Normal file
32
users/aspen/system/home/machines/lusca.nix
Normal file
|
|
@ -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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue