Compare commits
2 commits
8edd5423d8
...
adb0d8bdde
Author | SHA1 | Date | |
---|---|---|---|
Harald Hoyer | adb0d8bdde | ||
Harald Hoyer | 904b1e8cfe |
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
defaultSSHKeys = [
|
{
|
||||||
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
|
defaultSSHKeys = [
|
||||||
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg== harald@hoyer.xyz"
|
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNsmP15vH8BVKo7bdvIiiEjiQboPGcRPqJK0+bH4jKD harald@lenovo.fritz.box"
|
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg== harald@hoyer.xyz"
|
||||||
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEd2N6QSpuAXOXmSN5p2MPKyWe+oT5ayMBoRN3rCz/FS6ZI8PG2tntEte8+hkW7X0vA2dtB3aj2jWbqUJoQ8wKs= s22@termux"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNsmP15vH8BVKo7bdvIiiEjiQboPGcRPqJK0+bH4jKD harald@lenovo.fritz.box"
|
||||||
];
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEd2N6QSpuAXOXmSN5p2MPKyWe+oT5ayMBoRN3rCz/FS6ZI8PG2tntEte8+hkW7X0vA2dtB3aj2jWbqUJoQ8wKs= s22@termux"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
with lib;
|
with lib;
|
||||||
with lib.metacfg;
|
with lib.metacfg;
|
||||||
let
|
let
|
||||||
common = import ../../common.nix {};
|
common = import ../../common.nix { };
|
||||||
cfg = config.metacfg.user;
|
cfg = config.metacfg.user;
|
||||||
|
|
||||||
is-linux = pkgs.stdenv.isLinux;
|
is-linux = pkgs.stdenv.isLinux;
|
||||||
is-darwin = pkgs.stdenv.isDarwin;
|
is-darwin = pkgs.stdenv.isDarwin;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.metacfg.user = with types; {
|
options.metacfg.user = with types; {
|
||||||
name = mkOpt types.str "harald" "The user account.";
|
name = mkOpt types.str "harald" "The user account.";
|
||||||
|
|
||||||
fullName = mkOpt types.str "Harald Hoyer" "The full name of the user.";
|
fullName = mkOpt types.str "Harald Hoyer" "The full name of the user.";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
with lib.metacfg;
|
with lib.metacfg;
|
||||||
let
|
let
|
||||||
common = import ../../common.nix {};
|
common = import ../../common.nix { };
|
||||||
cfg = config.metacfg.user;
|
cfg = config.metacfg.user;
|
||||||
defaultIconFileName = "profile.jpg";
|
defaultIconFileName = "profile.jpg";
|
||||||
defaultIcon = pkgs.stdenvNoCC.mkDerivation {
|
defaultIcon = pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
|
|
@ -6,6 +6,9 @@ with lib.metacfg;
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.spice-autorandr.enable = true;
|
||||||
|
services.spice-vdagentd.enable = true;
|
||||||
|
|
||||||
metacfg = {
|
metacfg = {
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
gui.enable = true;
|
gui.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue