1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- { config, lib, pkgs, inputs, ... }:
- let
- email = "badya65@gmail.com"
- user = "aya"
- username = "badbayan"
- in {
- users.users.${user} = {
- description = username
- extraGroups = [ "wheel" "audio" "video" "kvm" "tss" "libvirtd" "networkmanager" "adbusers" ]
- initialPassword = user
- isNormalUser = true
- openssh.authorizedKeys.keys = import inputs.self.modules.keys.aya
- }
- networking.firewall.allowedUDPPorts = [ 4242 ]
- nix.buildMachines = builtins.concatLists [
- (lib.optionals (config.networking.hostName != "yama") [{
- hostName = "10.0.0.1"
- maxJobs = 8
- protocol = "ssh-ng"
- publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSVB2anVMK0hoRHdnb2dqYmJQbE1CSmxXbllOelloOGx0V3ZTTDB0NTg3MXEgcm9vdEB5YW1hCg=="
- speedFactor = 2
- sshKey = "/root/.ssh/id_ed25519"
- sshUser = "nixbuilder"
- supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]
- system = "x86_64-linux"
- }])
- ]
- environment.gnome.excludePackages = with pkgs
- home-manager.users.${user} = {
- imports = with inputs.self.modules.home
- dicts
- emacs
- nethack
- obs
- ]
- programs.git = {
- userEmail = email
- userName = username
- }
- dconf.settings = lib.mkIf (config.roles.desktop == "gnome") {
- "org/gnome/shell" = {
- enabled-extensions = [
- "AlphabeticalAppGrid@stuarthayhurst"
- "BingWallpaper@ineffable-gmail.com"
- "caffeine@patapon.info"
-
- ]
- favorite-apps = [
- "google-chrome.desktop"
- "element-desktop.desktop"
- "foot.desktop"
- "emacs.desktop"
- "org.gnome.Nautilus.desktop"
- ]
- }
- "org/gnome/shell/extensions/bingwallpaper" = {
- set-background = false
- }
- "org/gtk/gtk4/settings/file-chooser" = {
- show-hidden = true
- }
- "org/gtk/settings/file-chooser" = {
- show-hidden = true
- }
- }
- home.packages = lib.mkIf (config.roles.desktop != null) (with pkgs
- audacity
- crawlTiles
- eartag
- easyeffects
- element-desktop
- gimp
- google-chrome
- infra-arcana
- lan-mouse
- librewolf-wayland
- remmina
- telegram-desktop
- virt-manager
- ])
- }
- }
|