writterdeck
This commit is contained in:
@@ -12,21 +12,10 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Shared home-manager modules
|
# Shared home-manager modules
|
||||||
../../modules/home-manager/arch-packages
|
|
||||||
../../modules/home-manager/oh-my-posh
|
../../modules/home-manager/oh-my-posh
|
||||||
../../modules/home-manager/zshrc
|
../../modules/home-manager/zshrc
|
||||||
../../modules/home-manager/alacritty
|
|
||||||
../../modules/home-manager/bat
|
../../modules/home-manager/bat
|
||||||
../../modules/home-manager/fastfetch
|
|
||||||
../../modules/home-manager/hyprland
|
|
||||||
../../modules/home-manager/hyprlock
|
|
||||||
../../modules/home-manager/hyprpaper
|
|
||||||
../../modules/home-manager/awww
|
|
||||||
../../modules/home-manager/hyprsunset
|
|
||||||
../../modules/home-manager/darkman
|
|
||||||
../../modules/home-manager/wlogout
|
|
||||||
../../modules/home-manager/opencode
|
../../modules/home-manager/opencode
|
||||||
../../modules/home-manager/swaync
|
|
||||||
../../modules/home-manager/nvim
|
../../modules/home-manager/nvim
|
||||||
../../modules/home-manager/pi
|
../../modules/home-manager/pi
|
||||||
../../modules/home-manager/tmux
|
../../modules/home-manager/tmux
|
||||||
@@ -41,6 +30,8 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
custom = {
|
custom = {
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -50,19 +41,6 @@ in
|
|||||||
oh-my-posh.enable = true;
|
oh-my-posh.enable = true;
|
||||||
pi.enable = true;
|
pi.enable = true;
|
||||||
nvim.enable = true;
|
nvim.enable = true;
|
||||||
|
|
||||||
hyprland.enable = true;
|
|
||||||
hyprlock.enable = true;
|
|
||||||
hyprpaper.enable = false;
|
|
||||||
hyprsunset.enable = true;
|
|
||||||
wlogout.enable = true;
|
|
||||||
darkman.enable = true;
|
|
||||||
awww.enable = true;
|
|
||||||
opencode.enable = true;
|
|
||||||
alacritty.enable = true;
|
|
||||||
bat.enable = true;
|
|
||||||
fastfetch.enable = true;
|
|
||||||
swaync.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
dotfiles = "${config.home.homeDirectory}/nixos-config/modules/home-manager/hyprland/hypr";
|
dotfiles = "${config.home.homeDirectory}/ndots/modules/home-manager/hyprland/hypr";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.custom.hyprland.enable = lib.mkEnableOption "Hyprland user config";
|
options.custom.hyprland.enable = lib.mkEnableOption "Hyprland user config";
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ in
|
|||||||
monitor = "${monitor}";
|
monitor = "${monitor}";
|
||||||
color = "${bg}";
|
color = "${bg}";
|
||||||
# Prefer a wallpaper? drop `color` above and use:
|
# Prefer a wallpaper? drop `color` above and use:
|
||||||
# path = ~/nixos-config/wallpapers/lock.png
|
# path = ~/ndots/wallpapers/lock.png
|
||||||
# blur_passes = 3
|
# blur_passes = 3
|
||||||
# blur_size = 6
|
# blur_size = 6
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
fzf
|
fzf
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/modules/home-manager/nvim/nvim";
|
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/ndots/modules/home-manager/nvim/nvim";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
tmux
|
tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."tmux/tmux.conf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/modules/home-manager/tmux/tmux.conf";
|
xdg.configFile."tmux/tmux.conf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/ndots/modules/home-manager/tmux/tmux.conf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,11 +44,11 @@
|
|||||||
enc = "openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -salt";
|
enc = "openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -salt";
|
||||||
backup = "packup && rm ~/Documents/packup* && mv ~/packup* ~/Documents/ && rsync --archive --update --copy-links ~/Documents 192.168.3.200:/home/jpporta/ --info=progress2";
|
backup = "packup && rm ~/Documents/packup* && mv ~/packup* ~/Documents/ && rsync --archive --update --copy-links ~/Documents 192.168.3.200:/home/jpporta/ --info=progress2";
|
||||||
gn = "git commit -m \"$(date)\"";
|
gn = "git commit -m \"$(date)\"";
|
||||||
nixs = "cd ~/nixos-config && git add . && sudo nixos-rebuild switch --flake ~/nixos-config#jpporta-nixos";
|
nixs = "cd ~/ndots && git add . && sudo nixos-rebuild switch --flake ~/ndots#jpporta-nixos";
|
||||||
nix-search = "nix --extra-experimental-features \"nix-command flakes\" search nixpkgs";
|
nix-search = "nix --extra-experimental-features \"nix-command flakes\" search nixpkgs";
|
||||||
nix-garbage = "sudo nix-collect-garbage -d && sudo nixos-rebuild switch";
|
nix-garbage = "sudo nix-collect-garbage -d && sudo nixos-rebuild switch";
|
||||||
nix-update = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
nix-update = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
||||||
hms = "cd ~/nixos-config && git add . && home-manager switch --flake . ";
|
hms = "cd ~/ndots && git add . && home-manager switch --flake .#jpporta-deck";
|
||||||
s = "sesh connect $(sesh list | fzf)";
|
s = "sesh connect $(sesh list | fzf)";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user