~cyplo/dotfiles

ref: 077d5b46ab8e0f39f9ff80865df09e222dc4d01a dotfiles/nixos/home-other-os.nix -rw-r--r-- 1.6 KiB
077d5b46 — Cyryl Płotnicki nvidia drivers for foureighty 6 months ago
                                                                                
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{ config, pkgs, ... }:

let
  unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz;
  dotfiles = "/home/cyryl/dev/dotfiles";
in
  {
    nixpkgs.config = {
      allowUnfree = true;
      packageOverrides = pkgs: {
        unstable = import unstableTarball {
          config = config.nixpkgs.config;
        };
      };
    };

    home.sessionVariables = {
      LOCALE_ARCHIVE=/usr/lib/locale/locale-archive;
    };

    targets.genericLinux.enable = true;
    home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;

    imports = [
      ./git/home.nix
      ./home-manager/programs/tmux.nix
      ./home-manager/programs/zsh.nix
      ./home-manager/links.nix
      ./home-manager/programs/vim.nix
    ];
    programs = {
      home-manager.enable = true;

      z-lua = {
        enable = true;
        enableAliases = true;
        enableBashIntegration = true;
        enableZshIntegration = true;
      };

      gpg = {
        enable = true;
        settings = {
        };
      };
      taskwarrior.enable = true;
      fzf.enable = true;
      go.enable = true;
      bat.enable = true;
      lsd.enable = true;
      lsd.enableAliases = true;
    };
    home.packages = with pkgs; [
      aria
      atop
      bfg-repo-cleaner
      curl
      dnsutils
      docker-compose
      du-dust
      fd
      file
      fontconfig
      git
      hsetroot
      htop
      imagemagick
      jmtpfs
      jq
      ripgrep
      rustup
      terraform
      tmux
      unstable.exercism
      unstable.genpass
      unstable.topgrade
      unzip
      wget
      whois
    ];
  }