Compare commits

...

2 commits

Author SHA1 Message Date
Harald Hoyer adb0d8bdde chore: nix fmt
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-16 16:25:12 +01:00
Harald Hoyer 904b1e8cfe feat(m4nix): enable spice
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-01-16 16:24:57 +01:00
4 changed files with 14 additions and 10 deletions

View file

@ -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"
];
} }

View file

@ -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.";

View file

@ -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 {

View file

@ -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;