diff --git a/flake.nix b/flake.nix index 180c1a6..0abd8f7 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,5 @@ "gabe@gv-workstation" = import ./hosts/home-workstation.nix {inherit inputs outputs;}; "gabe@gv-ubuntu" = import ./hosts/home-workstation.nix {inherit inputs outputs;}; }; - - templates=import ./templates {inherit inputs outputs;}; }; } diff --git a/roles/home-manager/3dprinting.nix b/roles/home-manager/3dprinting.nix index 20be2ff..e360520 100644 --- a/roles/home-manager/3dprinting.nix +++ b/roles/home-manager/3dprinting.nix @@ -4,7 +4,7 @@ lib, ... }: { - # when it gets packaged, will want cadquery and build123d +# when it gets packaged, will want cadquery and build123d home.packages = with pkgs; [ prusa-slicer freecad diff --git a/roles/nixos/gaming.nix b/roles/nixos/gaming.nix deleted file mode 100644 index e42ddde..0000000 --- a/roles/nixos/gaming.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: { - programs.steam = { - enable = true; - extraCompatPackages = with pkgs;[ - proton-ge-bin - ]; - gamescopeSession.enable=true; - }; - programs.gamemode.enable=true; - - hardware.steam-hardware.enable = true; -} diff --git a/templates/default.nix b/templates/default.nix deleted file mode 100644 index 312379a..0000000 --- a/templates/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - inputs, - outputs, - ... -}: { - default={ - path=./default; - description="a basic blank devshell flake"; - }; - hugo = { - path = ./hugo; - description = "a flake for getting a hugo website up and running"; - }; - latex = { - path = ./latex; - description = "A flake containing a basic latex environment"; - }; -} diff --git a/templates/default/.envrc b/templates/default/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/templates/default/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/templates/default/.gitignore b/templates/default/.gitignore deleted file mode 100644 index 92b2793..0000000 --- a/templates/default/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.direnv diff --git a/templates/default/flake.nix b/templates/default/flake.nix deleted file mode 100644 index 848288d..0000000 --- a/templates/default/flake.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - description = "A very basic flake"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { - self, - nixpkgs, - flake-utils, - }: - flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; - in - with pkgs; { - devShells.default = mkShell { - buildInputs = [ - just - ]; - }; - }); -} diff --git a/templates/default/justfile b/templates/default/justfile deleted file mode 100644 index 0e0d4a8..0000000 --- a/templates/default/justfile +++ /dev/null @@ -1,2 +0,0 @@ -default: - just --list diff --git a/templates/hugo/.envrc b/templates/hugo/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/templates/hugo/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/templates/hugo/.gitignore b/templates/hugo/.gitignore deleted file mode 100644 index 6df0c54..0000000 --- a/templates/hugo/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -# Generated files by hugo -/public/ -/resources/_gen/ -/assets/jsconfig.json -hugo_stats.json - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - -# Temporary lock file while building -/.hugo_build.lock - -# for direnv -.direnv diff --git a/templates/hugo/flake.nix b/templates/hugo/flake.nix deleted file mode 100644 index 1eb8c7f..0000000 --- a/templates/hugo/flake.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - description = "hugo development environment"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { - self, - nixpkgs, - flake-utils, - }: - flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; - in - with pkgs; { - devShells.default = mkShell { - buildInputs = [ - hugo - just - rsync - ]; - }; - }); -} diff --git a/templates/hugo/hugo.toml b/templates/hugo/hugo.toml deleted file mode 100644 index dc3dda4..0000000 --- a/templates/hugo/hugo.toml +++ /dev/null @@ -1,21 +0,0 @@ -baseURL = "https://example.com" -title = "Title" -enableRobotsTXT = true - -[markup.goldmark.extensions] -definitionList = true -footnote = true -strikethrough = true -table = true -taskList = true -[markup.goldmark.extensions.extras.insert] -enable = true -[markup.goldmark.extensions.extras.mark] -enable = true -[markup.goldmark.extensions.extras.subscript] -enable = true -[markup.goldmark.extensions.extras.superscript] -enable = true - -[security] -enableInlineShortcodes = true diff --git a/templates/hugo/justfile b/templates/hugo/justfile deleted file mode 100644 index 023c17e..0000000 --- a/templates/hugo/justfile +++ /dev/null @@ -1,10 +0,0 @@ -preview: - hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged - -USER:='root' -HOST:='1.1.1.1' -DIR:='/srv/folder' - -deploy: - hugo --minify - rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder diff --git a/templates/latex/.envrc b/templates/latex/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/templates/latex/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/templates/latex/.gitignore b/templates/latex/.gitignore deleted file mode 100644 index 14491df..0000000 --- a/templates/latex/.gitignore +++ /dev/null @@ -1,279 +0,0 @@ -# Created by https://www.gitignore.io/api/latex -# Edit at https://www.gitignore.io/?templates=latex - -# direnv -.direnv - -*.pdf - -### LaTeX ### -## Core latex/pdflatex auxiliary files: -*.aux -*.lof -*.log -*.lot -*.fls -*.out -*.toc -*.fmt -*.fot -*.cb -*.cb2 -.*.lb -.*tmp - -## Intermediate documents: -*.dvi -*.xdv -*-converted-to.* -# these rules might exclude image files for figures etc. -# *.ps -# *.eps -# *.pdf - -## Generated if empty string is given at "Please type another file name for output:" -.pdf - -## Bibliography auxiliary files (bibtex/biblatex/biber): -*.bbl -*.bcf -*.blg -*-blx.aux -*-blx.bib -*.run.xml - -## Build tool auxiliary files: -*.fdb_latexmk -*.synctex -*.synctex(busy) -*.synctex.gz -*.synctex.gz(busy) -*.pdfsync - -## Build tool directories for auxiliary files -# latexrun -latex.out/ - -## Auxiliary and intermediate files from other packages: -# algorithms -*.alg -*.loa - -# achemso -acs-*.bib - -# amsthm -*.thm - -# beamer -*.nav -*.pre -*.snm -*.vrb - -# changes -*.soc - -# comment -*.cut - -# cprotect -*.cpt - -# elsarticle (documentclass of Elsevier journals) -*.spl - -# endnotes -*.ent - -# fixme -*.lox - -# feynmf/feynmp -*.mf -*.mp -*.t[1-9] -*.t[1-9][0-9] -*.tfm - -#(r)(e)ledmac/(r)(e)ledpar -*.end -*.?end -*.[1-9] -*.[1-9][0-9] -*.[1-9][0-9][0-9] -*.[1-9]R -*.[1-9][0-9]R -*.[1-9][0-9][0-9]R -*.eledsec[1-9] -*.eledsec[1-9]R -*.eledsec[1-9][0-9] -*.eledsec[1-9][0-9]R -*.eledsec[1-9][0-9][0-9] -*.eledsec[1-9][0-9][0-9]R - -# glossaries -*.acn -*.acr -*.glg -*.glo -*.gls -*.glsdefs - -# gnuplottex -*-gnuplottex-* - -# gregoriotex -*.gaux -*.gtex - -# htlatex -*.4ct -*.4tc -*.idv -*.lg -*.trc -*.xref - -# hyperref -*.brf - -# knitr -*-concordance.tex -# TODO Comment the next line if you want to keep your tikz graphics files -*.tikz -*-tikzDictionary - -# listings -*.lol - -# luatexja-ruby -*.ltjruby - -# makeidx -*.idx -*.ilg -*.ind -*.ist - -# minitoc -*.maf -*.mlf -*.mlt -*.mtc[0-9]* -*.slf[0-9]* -*.slt[0-9]* -*.stc[0-9]* - -# minted -_minted* -*.pyg - -# morewrites -*.mw - -# nomencl -*.nlg -*.nlo -*.nls - -# pax -*.pax - -# pdfpcnotes -*.pdfpc - -# sagetex -*.sagetex.sage -*.sagetex.py -*.sagetex.scmd - -# scrwfile -*.wrt - -# sympy -*.sout -*.sympy -sympy-plots-for-*.tex/ - -# pdfcomment -*.upa -*.upb - -# pythontex -*.pytxcode -pythontex-files-*/ - -# tcolorbox -*.listing - -# thmtools -*.loe - -# TikZ & PGF -*.dpth -*.md5 -*.auxlock - -# todonotes -*.tdo - -# vhistory -*.hst -*.ver - -# easy-todo -*.lod - -# xcolor -*.xcp - -# xmpincl -*.xmpi - -# xindy -*.xdy - -# xypic precompiled matrices -*.xyc - -# endfloat -*.ttt -*.fff - -# Latexian -TSWLatexianTemp* - -## Editors: -# WinEdt -*.bak -*.sav - -# Texpad -.texpadtmp - -# LyX -*.lyx~ - -# Kile -*.backup - -# KBibTeX -*~[0-9]* - -# auto folder when using emacs and auctex -./auto/* -*.el - -# expex forward references with \gathertags -*-tags.tex - -# standalone packages -*.sta - -### LaTeX Patch ### -# glossaries -*.glstex - -# End of https://www.gitignore.io/api/latex -._sync_* diff --git a/templates/latex/.latexmkrc b/templates/latex/.latexmkrc deleted file mode 100644 index 6819271..0000000 --- a/templates/latex/.latexmkrc +++ /dev/null @@ -1,2 +0,0 @@ -$pdf_previewer = 'zathura'; -# @default_files=('main.tex'); diff --git a/templates/latex/flake.nix b/templates/latex/flake.nix deleted file mode 100644 index 3029b62..0000000 --- a/templates/latex/flake.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - description = "A very basic flake"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { - self, - nixpkgs, - flake-utils, - }: - flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; - in - with pkgs; { - devShells.default = mkShell { - buildInputs = [ - texliveFull - just - ]; - }; - }); -} diff --git a/templates/latex/justfile b/templates/latex/justfile deleted file mode 100644 index e16895a..0000000 --- a/templates/latex/justfile +++ /dev/null @@ -1,5 +0,0 @@ -preview: - latexmk -pdf -pvc - -clean: - latexmk -c diff --git a/templates/latex/main.tex b/templates/latex/main.tex deleted file mode 100644 index e112422..0000000 --- a/templates/latex/main.tex +++ /dev/null @@ -1,14 +0,0 @@ -\documentclass[letterpaper,10pt]{article} -\usepackage[margin=2cm]{geometry} -\usepackage{tasks} -\usepackage{xcolor} -\usepackage{hyperref} -\usepackage{tabularx} -\usepackage{array} -% adds newline after paragraph, removes indent -\usepackage[skip=10pt plus1pt]{parskip} -\definecolor{linkcolor}{rgb}{0,0.2,0.6} -\hypersetup{colorlinks,breaklinks,urlcolor=linkcolor} - -\begin{document} -\end{document}