+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanAdd gducb33ded

main
2.6 KiB87 linesraw
1{ config, pkgs, lib, self, ... }: {
2  imports = [
3    ./hardware.nix
4    ../../mixins/nixos/headful.nix
5    ../../mixins/nixos/backups.nix
6  ];
7
8  home-manager.users.julia.imports = [
9    {
10      programs.kitty.settings.font_size = 15;
11      gtk.font.size = 15;
12      programs.waybar.style = ''
13        * {
14            font-size: 22px;
15        }
16      '';
17      wayland.windowManager.sway.extraSessionCommands = ''
18        export QT_SCALE_FACTOR=1.5
19        export OBS_VKCAPTURE=1
20      '';
21      slippi-launcher = { # enable = true;
22        isoPath = "/home/julia/games/roms/Gamecube/Melee [GALE01]/game.iso";
23        rootSlpPath = "/home/julia/games/melee/replays";
24      };
25      services.wpaperd = { enable = true;
26        settings = {
27          # jana liked this one best
28          "re:LG ULTRAWIDE".path = "/home/julia/images/waneella/motionless/2020/Lull_8450x3560.png";
29        };
30      };
31    }
32    ../../mixins/home/common.nix
33    ../../mixins/home/linux.nix
34    ../../mixins/home/btrfs.nix
35    ../../mixins/home/dev.nix
36    ../../mixins/home/graphical/common.nix
37    ../../mixins/home/graphical/sway.nix
38    ../../mixins/home/graphical/laptop.nix
39    ../../mixins/home/graphical/music.nix
40    ../../mixins/home/graphical/games.nix
41    ../../mixins/home/graphical/media.nix
42  ] ++ builtins.attrValues self.outputs.homeModules;
43
44  programs = {
45    steam.enable = true;
46    appimage = { enable = true; binfmt = true; };
47    nix-ld.enable = true;
48    ydotool.enable = true;
49  };
50
51  services = {
52    openssh.enable = true;
53    flatpak.enable = true;
54    automatic-timezoned.enable = true;
55    framework-control.enable = true;
56    upower.enable = true;
57    # TODO: try dual-function-keys for more options
58    interception-tools = let
59       tools = pkgs.interception-tools;
60       caps2esc = lib.getExe pkgs.interception-tools-plugins.caps2esc;
61    in { enable = true;
62      udevmonConfig = ''
63        - JOB: "${tools}/bin/intercept -g $DEVNODE | ${caps2esc} | ${tools}/bin/uinput -d $DEVNODE"
64          DEVICE:
65            EVENTS:
66              EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
67      '';
68    };
69    udev.packages = [
70      pkgs.input-integrity
71    ];
72    porkbun-ddns = { enable = true;
73      secret-key = config.age.secrets.porkbun-secret.path;
74      api-key = config.age.secrets.porkbun-api.path;
75      ipv6 = true;
76      ipv4 = false;
77      domains = [ "wopr.pineapple.computer" ];
78    };
79  };
80
81  age.secrets = {
82    porkbun-api.file = ../../secrets/porkbun-api.age;
83    porkbun-secret.file = ../../secrets/porkbun-secret.age;
84  };
85
86  networking = { hostName = "WOPR"; networkmanager.enable = true; };
87}