Compare commits

..

1 commit

Author SHA1 Message Date
dependabot[bot]
4247497b76
Merge 4dd2b5bdac into be29a97b84 2023-12-13 15:38:59 +01:00
10 changed files with 25 additions and 41 deletions

@ -1 +1 @@
Subproject commit 00dbd710649422530ae2f14601d99394f9f38753 Subproject commit 5ce901957503313358dcc9b5a0659588aae811d8

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1704277720, "lastModified": 1700795494,
"narHash": "sha256-meAKNgmh3goankLGWqqpw73pm9IvXjEENJloF0coskE=", "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "0dd382b70c351f528561f71a0a7df82c9d2be9a4", "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
"dotfiles": { "dotfiles": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702297498, "lastModified": 1698960542,
"narHash": "sha256-wBeX8mOuPwXzHmPSTwcafa3ioV1r1biBaM4Pz9TQezw=", "narHash": "sha256-prp6oSZ8/WaX4wtZ5eT5CDKDRBAFcMSiJg5S0vSOCmg=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "be29a97b84dbb54e125dac19df3478464b7f76ca", "rev": "ed7352b8353dbf36d27be4df6c16326869eb5026",
"revCount": 456, "revCount": 449,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/keanuplayz/dotfiles" "url": "https://github.com/keanuplayz/dotfiles"
@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702195668, "lastModified": 1700392168,
"narHash": "sha256-Lxmjez0nfNBptdqV5GsXKm7Bb7swjGsrxiLxWJu0tL8=", "narHash": "sha256-v5LprEFx3u4+1vmds9K0/i7sHjT0IYGs7u9v54iz/OA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "33110fb3c7fe6a94b98b641866a5eddb64b7c23f", "rev": "28535c3a34d79071f2ccb68671971ce0c0984d7e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -61,11 +61,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1705033721, "lastModified": 1700854570,
"narHash": "sha256-K5eJHmL1/kev6WuqyqqbS1cdNnSidIZ3jeqJ7GbrYnQ=", "narHash": "sha256-GiwMS5sWSgF/CyZYbm+G5EcgG1VOEyvcsP5lE1L97Aw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a1982c92d8980a0114372973cbdfe0a307f1bdea", "rev": "cbd3f3722ac41a200c1655141e021cf12c3ba4e6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

@ -1,4 +1,4 @@
{ self, pkgs, lib, dotfiles, ... }: { pkgs, lib, dotfiles, ... }:
with lib; with lib;
let let
@ -54,6 +54,7 @@ let
dhall dhall
dhall-json dhall-json
dhall-lsp-server dhall-lsp-server
dotnet-sdk_8
go go
jdk jdk
kotlin kotlin
@ -70,6 +71,7 @@ let
programs = [ programs = [
rectangle rectangle
slack
tailscale tailscale
]; ];
@ -79,7 +81,6 @@ let
fonts = [ fonts = [
nerdfonts nerdfonts
ibm-plex
]; ];
python = with python311Packages; [ python = with python311Packages; [
@ -178,7 +179,7 @@ in
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { inherit self; inherit dotfiles; }; extraSpecialArgs = { inherit dotfiles; };
users.alyxia = { pkgs, ... }: { users.alyxia = { pkgs, ... }: {
# Defined further above, generates a list of files to import. # Defined further above, generates a list of files to import.
imports = validFiles ./.; imports = validFiles ./.;
@ -210,6 +211,7 @@ in
taps = [ taps = [
"drud/ddev" "drud/ddev"
"homebrew/cask"
"homebrew/cask-versions" "homebrew/cask-versions"
"int128/kubelogin" "int128/kubelogin"
]; ];
@ -220,17 +222,11 @@ in
"composer" "composer"
"croc" "croc"
"ddev" "ddev"
"deno"
"dotnet"
"ferium"
"gradle" "gradle"
"kubelogin" "kubelogin"
"mkcert" "mkcert"
"nss"
"pinentry-mac" "pinentry-mac"
"pkg-config" "pkg-config"
"poetry"
"rustup"
"sdl2" "sdl2"
# Fyra crap, but from Homebrew because someone doesn't know how to # Fyra crap, but from Homebrew because someone doesn't know how to
@ -263,9 +259,7 @@ in
"itch" "itch"
"iterm2" "iterm2"
"lens" "lens"
"minecraft"
"obs" "obs"
"orbstack"
"phpstorm" "phpstorm"
"plexamp" "plexamp"
"raycast" "raycast"
@ -273,7 +267,6 @@ in
"rubymine" "rubymine"
"sequel-ace" "sequel-ace"
"shottr" "shottr"
"slack"
"spotify" "spotify"
"steam" "steam"
"texifier" "texifier"

View file

@ -1,11 +1,11 @@
{ self, pkgs, ... }: { pkgs, dotfiles, ... }:
{ {
programs.neovim = { programs.neovim = {
enable = true; enable = true;
package = pkgs.neovim-unwrapped; package = pkgs.neovim-unwrapped;
extraConfig = ''source ~/.dotfiles/nvim/init.vim"source ${self}/nvim/init.vim''; extraConfig = "source ${dotfiles}/nvim/init.vim";
coc = { coc = {
enable = true; enable = true;
@ -17,20 +17,13 @@
filetypes = [ "nix" ]; filetypes = [ "nix" ];
rootPatterns = [ "flake.nix" ]; rootPatterns = [ "flake.nix" ];
"settings.nil" = { "settings.nil" = {
"formatting.command" = [ "nixpkgs-fmt" ]; "formatting.command" = ["nixpkgs-fmt"];
}; };
}; };
"go.goPlsOptions" = { "go.goPlsOptions" = {
completion = true; completion = true;
completeUnimported = true; completeUnimported = true;
}; };
rescript = {
enable = true;
command = "rescript-language-server";
args = [ "--node-ipc" ];
filetypes = [ "rescript" ];
rootPatterns = [ "rescript.json" "bsconfig.json" ];
};
}; };
}; };
}; };

View file

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

View file

@ -46,7 +46,6 @@ let s:plug = funcref('dotfiles#plugman#register')
call s:plug('tpope/vim-projectionist') call s:plug('tpope/vim-projectionist')
call s:plug('tpope/vim-dispatch') call s:plug('tpope/vim-dispatch')
" }}} " }}}
call s:plug('rescript-lang/vim-rescript')
" }}} " }}}
" coc {{{ " coc {{{