mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "4230e24e6523ecefe688587b9d58a504cf5bb325" and "1b8db91b79078d1b16edd15fdcf7ed94937151de" have entirely different histories.
4230e24e65
...
1b8db91b79
1 changed files with 7 additions and 126 deletions
|
@ -1,105 +1,24 @@
|
||||||
|
# hosts/YourHostName/default.nix
|
||||||
{ pkgs, dotfiles, ... }:
|
{ pkgs, dotfiles, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
packageSets = with pkgs; rec {
|
|
||||||
system = [
|
|
||||||
gnutls
|
|
||||||
gsasl
|
|
||||||
libtool
|
|
||||||
patchelf
|
|
||||||
pcre
|
|
||||||
pinentry
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
base = [
|
|
||||||
act
|
|
||||||
bat
|
|
||||||
bitwarden-cli
|
|
||||||
cloudflared
|
|
||||||
delta
|
|
||||||
exa
|
|
||||||
ffmpeg
|
|
||||||
fzf
|
|
||||||
gh
|
|
||||||
# git # already managed by home-manager
|
|
||||||
git-crypt
|
|
||||||
gitui
|
|
||||||
gnupg
|
|
||||||
jq
|
|
||||||
kubectl
|
|
||||||
kubelogin-oidc
|
|
||||||
mosh
|
|
||||||
neovim
|
|
||||||
nixpkgs-fmt
|
|
||||||
ripgrep
|
|
||||||
sops
|
|
||||||
vim
|
|
||||||
wget
|
|
||||||
];
|
|
||||||
|
|
||||||
languages = [
|
|
||||||
crystal
|
|
||||||
deno
|
|
||||||
dotnet-sdk
|
|
||||||
go
|
|
||||||
jdk
|
|
||||||
nil
|
|
||||||
nodejs_20
|
|
||||||
ruby_3_1
|
|
||||||
sbcl
|
|
||||||
shards
|
|
||||||
zig
|
|
||||||
];
|
|
||||||
|
|
||||||
programs = [
|
|
||||||
jetbrains.idea-ultimate
|
|
||||||
jetbrains.phpstorm
|
|
||||||
jetbrains.rider
|
|
||||||
rectangle
|
|
||||||
slack
|
|
||||||
tailscale
|
|
||||||
];
|
|
||||||
|
|
||||||
multimedia = [
|
|
||||||
ffmpeg
|
|
||||||
];
|
|
||||||
|
|
||||||
everything = system ++ base ++ languages ++ programs ++ multimedia;
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [];
|
|
||||||
|
|
||||||
# Absolutely proprietary.
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# Make sure the nix daemon always runs
|
# Make sure the nix daemon always runs
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
# Installs a version of nix, that dosen't need "experimental-features = nix-command flakes" in /etc/nix/nix.conf
|
||||||
|
# services.nix-daemon.package = pkgs.nixFlakes;
|
||||||
|
|
||||||
# enable the gpg agent by default
|
|
||||||
programs.gnupg.agent.enable = true;
|
|
||||||
|
|
||||||
# if you use zsh (the default on new macOS installations),
|
|
||||||
# you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
# Make sure to set the correct values, or everything will break! (in reality,
|
|
||||||
# it will just not build)
|
|
||||||
users.users.alyxia = {
|
users.users.alyxia = {
|
||||||
name = "alyxia";
|
name = "alyxia";
|
||||||
home = "/Users/alyxia";
|
home = "/Users/alyxia";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# enable the gpg agent by default
|
||||||
|
programs.gnupg.agent.enable = true;
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users.alyxia = { pkgs, ... }: {
|
users.alyxia = { pkgs, ... }: {
|
||||||
home = {
|
|
||||||
packages = packageSets.everything;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
@ -135,48 +54,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
onActivation = {
|
onActivation = {
|
||||||
autoUpdate = true;
|
autoUpdate = true;
|
||||||
cleanup = "zap";
|
|
||||||
upgrade = true;
|
upgrade = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
taps = [
|
|
||||||
"drud/ddev"
|
|
||||||
"homebrew/cask"
|
|
||||||
"homebrew/cask-versions"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Please do not the brew.
|
|
||||||
brews = [
|
|
||||||
"composer"
|
|
||||||
"croc"
|
|
||||||
"ddev"
|
|
||||||
"mkcert"
|
|
||||||
"pkg-config"
|
|
||||||
"sdl2"
|
|
||||||
];
|
|
||||||
|
|
||||||
casks = [
|
casks = [
|
||||||
"1password"
|
|
||||||
"1password-cli"
|
|
||||||
"alt-tab"
|
|
||||||
"android-studio"
|
|
||||||
"audacity"
|
|
||||||
"background-music"
|
|
||||||
"db-browser-for-sqlite"
|
|
||||||
"discord"
|
"discord"
|
||||||
"discord-ptb"
|
|
||||||
"docker"
|
|
||||||
"firefox"
|
|
||||||
"google-chrome"
|
|
||||||
"itch"
|
|
||||||
"iterm2"
|
|
||||||
"obs"
|
|
||||||
"raycast"
|
|
||||||
"sequel-ace"
|
|
||||||
"shottr"
|
|
||||||
"spotify"
|
|
||||||
"thunderbird"
|
|
||||||
"visual-studio-code"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue