summaryrefslogtreecommitdiffstats
path: root/hjem.nix
blob: 791ca7d53c753eafd8604210e395886ac63fd91f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ config, pkgs, ... }:
{
  imports = [
  ];

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.andrew = {
    isNormalUser = true;

    extraGroups = [
      "networkmanager"
      "wheel"
    ];
    packages = with pkgs; [ ];
  };

  hjem.users.andrew = {
    directory = "/home/andrew";
    files = {

      ".config/sxhkd/sxhkdrc".text = builtins.readFile (
        pkgs.replaceVars ./dotfiles/sxhkd/sxhkdrc {
          dmenu = pkgs.dmenu;
          st = pkgs.st;
          librewolf = pkgs.librewolf;
          pamixer = pkgs.pamixer;
          maim = pkgs.maim;
          xdotool = pkgs.xdotool;
          xclip = pkgs.xclip;
          lockscreen = pkgs.lock-screen;
        }
      );

      ".config/surf/styles/default.css".text = builtins.readFile ./dotfiles/surf/styles/default.css;

    };
    packages = with pkgs; [
      discord
      lazygit
      librewolf
      btop
    ];
  };

}