[chore] Add config for new nix box.
This commit is contained in:
+12
-3
@@ -1,4 +1,11 @@
|
||||
{ lib, inputs, config, pkgs, ssh-agent-switcher, ... } :
|
||||
{ lib,
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
ssh-agent-switcher,
|
||||
user,
|
||||
...
|
||||
} :
|
||||
let
|
||||
pathToKeys = ../common/keys/yubi;
|
||||
yubiKeys =
|
||||
@@ -9,6 +16,8 @@ let
|
||||
(key: { ".ssh/${key}.pub".source = "${pathToKeys}/${key}.pub"; })
|
||||
yubiKeys
|
||||
);
|
||||
username = user.name;
|
||||
homeDirectory = user.homeDirectory;
|
||||
in {
|
||||
|
||||
imports = [
|
||||
@@ -31,8 +40,8 @@ in {
|
||||
ghostty.window-decoration = false;
|
||||
|
||||
home = {
|
||||
username = "jmug";
|
||||
homeDirectory = "/home/jmug";
|
||||
username = username;
|
||||
homeDirectory = homeDirectory;
|
||||
|
||||
packages = with pkgs; [
|
||||
# Media
|
||||
|
||||
Reference in New Issue
Block a user