From f10a996725d7d89d2d6fadd60ea4aca1c330f3a9 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 8 Dec 2024 15:44:27 -0600 Subject: [PATCH] WIP --- .../x86_64-linux/bruddy@bruddynix/default.nix | 99 +++++++++++++++++++ systems/x86_64-linux/bruddynix/default.nix | 2 + 2 files changed, 101 insertions(+) create mode 100644 homes/x86_64-linux/bruddy@bruddynix/default.nix diff --git a/homes/x86_64-linux/bruddy@bruddynix/default.nix b/homes/x86_64-linux/bruddy@bruddynix/default.nix new file mode 100644 index 00000000..bea84dda --- /dev/null +++ b/homes/x86_64-linux/bruddy@bruddynix/default.nix @@ -0,0 +1,99 @@ +{ + config, + lib, + namespace, + ... +}: +let + inherit (lib.${namespace}) enabled; +in +{ + khanelinix = { + user = { + enable = true; + # inherit (config.snowfallorg.user) name; + name = "bruddy"; + }; + + programs = { + graphical = { + browsers = { + firefox = { + gpuAcceleration = true; + hardwareDecoding = true; + settings = { + # "dom.ipc.processCount.webIsolated" = 9; + # "dom.maxHardwareConcurrency" = 16; + "media.av1.enabled" = false; + # "media.ffvpx.enabled" = false; + # "media.hardware-video-decoding.force-enabled" = true; + "media.hardwaremediakeys.enabled" = true; + }; + }; + }; + }; + + terminal = { + tools = { + git = { + enable = true; + }; + + run-as-service = enabled; + + ssh = { + enable = true; + + authorizedKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpfTVxQKmkAYOrsnroZoTk0LewcBIC4OjlsoJY6QbB0" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBG8l3jQ2EPLU+BlgtaQZpr4xr97n2buTLAZTxKHSsD" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM7UBwfd7+K0mdkAIb2TE6RzMu6L4wZnG/anuoYqJMPB" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJAZIwy7nkz8CZYR/ZTSNr+7lRBW2AYy1jw06b44zaID" + ]; + }; + }; + }; + }; + + services = { + mpd = { + musicDirectory = "nfs://austinserver.local/mnt/user/data/media/music"; + }; + + # sops = { + # enable = true; + # defaultSopsFile = lib.snowfall.fs.get-file "secrets/khanelinix/khaneliman/default.yaml"; + # sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; + # }; + }; + + system = { + xdg = enabled; + }; + + suites = { + art = enabled; + business = enabled; + common = enabled; + desktop = enabled; + + development = { + enable = true; + + gameEnable = true; + nixEnable = true; + }; + + emulation = enabled; + games = enabled; + music = enabled; + networking = enabled; + photo = enabled; + video = enabled; + }; + + theme.catppuccin = enabled; + }; + + home.stateVersion = "24.11"; +} diff --git a/systems/x86_64-linux/bruddynix/default.nix b/systems/x86_64-linux/bruddynix/default.nix index dac5a15b..65819272 100644 --- a/systems/x86_64-linux/bruddynix/default.nix +++ b/systems/x86_64-linux/bruddynix/default.nix @@ -107,6 +107,8 @@ in realtime = enabled; time = enabled; }; + + user.name = "bruddy"; }; nix.settings = {