grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderhamano againa4b6f88

wafrn-testing
804 B43 linesraw
1{ pkgs, ... }:
2
3let
4  host = import ../hosts.nix;
5  home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
6in
7{
8  imports = [ "${home-manager}/nixos" ];
9
10  nix.settings.trusted-users = [
11    "root"
12    "grace"
13  ];
14
15  users.users.${host.user} = {
16    isNormalUser = true;
17    description = host.user;
18    home = host.home;
19    extraGroups = [
20      "wheel"
21      "networkmanager"
22    ];
23
24    shell = pkgs.fish;
25  };
26
27  programs.fish.enable = true;
28
29  security.sudo.wheelNeedsPassword = false;
30
31  home-manager = {
32    useGlobalPkgs = false;
33    useUserPackages = true;
34    backupFileExtension = "backup";
35
36    users.${host.user} = {
37      imports = [ ../home.nix ];
38
39      home.username = host.user;
40      home.homeDirectory = host.home;
41    };
42  };
43}