refactor: complete overhaul

This commit is contained in:
Nick 2024-11-10 23:40:39 -06:00
parent 2a2b90020b
commit 502c52e191
35 changed files with 19 additions and 5 deletions

0
config/devices/config/desktop.nix Normal file → Executable file
View file

0
config/devices/config/laptop.nix Normal file → Executable file
View file

0
config/devices/config/phone.nix Normal file → Executable file
View file

0
config/devices/config/printers/printer0.nix Normal file → Executable file
View file

0
config/devices/config/printers/printer1.nix Normal file → Executable file
View file

0
config/devices/config/server.nix Normal file → Executable file
View file

0
config/devices/config/synology.nix Normal file → Executable file
View file

0
config/devices/config/tablet.nix Normal file → Executable file
View file

0
config/instances/config/acme.nix Normal file → Executable file
View file

0
config/instances/config/caddy.nix Normal file → Executable file
View file

0
config/instances/config/castopod.nix Normal file → Executable file
View file

0
config/instances/config/forgejo.nix Normal file → Executable file
View file

0
config/instances/config/jellyfin.nix Normal file → Executable file
View file

0
config/instances/config/mastodon.nix Normal file → Executable file
View file

0
config/instances/config/matrix.nix Normal file → Executable file
View file

0
config/instances/config/minecraft.nix Normal file → Executable file
View file

0
config/instances/config/nextcloud.nix Normal file → Executable file
View file

0
config/instances/config/nginx.nix Normal file → Executable file
View file

0
config/instances/config/ollama.nix Normal file → Executable file
View file

0
config/instances/config/owncast.nix Normal file → Executable file
View file

0
config/instances/config/peertube.nix Normal file → Executable file
View file

0
config/instances/config/postgresql.nix Normal file → Executable file
View file

0
config/instances/config/samba.nix Normal file → Executable file
View file

0
config/instances/config/syncthing.nix Normal file → Executable file
View file

0
config/instances/config/synology.nix Normal file → Executable file
View file

0
config/instances/config/vaultwarden.nix Normal file → Executable file
View file

0
config/instances/config/web.nix Normal file → Executable file
View file

0
config/instances/config/wiki.nix Normal file → Executable file
View file

0
config/instances/config/writefreely.nix Normal file → Executable file
View file

0
config/users/config/user0.nix Normal file → Executable file
View file

0
config/users/config/user1.nix Normal file → Executable file
View file

View file

@ -14,5 +14,5 @@
"widget.non-native-theme.enabled" = true; "widget.non-native-theme.enabled" = true;
"browser.link.open_newwindow" = 3; "browser.link.open_newwindow" = 3;
"browser.link.open_newwindow.restriction" = 0; "browser.link.open_newwindow.restriction" = 0;
"webgl.disabled" = false; "webgl.disabled" = true;
} }

View file

@ -17,6 +17,7 @@
extensions = builtins.attrValues { extensions = builtins.attrValues {
inherit (pkgs.vscode-extensions.catppuccin) catppuccin-vsc; inherit (pkgs.vscode-extensions.catppuccin) catppuccin-vsc;
inherit (pkgs.vscode-extensions.eamodio) gitlens; inherit (pkgs.vscode-extensions.eamodio) gitlens;
inherit (pkgs.vscode-extensions.elmtooling) elm-ls-vscode;
inherit (pkgs.vscode-extensions.esbenp) prettier-vscode; inherit (pkgs.vscode-extensions.esbenp) prettier-vscode;
inherit (pkgs.vscode-extensions.haskell) haskell; inherit (pkgs.vscode-extensions.haskell) haskell;
inherit (pkgs.vscode-extensions.james-yu) latex-workshop; inherit (pkgs.vscode-extensions.james-yu) latex-workshop;
@ -42,6 +43,8 @@
"workbench.colorTheme" = "Catppuccin Mocha"; "workbench.colorTheme" = "Catppuccin Mocha";
"workbench.statusBar.visible" = false; "workbench.statusBar.visible" = false;
"editor.multiCursorLimit" = 700000; "editor.multiCursorLimit" = 700000;
"elmLS.disableElmLSDiagnostics" = true;
"elmLS.elmReviewDiagnostics" = "warning";
}; };
}; };
}; };

View file

@ -1,10 +1,9 @@
{ {
description = "Elm Environment"; description = "Elm Environment";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
}; };
outputs = inputs @ { outputs = inputs @ {
flake-parts, flake-parts,
self, self,
@ -17,5 +16,13 @@
./parts ./parts
]; ];
systems = [system]; systems = [system];
perSystem = {pkgs, ...}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
};
_module.args.pkgs-stable = import inputs.nixpkgs-stable {
inherit system;
};
};
}; };
} }

View file

@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
pkgs-stable,
...
}: {
devShells = { devShells = {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = builtins.attrValues { packages = builtins.attrValues {
@ -9,7 +13,7 @@
nil nil
; ;
inherit inherit
(pkgs.elmPackages) (pkgs-stable.elmPackages)
elm elm
elm-format elm-format
elm-land elm-land