Compare commits
10 Commits
7844d4f376
...
d8c069b83b
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | d8c069b83b | |
Zynh Ludwig | 0d2734734a | |
Zynh Ludwig | f1ddb87f03 | |
Zynh Ludwig | a52be13048 | |
Zynh Ludwig | 41e1f7239a | |
Zynh Ludwig | 56d5b70499 | |
Zynh Ludwig | 57d67276a0 | |
Zynh Ludwig | 659d9d7cf8 | |
Zynh Ludwig | 1294bb4972 | |
Zynh Ludwig | beb50655f6 |
|
@ -1,17 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.snowhawk.direnv;
|
||||
in
|
||||
{
|
||||
options.snowhawk.direnv = {
|
||||
enable = lib.mkEnableOption "direnv home-manager module";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -3,7 +3,6 @@
|
|||
let
|
||||
cfg = config.snowhawk.git;
|
||||
macos = config.snowhawk.macos.enable;
|
||||
direnv = config.snowhawk.direnv.enable;
|
||||
|
||||
sshifyPushUrl =
|
||||
let
|
||||
|
@ -36,8 +35,6 @@ in
|
|||
ignores = [
|
||||
"Session.vim"
|
||||
(lib.mkIf macos ".DS_Store")
|
||||
(lib.mkIf direnv ".direnv/")
|
||||
(lib.mkIf direnv ".envrc")
|
||||
];
|
||||
|
||||
aliases = {
|
||||
|
|
|
@ -36,7 +36,6 @@ in
|
|||
extraConfig = ''
|
||||
set-option -g renumber-windows on
|
||||
set-option -g focus-events on
|
||||
set-option -g terminal-features 'alacritty:RGB'
|
||||
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
serviceConfig = {
|
||||
Type = "simple";
|
||||
RemainAfterExit = "true";
|
||||
ExecStart = "${lib.getExe pkgs.ethtool} -s enp7s0 wol g";
|
||||
ExecStart = "${pkgs.ethtool}/sbin/ethtool -s enp7s0 wol g";
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||
# of just the bare essentials.
|
||||
powerManagement.enable = true;
|
||||
powerManagement.enable = false;
|
||||
|
||||
# Fine-grained power management. Turns off GPU when not in use.
|
||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
|
|
|
@ -13,10 +13,10 @@ in
|
|||
package = neovim-package;
|
||||
};
|
||||
snowhawk = {
|
||||
direnv.enable = true;
|
||||
alacritty.enable = true;
|
||||
theme.enable = true;
|
||||
projects.enable = true;
|
||||
lazygit.enable = true;
|
||||
dunst.enable = true;
|
||||
sops.enable = true;
|
||||
defaultPrograms.enable = true;
|
||||
|
|
Loading…
Reference in New Issue