[feat] Change paths around

This commit is contained in:
Uttarayan Mondal
2024-02-15 06:55:56 +05:30
parent 5ca9d2165c
commit 0aa2ea2a7a
8 changed files with 9 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
}: }:
let let
start-tmux = (import ./scripts/start-tmux.nix) pkgs; start-tmux = (import ../scripts/start-tmux.nix) pkgs;
in in
# https://mipmip.github.io/home-manager-option-search/ # https://mipmip.github.io/home-manager-option-search/
{ {
@@ -20,7 +20,7 @@ in
# Include the results of the hardware scan. # Include the results of the hardware scan.
./tmux.nix ./tmux.nix
./wezterm.nix ./wezterm.nix
./hyprland.nix ../linux/hyprland.nix
]; ];
programs = { programs = {
@@ -149,6 +149,7 @@ in
packages = [ packages = [
pkgs.macchina pkgs.macchina
pkgs.ripgrep
pkgs.alejandra pkgs.alejandra
# pkgs.neovim-nightly # pkgs.neovim-nightly
pkgs.cachix pkgs.cachix
@@ -171,8 +172,8 @@ in
]; ];
file = { file = {
".config/tmux/sessions".source = ../tmux/sessions; ".config/tmux/sessions".source = ../../tmux/sessions;
".config/nvim".source = ../nvim; ".config/nvim".source = ../../nvim;
# # You can also set the file content immediately. # # You can also set the file content immediately.
# ".gradle/gradle.properties".text = '' # ".gradle/gradle.properties".text = ''

View File

@@ -25,6 +25,8 @@
package = pkgs.nix; package = pkgs.nix;
}; };
security.pam.enableSudoTouchIdAuth = true;
programs.bash.enable = true; programs.bash.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;
programs.fish.enable = true; programs.fish.enable = true;

View File

@@ -83,7 +83,7 @@
nix-darwin.lib.darwinSystem { nix-darwin.lib.darwinSystem {
inherit pkgs; inherit pkgs;
modules = [ modules = [
./darwin.nix ./darwin
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager = { home-manager = {
@@ -93,7 +93,7 @@
inherit device; inherit device;
inherit overlays; inherit overlays;
}; };
users.${device.user}.imports = [ ./home.nix ]; users.${device.user}.imports = [ ./common/home.nix ];
}; };
} }
]; ];