summaryrefslogtreecommitdiff
path: root/users/ryan/linux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/ryan/linux.nix')
-rw-r--r--users/ryan/linux.nix41
1 files changed, 2 insertions, 39 deletions
diff --git a/users/ryan/linux.nix b/users/ryan/linux.nix
index a86cad1..a93a065 100644
--- a/users/ryan/linux.nix
+++ b/users/ryan/linux.nix
@@ -2,7 +2,6 @@
2 2
3{ 3{
4 imports = [ 4 imports = [
5 ./linux/firefox-nightly
6 ]; 5 ];
7 6
8 home.username = "ryan"; 7 home.username = "ryan";
@@ -11,18 +10,6 @@
11 10
12 nixpkgs.config.allowUnfree = true; 11 nixpkgs.config.allowUnfree = true;
13 12
14 programs.zsh.shellAliases = {
15 ls = "ls -p --color=auto";
16 spt = "spotify_player";
17 python = "python3";
18 };
19
20 # `nix shell nixpkgs#...`/`nix run nixpkgs#...` etc. resolve `nixpkgs` to
21 # this flake's own pinned input instead of fetching latest nixpkgs-unstable.
22 # This is the standalone-HM equivalent of RyanMac's /etc/nix/flake-registry.json.
23 # HM owns the whole ~/.config/nix directory (including nix.conf) so this
24 # doesn't end up writing through guix-dotfiles' `nix-config` symlink - see
25 # MIGRATION.md.
26 xdg.configFile."nix/nix.conf".text = "experimental-features = nix-command flakes\n"; 13 xdg.configFile."nix/nix.conf".text = "experimental-features = nix-command flakes\n";
27 xdg.configFile."nix/registry.json".text = builtins.toJSON { 14 xdg.configFile."nix/registry.json".text = builtins.toJSON {
28 version = 2; 15 version = 2;
@@ -39,8 +26,6 @@
39 ]; 26 ];
40 }; 27 };
41 28
42 # Non-NixOS (Guix), so HM has to write its own fontconfig instead of
43 # relying on a system module.
44 fonts.fontconfig.enable = true; 29 fonts.fontconfig.enable = true;
45 fonts.fontconfig.defaultFonts = { 30 fonts.fontconfig.defaultFonts = {
46 monospace = [ "DejaVu Sans Mono" ]; 31 monospace = [ "DejaVu Sans Mono" ];
@@ -48,9 +33,6 @@
48 serif = [ "DejaVu Serif" ]; 33 serif = [ "DejaVu Serif" ];
49 }; 34 };
50 35
51 # Cursor theme. Replaces the previously hand-vendored Bibata asset (which
52 # embedded oddly-versioned theme names) with nixpkgs' own build - see the
53 # comment in linux/hypr/hyprland.conf for the corresponding env var change.
54 home.pointerCursor = { 36 home.pointerCursor = {
55 enable = true; 37 enable = true;
56 package = pkgs.bibata-cursors; 38 package = pkgs.bibata-cursors;
@@ -60,8 +42,6 @@
60 x11.enable = true; 42 x11.enable = true;
61 }; 43 };
62 44
63 # gpg-agent itself is enabled in common.nix; nixpkgs' pinentry here instead
64 # of depending on Guix's system profile path.
65 services.gpg-agent.pinentry.package = pkgs.pinentry-qt; 45 services.gpg-agent.pinentry.package = pkgs.pinentry-qt;
66 46
67 wayland.windowManager.hyprland = { 47 wayland.windowManager.hyprland = {
@@ -88,26 +68,18 @@
88 "mpv" = { source = ./linux/mpv; recursive = true; }; 68 "mpv" = { source = ./linux/mpv; recursive = true; };
89 69
90 "pulse/client.conf".source = ./linux/pulseaudio/client.conf; 70 "pulse/client.conf".source = ./linux/pulseaudio/client.conf;
91 "spotify-player/app.toml".source = ./linux/spotify-player/app.toml;
92 }; 71 };
93 72
94 home.file = { 73 home.file = {
95 ".local/share/mailvelope" = { source = ./linux/mailvelope; recursive = true; }; 74 # Files that need to be in ~ go here
96 ".local/share/tridactyl" = { source = ./linux/tridactyl; recursive = true; };
97 ".mozilla/native-messaging-hosts/tridactyl.json".source = ./linux/tridactyl/tridactyl.json;
98 }; 75 };
99 76
100 home.packages = with pkgs; [ 77 home.packages = with pkgs; [
101 rustup
102 zoxide
103 pnpm
104 gcc 78 gcc
105 pkg-config 79 pkg-config
106 wttrbar 80 wttrbar
107 wl-clip-persist 81 wl-clip-persist
108 gifski
109 waypaper 82 waypaper
110 spotify-player
111 xwayland 83 xwayland
112 xdg-desktop-portal 84 xdg-desktop-portal
113 xdg-desktop-portal-gtk 85 xdg-desktop-portal-gtk
@@ -121,22 +93,13 @@
121 wl-mirror 93 wl-mirror
122 pyprland 94 pyprland
123 satty 95 satty
124 fluxcd
125 sops 96 sops
126 restic 97 restic
127 kdePackages.kdenlive
128 bluetui 98 bluetui
129 supercell-wx 99 supercell-wx
130 chromium 100 chromium
101 foot
131 102
132 # foot is Guix system-packaged and is the terminal actually wired into
133 # the WM; alacritty's config was carried over from guix-dotfiles but
134 # nothing provided its binary there either - see MIGRATION.md.
135 alacritty
136
137 # Nerd Fonts, replacing the hand-vendored ttf files that used to live in
138 # guix-dotfiles/home-config/fonts (Fira Code and "Monofur For Powerline"
139 # dropped - superseded by these, unreferenced anywhere)
140 nerd-fonts.anonymice 103 nerd-fonts.anonymice
141 nerd-fonts.monofur 104 nerd-fonts.monofur
142 nerd-fonts.lilex 105 nerd-fonts.lilex