play with config
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
_:
|
||||
|
||||
[
|
||||
"raycast"
|
||||
"1password"
|
||||
]
|
||||
[]
|
||||
|
||||
@@ -21,25 +21,11 @@ in
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = pkgs.callPackage ./casks.nix {};
|
||||
# onActivation.cleanup = "uninstall";
|
||||
|
||||
# These app IDs are from using the mas CLI app
|
||||
# mas = mac app store
|
||||
# https://github.com/mas-cli/mas
|
||||
#
|
||||
# $ nix shell nixpkgs#mas
|
||||
# $ mas search <app name>
|
||||
#
|
||||
# If you have previously added these apps to your Mac App Store profile (but not installed them on this system),
|
||||
# you may receive an error message "Redownload Unavailable with This Apple ID".
|
||||
# This message is safe to ignore. (https://github.com/dustinlyons/nixos-config/issues/83)
|
||||
|
||||
masApps = {
|
||||
# "wireguard" = 1451685025;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable home-manager
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
users.${user} = { pkgs, config, lib, ... }:{
|
||||
@@ -50,14 +36,9 @@ in
|
||||
sharedFiles
|
||||
additionalFiles
|
||||
];
|
||||
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
programs = {} // import ../shared/home-manager.nix { inherit config pkgs lib; };
|
||||
|
||||
# Marked broken Oct 20, 2022 check later to remove this
|
||||
# https://github.com/nix-community/home-manager/issues/3344
|
||||
manual.manpages.enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -4,4 +4,6 @@ with pkgs;
|
||||
let shared-packages = import ../shared/packages.nix { inherit pkgs; }; in
|
||||
shared-packages ++ [
|
||||
dockutil
|
||||
_1password-gui
|
||||
raycast
|
||||
]
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
@@ -11,7 +9,6 @@
|
||||
};
|
||||
|
||||
overlays =
|
||||
# Apply each overlay found in the /overlays directory
|
||||
let path = ../../overlays; in with builtins;
|
||||
map (n: import (path + ("/" + n)))
|
||||
(filter (n: match ".*\\.nix" n != null ||
|
||||
|
||||
@@ -20,7 +20,7 @@ let name = "Christoph Schmatzler";
|
||||
file = "p10k.zsh";
|
||||
}
|
||||
];
|
||||
initExtraFirst = ''
|
||||
initContent = lib.mkBefore ''
|
||||
if [[ -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]]; then
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix.sh
|
||||
|
||||
@@ -8,6 +8,9 @@ with pkgs; [
|
||||
docker-compose
|
||||
gnupg
|
||||
iosevka
|
||||
jujutsu
|
||||
jjui
|
||||
nixfmt
|
||||
jq
|
||||
killall
|
||||
libfido2
|
||||
|
||||
Reference in New Issue
Block a user