Skip to content

Commit 4cafcea

Browse files
committed
update: lock, emacs, hyprland binds
1 parent 91dce90 commit 4cafcea

11 files changed

Lines changed: 388 additions & 274 deletions

File tree

flake.lock

Lines changed: 127 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
};
5151
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
5252
nixCats.url = "github:BirdeeHub/nixCats-nvim";
53+
emacs-overlay = {
54+
url = "github:nix-community/emacs-overlay";
55+
};
5356
neovim-nightly-overlay = {
5457
url = "github:nix-community/neovim-nightly-overlay";
5558
};

home/hosts/frost/default.nix

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
home.packages = with pkgs; [
1111
btop
12+
qbittorrent
1213
obsidian
1314
fd
1415
unzip
@@ -21,7 +22,6 @@
2122
swww
2223
grimblast
2324
zen-browser
24-
# wineWowPackages.waylandFull
2525
virt-manager
2626
vlc
2727
vesktop
@@ -69,6 +69,18 @@
6969
enable = true;
7070
server.enable = true;
7171
};
72+
lutris = {
73+
enable = true;
74+
extraPackages = with pkgs; [
75+
protonup-qt
76+
mangohud
77+
winetricks
78+
gamescope
79+
gamemode
80+
];
81+
protonPackages = with pkgs; [proton-ge-bin];
82+
winePackages = with pkgs; [wineWowPackages.waylandFull];
83+
};
7284
bat = {
7385
enable = true;
7486
extraPackages = with pkgs.bat-extras; [

home/hosts/frost/hyprland.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@
7777
bind = [
7878
"$mod, return, exec, foot"
7979
"$mod_SHIFT, Q, killactive,"
80-
"$mod_SHIFT, M, exit,"
81-
"$mod_SHIFT, L, exec, wlogout"
80+
"$mod_SHIFT, M, exec, wlogout"
8281
"$mod, D, exec, foot yazi"
8382
"$mod, F, togglefloating"
8483
"$mod_SHIFT, return, exec, fuzzel --show-actions"
@@ -90,12 +89,12 @@
9089
"$mod, XF86AudioLowerVolume, exec, hyprctl hyprsunset gamma +10"
9190
"$mod, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
9291
"$mod, p, exec, grimblast copysave area"
93-
"$mod, x, togglespecialworkspace, scratch"
94-
"$mod_SHIFT, x, movetoworkspace, special:scratch"
95-
"$mod, left, movefocus, l"
96-
"$mod, right, movefocus, r"
97-
"$mod, up, movefocus, u"
98-
"$mod, down, movefocus, d"
92+
"$mod, `, togglespecialworkspace, scratch"
93+
"$mod_SHIFT, `, movetoworkspace, special:scratch"
94+
"$mod, h, movefocus, l"
95+
"$mod, l, movefocus, r"
96+
"$mod, k, movefocus, u"
97+
"$mod, j, movefocus, d"
9998
"$mod, 1, workspace, 1"
10099
"$mod, 2, workspace, 2"
101100
"$mod, 3, workspace, 3"
@@ -116,7 +115,7 @@
116115
"$mod_SHIFT, 9, movetoworkspace, 9"
117116
"$mod, mouse_down, workspace, e+1"
118117
"$mod, mouse_up, workspace, e-1"
119-
"$mod, N, layoutmsg, cyclenext"
118+
"$mod, n, layoutmsg, cyclenext"
120119
"$mod, B, layoutmsg, swapwithmaster master"
121120
];
122121
bindm = [

home/modules/emacs/default.nix

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,43 @@
77
}: let
88
inherit (lib) mkEnableOption mkIf;
99
cfg = config.custom.programs.emacs;
10-
myEmacs = with pkgs; ((emacsPackagesFor emacs-pgtk).emacsWithPackages
11-
(epkgs: (with epkgs; [
12-
lsp-mode
13-
lsp-ui
14-
lsp-ivy
15-
lsp-treemacs
16-
consult
17-
company
18-
diff-hl
19-
doom-modeline
20-
which-key
21-
tree-sitter
22-
dap-mode
23-
orderless
24-
nix-mode
25-
rust-mode
26-
rustic
27-
nixfmt
28-
vertico
29-
marginalia
30-
base16-theme
31-
flycheck
32-
evil
33-
evil-commentary
34-
evil-matchit
35-
ivy
36-
]) ++ (with pkgs; [
37-
alejandra
38-
clang-tools
39-
prettierd
40-
rust-analyzer
41-
ccls
42-
nixd
43-
vscode-langservers-extracted
44-
tinymist
45-
])));
10+
# myEmacs = pkgs.emacsWithPackagesFromUsePackage {
11+
myEmacs = (pkgs.emacsPackagesFor pkgs.emacs-git-pgtk).emacsWithPackages (
12+
epkgs:
13+
(with epkgs; [
14+
base16-theme
15+
dashboard
16+
consult
17+
diff-hl
18+
doom-modeline
19+
which-key
20+
tree-sitter
21+
dap-mode
22+
orderless
23+
nix-mode
24+
typst-ts-mode
25+
web-mode
26+
lsp-mode
27+
rustic
28+
nixfmt
29+
vertico
30+
marginalia
31+
flycheck
32+
corfu
33+
cape
34+
magit
35+
evil
36+
evil-collection
37+
evil-commentary
38+
evil-matchit
39+
])
40+
++ (with pkgs; [
41+
prettierd
42+
nixd
43+
vscode-langservers-extracted
44+
tinymist
45+
])
46+
);
4647
in {
4748
options.custom.programs.emacs = {enable = mkEnableOption "programs.emacs";};
4849

@@ -52,13 +53,13 @@ in {
5253
package = myEmacs;
5354
extraConfig = builtins.readFile ./init.el;
5455
};
55-
56-
services.emacs = {
57-
enable = true;
58-
client.enable = true;
59-
defaultEditor = true;
60-
socketActivation.enable = true;
61-
startWithUserSession = true;
62-
};
6356
};
57+
58+
# services.emacs = {
59+
# enable = true;
60+
# client.enable = true;
61+
# defaultEditor = true;
62+
# socketActivation.enable = true;
63+
# startWithUserSession = true;
64+
# };
6465
}

0 commit comments

Comments
 (0)