Compare commits

...

4 Commits

Author SHA1 Message Date
Alyxia Sother 7318af2f59
[nix] Try out `self` 2024-04-14 12:18:09 +02:00
Alyxia Sother 0d22d6ac7a
[nix] Nix, Poetry & Rustup 2024-04-04 11:32:33 +02:00
Alyxia Sother adec3650aa
[nix] Install Minecraft stuff 2024-04-04 11:32:11 +02:00
Alyxia Sother 573472d75c
[nix] Install ibm-plex 2024-04-04 11:30:57 +02:00
4 changed files with 14 additions and 8 deletions

View File

@ -20,7 +20,7 @@
outputs = { self, nixpkgs, home-manager, dotfiles, darwin }: {
darwinConfigurations."alymac" = darwin.lib.darwinSystem {
system = "x86_64-darwin";
specialArgs = { inherit dotfiles; };
specialArgs = { inherit self; inherit dotfiles; };
modules = [
home-manager.darwinModules.home-manager
./hosts/alymac/default.nix

View File

@ -1,4 +1,4 @@
{ pkgs, lib, dotfiles, ... }:
{ self, pkgs, lib, dotfiles, ... }:
with lib;
let
@ -79,6 +79,7 @@ let
fonts = [
nerdfonts
ibm-plex
];
python = with python311Packages; [
@ -177,7 +178,7 @@ in
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit dotfiles; };
extraSpecialArgs = { inherit self; inherit dotfiles; };
users.alyxia = { pkgs, ... }: {
# Defined further above, generates a list of files to import.
imports = validFiles ./.;
@ -209,7 +210,6 @@ in
taps = [
"drud/ddev"
"homebrew/cask"
"homebrew/cask-versions"
"int128/kubelogin"
];
@ -220,13 +220,17 @@ in
"composer"
"croc"
"ddev"
"deno"
"dotnet"
"ferium"
"gradle"
"kubelogin"
"mkcert"
"nss"
"pinentry-mac"
"pkg-config"
"poetry"
"rustup"
"sdl2"
# Fyra crap, but from Homebrew because someone doesn't know how to
@ -259,6 +263,7 @@ in
"itch"
"iterm2"
"lens"
"minecraft"
"obs"
"orbstack"
"phpstorm"

View File

@ -1,11 +1,11 @@
{ pkgs, dotfiles, ... }:
{ self, pkgs, ... }:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
extraConfig = "source ${dotfiles}/nvim/init.vim";
extraConfig = ''source ~/.dotfiles/nvim/init.vim"source ${self}/nvim/init.vim'';
coc = {
enable = true;

View File

@ -1,11 +1,12 @@
{ dotfiles, ... }:
{ self, ... }:
{
programs.zsh = {
enable = true;
initExtra = ''
export GPG_TTY=$(tty)
source ${dotfiles}/zsh/zshrc
source ~/.dotfiles/zsh/zshrc #source ${self}/zsh/zshrc
source "$HOME/.cargo/env"
[[ -d "$HOME/.local/bin" ]] || mkdir "$HOME/.local/bin"