-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome-manager.nix
56 lines (49 loc) · 1.65 KB
/
home-manager.nix
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
# This is actually the NixOS module used to enable and setup home-manager
{ inputs, pkgs, config, ... }:
let
user = config.hostOptions.user;
in
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bak";
};
home-manager.users.${user} = {
# Let home-manager manage its own installation.
programs.home-manager.enable = true;
# Add user profile picture.
home.file.".face".source = ./images/backgrounds/deer_sunset.jpg;
# The version of Home-manager used.
home.stateVersion = "22.11";
home.packages = with pkgs; [
# Utilities
clang # Modern C/C++ compiler
xclip # CLI clipboard manager
fd # Find files and directories
ripgrep # Search content of files
ranger # Explore directories and files in the terminal
grex # Get regex from results
rargs # Batch CLI stuff (xargs + awk)
slides # Slideshow in the terminal using Markdown
glow # Render Markdown in the CLI
xxd # Hex dumper
usbutils # lsusb and other utilities
# Nix tools
nixpkgs-fmt # Format Nix files the nixpkgs' way
# Applications
vlc # VLC media player
spotify # Proprietary music streaming
gimp # Edit photos for freeeeeee
anki-bin # Free spaced repetition learning tool
godot_4 # Create games for freeeeeee
wpsoffice # A free office suit
obs-studio # Video/Screen recording and streaming app
ledger-live-desktop # Desktop app to control and update Ledger Nano X HW wallet
inkscape # Vector graphics for freeeeeee
];
};
}