mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 00:38:36 -05:00
Trying to get macos to work
This commit is contained in:
parent
2199d70812
commit
ec0f5e8e55
4 changed files with 24 additions and 43 deletions
|
|
@ -21,7 +21,7 @@
|
|||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
||||
system = "x86_64-linux";
|
||||
system = "aarch64-darwin";
|
||||
in rec {
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
|
@ -57,6 +57,12 @@
|
|||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [./home/mal/mal.nix];
|
||||
};
|
||||
|
||||
"tyler.mayoff@MAC-C57KK2TC69" = home-manager.lib.homeManagerConfiguration{
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = {inherit inputs outputs; };
|
||||
modules = [./home/hinge/hinge.nix];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,11 +32,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Fonts
|
||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||
#(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||
|
||||
unstable.nix-output-monitor
|
||||
|
||||
|
|
@ -48,15 +47,7 @@
|
|||
restic
|
||||
libnotify
|
||||
|
||||
distrobox
|
||||
|
||||
wl-clipboard
|
||||
usbutils
|
||||
|
||||
yadm
|
||||
|
||||
# Shell
|
||||
bash
|
||||
starship
|
||||
btop
|
||||
ripgrep
|
||||
|
|
@ -125,36 +116,7 @@
|
|||
shellWrapperName = "y";
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.darkman;
|
||||
settings = {
|
||||
lat = 45.408;
|
||||
lng = -74.159;
|
||||
};
|
||||
|
||||
darkModeScripts = {
|
||||
helix-editor = ''
|
||||
sed -i 's/theme = ".*"/theme = "catppuccin_macchiato"/' $HOME/.config/helix/config.toml
|
||||
'';
|
||||
|
||||
alacritty = ''
|
||||
ln -fs ~/.config/alacritty/themes/catppuccin_macchiato.toml ~/.config/alacritty/themes/_active.toml
|
||||
touch ~/.config/alacritty/alacritty.toml
|
||||
'';
|
||||
};
|
||||
|
||||
lightModeScripts = {
|
||||
helix-editor = ''
|
||||
sed -i 's/theme = ".*"/theme = "catppuccin_latte"/' $HOME/.config/helix/config.toml
|
||||
'';
|
||||
|
||||
alacritty = ''
|
||||
ln -fs ~/.config/alacritty/themes/catppuccin_latte.toml ~/.config/alacritty/themes/_active.toml
|
||||
touch ~/.config/alacritty/alacritty.toml
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
|||
13
dot_config/flake/home/hinge/hinge.nix
Normal file
13
dot_config/flake/home/hinge/hinge.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# imports = [../common.nix];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
];
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -f "/home/tyler/.config/chezmoi/key.txt" ]; then
|
||||
mkdir -p "/home/tyler/.config/chezmoi"
|
||||
mkdir -p "${HOME}/.config/chezmoi"
|
||||
chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
|
||||
chmod 600 "/home/tyler/.config/chezmoi/key.txt"
|
||||
chmod 600 "${HOME}/.config/chezmoi/key.txt"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue