darwin pkgs support sucks fr

This commit is contained in:
Kulvir Singh
2025-01-10 22:47:01 +05:30
parent f3417e1987
commit d54160c4db
13 changed files with 198 additions and 24 deletions

View File

@@ -24,9 +24,9 @@
home-manager = {
backupFileExtension = "hnm";
extraSpecialArgs = {inherit username email outputs;};
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit username email outputs;};
users.${username} = import ./home.nix;
};
}

View File

@@ -6,13 +6,14 @@
...
}: {
imports = [
# ../../home-modules/alacritty.nix
../../home-modules/git.nix
../../home-modules/kitty.nix
../../home-modules/nvim.nix
../../home-modules/shell.nix
../../home-modules/starship.nix
../../home-modules/tmux.nix
# ../../modules/alacritty.nix
../../modules/git.nix
../../modules/kitty.nix
../../modules/nvim.nix
../../modules/shell.nix
../../modules/starship.nix
../../modules/tmux.nix
../../modules/zed.nix
];
home.packages = [
@@ -24,8 +25,9 @@
pkgs.python314 # coz awsebcli requires python in $PATH
pkgs.pnpm
pkgs.discord # not working without overlays (darwin sucks)
pkgs.discord # nigga ain't working properly
pkgs.redis
pkgs.zed-editor
];
nixpkgs = {

View File

@@ -3,9 +3,7 @@
config,
...
}: {
environment.systemPackages = [
pkgs.fastfetch
];
environment.systemPackages = [];
environment.variables = {
MANPAGER = "nvim +Man!";
@@ -32,12 +30,12 @@
caskArgs = {
appdir = "/Applications";
require_sha = true;
}
# require_sha = true;
};
# darwin support for packages sucks
casks = [
"firefox"
"firefox" # some dependancy issue
"raycast"
"obsidian"
"spotify"
@@ -57,6 +55,6 @@
cleanup = "zap";
};
taps = []
taps = [];
};
}

View File

@@ -8,8 +8,7 @@
nixpkgs.config.allowUnfree = true;
# Cross-compile GNU/Linux binaries, or even full GNU/Linux system images
# from someone's config, could be useful but idk
# nix.linux-builder.enable = true;
nix.linux-builder.enable = true;
nix.settings.experimental-features = "nix-command flakes";
@@ -20,7 +19,7 @@
nix.gc = {
user = "root";
automatic = lib.mkDefault true;
options = lib.mkDefault "--delete-older-than 7d";
options = lib.mkDefault "--delete-older-than 4d";
};
# Disable auto-optimise-store because of this issue: