Compare commits

...

72 Commits

Author SHA1 Message Date
Craige McWhirter 100376a3a4
nixos: bumped to HEAD of 22.11 6 days ago
Craige McWhirter d9d1884e62
nixos: bumped to HEAD of 22.11 2 weeks ago
Craige McWhirter 03eb6f87e4
nixos: bumped to HEAD of 22.11 3 weeks ago
Craige McWhirter ba5057f561
nixos: bumped to HEAD of 22.11 4 weeks ago
Craige McWhirter 6fe68169e4
nixpkgsUnstable: bumped to HEAD of nixos-unstable 1 month ago
Craige McWhirter 580e097f84
nixos: bumped to HEAD of 22.11 1 month ago
Craige McWhirter c09e27c693
nixos: bumped to HEAD of 22.11 1 month ago
Craige McWhirter 2c03442e79
nixos: bumped to HEAD of 22.11 2 months ago
Craige McWhirter 3171b83553
iog: corrected cache 2 months ago
Craige McWhirter 1c6bbeba55
cardano-node: upgraded to v1.35.7
resolves #16
2 months ago
Craige McWhirter 888d7fadcf
nixpkgsUnstable: bumped to HEAD of nixos-unstable 2 months ago
Craige McWhirter c3a55ac674
nixos: bumped to HEAD of 22.11 2 months ago
Craige McWhirter 8462e1d0a8
forgejo: replace gitea with forgejo
resolves #13
2 months ago
Craige McWhirter 19ed4a2485
nixos: bumped to HEAD of 22.11
resolves #5
2 months ago
Craige McWhirter 247e8e99ab
devShell: add tea
resolves #4
2 months ago
Craige McWhirter 06524056aa
librewolf: replace firefox 3 months ago
Craige McWhirter 0c549cbb65
nixos: bumped to HEAD of 22.11 3 months ago
Craige McWhirter a57123ff65
cardano-node: upgrade to v1.35.6 3 months ago
Craige McWhirter 9eeace8a03
nixos: bumped to HEAD of 22.11 3 months ago
Craige McWhirter 4b1911fdd0
nixpkgsUnstable: bumped to HEAD of nixos-unstable 3 months ago
Craige McWhirter 5c4ccd170e
nixos: bumped to HEAD of 22.11 3 months ago
Craige McWhirter 7ed4db1ae8
nixos: bumped to HEAD of 22.11 3 months ago
Craige McWhirter eb8fcc7df4
neomutt: added libnotify for notification support 4 months ago
Craige McWhirter 5e12b85c09
khal: added ncurses caldav client 4 months ago
Craige McWhirter 5d0880b9af
nixpkgsUnstable: bumped to HEAD of nixos-unstable 4 months ago
Craige McWhirter 595f996c30
nixos: bumped to HEAD of 22.11 4 months ago
Craige McWhirter b0b6cb7817
cardano-node: upgrade to v1.35.5 4 months ago
Craige McWhirter f7c3f0e518
nixos: bumped to HEAD of 22.11 4 months ago
Craige McWhirter fa2e620db9
nixos: bumped to HEAD of 22.11 4 months ago
Craige McWhirter bbe5431663
daedalus: bumped to v5.2.0 5 months ago
Craige McWhirter c2c0215e5a
nixos: bumped to HEAD of 22.11 5 months ago
Craige McWhirter 54ea227dbb
nixos: bumped to HEAD of 22.11 5 months ago
Craige McWhirter 86d990cee0
cardano-node: upgrade to v1.35.4 5 months ago
Craige McWhirter 49e08b20e4
haskell: added Haskell-Language-Server & stylish-haskell 5 months ago
Craige McWhirter 93ba6eb929
iog: updated cache 5 months ago
Craige McWhirter 4ceed8aa87
nixpkgsUnstable: bumped to HEAD of nixos-unstable 5 months ago
Craige McWhirter ee1f90d6f8
nixos: bumped to HEAD of 22.11 5 months ago
Craige McWhirter 174f400da9
Merge branch 'nixos-2211' into consensus 5 months ago
Craige McWhirter 649fba826f
matrix: update LC_CTYPE to C.UTF-8 5 months ago
Craige McWhirter f1f5fed00c
nix: renamed to max-jobs 6 months ago
Craige McWhirter 5e8399b5bf
nextcloud: upgraded to SSL v3 6 months ago
Craige McWhirter 2a6e22b3b7
nextcloud: upgraded to v25 6 months ago
Craige McWhirter 577d7589ec
cryptpad: removed upstream in nixpkgs 6 months ago
Craige McWhirter d45ccf089f
golang: removed deprecated vgo2nix 6 months ago
Craige McWhirter e7a1792733
termonad: renamed package to termonad 6 months ago
Craige McWhirter 7325058aa8
minecraft: replaced polymc with prismlauncher 6 months ago
Craige McWhirter 5a4d36f779
nix: renamed nix.maxJobs 6 months ago
Craige McWhirter 0fe09a61d8
nix: renamed nix.autoOptimiseStore 6 months ago
Craige McWhirter ea6a04641f
nix: renamed nix.trustedUsers 6 months ago
Craige McWhirter b942c9b014
nixos: upgraded to 22.11 6 months ago
Craige McWhirter 43c719c5e3
nixos: bumped to HEAD of 22.05 6 months ago
Craige McWhirter 2c75506bc6
nixos: bumped to HEAD of 22.05 7 months ago
Craige McWhirter a3d4a11884
nixos: bumped to HEAD of 22.05 7 months ago
Craige McWhirter d0e9fa567b
nixpkgsUnstable: bumped to HEAD of nixos-unstable 7 months ago
Craige McWhirter ddfa0bfe8e
nixos: bumped to HEAD of 22.05 7 months ago
Craige McWhirter c590ca312f
daedalus: bumped to v5.1.1 7 months ago
Craige McWhirter 275320521b
nixos: bumped to HEAD of 22.05 7 months ago
Craige McWhirter e77a6d6492
nixos: bumped to HEAD of 22.05 7 months ago
Craige McWhirter c11e4bd095
daedalus: bumped to v5.1.0 8 months ago
Craige McWhirter 5f728f0e39
nixos: bumped to HEAD of 22.05 8 months ago
Craige McWhirter 48f241027c
nixos: bumped to HEAD of 22.05 8 months ago
Craige McWhirter a5a41dad52
nixpkgsUnstable: bumped to HEAD of nixos-unstable 8 months ago
Craige McWhirter f70bbbb052
nixos: bumped to HEAD of 22.05 8 months ago
Craige McWhirter 377fe35b81
desktopCraige: added sweethome 8 months ago
Craige McWhirter da98ffcaca
nixos: bumped to HEAD of 22.05 8 months ago
Craige McWhirter 366c2092a4
neovim: added haskell to treefmt 9 months ago
Craige McWhirter 6428e135eb
nixos: bumped to HEAD of 22.05 9 months ago
Craige McWhirter 79bbd9d1e9
nixpkgsUnstable: bumped to HEAD of nixos-unstable 9 months ago
Craige McWhirter 0edaf3c218
nixos: bumped to HEAD of 22.05 9 months ago
Craige McWhirter ec1ec9dea5
daedalus: bumped to v5.0.0 9 months ago
Craige McWhirter a0cb67f5fb
nixos: bumped to HEAD of 22.05 9 months ago
Craige McWhirter 29d16b5c95
nixos: bumped to HEAD of 22.05 9 months ago

@ -14,6 +14,7 @@ with import ./nix args; {
cardanoNodeProject.cardano-cli # required for KES key rotation
niv
nixopsUnstable # work around for issue #127423
tea # Gitea official CLI client
treefmt # one CLI to format the code tree
];
NIX_PATH = "nixpkgs=${sources.nixpkgs}";

@ -64,5 +64,5 @@
swapDevices = [{device = "/dev/disk/by-label/swap";}];
networking.wireless.enable = true; # Enable wireless via wpa_supplicant.
nix.maxJobs = lib.mkDefault 1;
nix.settings.max-jobs = lib.mkDefault 1;
}

@ -20,7 +20,7 @@
swapDevices = [{device = "/dev/disk/by-label/swap";}];
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
nix.maxJobs = lib.mkDefault 4;
nix.settings.max-jobs = lib.mkDefault 4;
services.thinkfan = {
enable = true;

@ -39,5 +39,5 @@
];
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
nix.maxJobs = lib.mkDefault 4;
nix.settings.max-jobs = lib.mkDefault 4;
}

@ -50,5 +50,5 @@
swapDevices = [{device = "/dev/disk/by-label/swap";}];
nix.maxJobs = lib.mkDefault 8;
nix.settings.max-jobs = lib.mkDefault 8;
}

@ -35,5 +35,5 @@
swapDevices = [{device = "/dev/sdb";}];
nix.maxJobs = lib.mkDefault 4;
nix.settings.max-jobs = lib.mkDefault 4;
}

@ -37,5 +37,5 @@
swapDevices = [{device = "/dev/disk/by-uuid/ac308d76-cc12-4a73-83ee-64a2ad07b91e";}];
nix.maxJobs = lib.mkDefault 4;
nix.settings.max-jobs = lib.mkDefault 4;
}

@ -9,8 +9,8 @@
../modules/tmate-ssh-server.nix
../networks/linode.nix
../profiles/coturn.nix
../profiles/cryptpad.nix
../profiles/gitea.nix
#../profiles/cryptpad.nix
../profiles/forgejo.nix
#../profiles/hydra.nix
../profiles/iog.nix
../profiles/ipv6.nix
@ -22,7 +22,7 @@
../profiles/nixpkgs-dev.nix
../profiles/taskserver.nix
../profiles/tt-rss.nix
../secrets/gitea.nix
../secrets/forgejo.nix
../secrets/tt-rss.nix
];

@ -82,7 +82,7 @@
exiftool # A tool to read, write and edit EXIF meta information
ffmpeg-full # record, convert and stream audio and video
file
firefox
librewolf # Firefox fork, focused on privacy, security and freedom
gcc
gimp
gnome2.gvfs
@ -129,7 +129,6 @@
tcpdump # tcpdump
tectonic
tdesktop # Telegram Desktop messaging app
termonad-with-packages
texlive.combined.scheme-full
tmate # Instant Terminal Sharing
tpm-tools
@ -139,7 +138,6 @@
unrar
unzip
vcsh
vgo2nix # Required for packaging Golang applications
wget
wesnoth # Turn-based strategy game
xorg.xev

@ -1,26 +1,26 @@
{
"cardano-node": {
"branch": "refs/tags/1.35.3",
"branch": "refs/tags/1.35.7",
"description": "The core component that is used to participate in a Cardano decentralised blockchain.",
"homepage": "https://cardano.org",
"owner": "input-output-hk",
"repo": "cardano-node",
"rev": "950c4e222086fed5ca53564e642434ce9307b0b9",
"sha256": "020fwimsm24yblr1fmnwx240wj8r3x715p89cpjgnnd8axwf32p0",
"rev": "f0b4ac897dcbefba9fa0d247b204a24543cf55f6",
"sha256": "0s2jkj4mwl03hxg4ff9kyw41s32xbf31rnhag2m1qrglgsh8wzw9",
"type": "tarball",
"url": "https://github.com/input-output-hk/cardano-node/archive/950c4e222086fed5ca53564e642434ce9307b0b9.tar.gz",
"url": "https://github.com/input-output-hk/cardano-node/archive/f0b4ac897dcbefba9fa0d247b204a24543cf55f6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"daedalus": {
"branch": "release/4.11.0",
"branch": "release/5.2.0",
"description": "The open source cryptocurrency wallet for ada, built to grow with the community",
"homepage": "https://daedaluswallet.io/",
"owner": "input-output-hk",
"repo": "daedalus",
"rev": "478ec558705cebfc660b7b4ebba3aa20c6bfb6b6",
"sha256": "124a2v2kjgzlh77f879xbnz2bkgi4vykrqjjcycxh9xyyyfpgfzv",
"rev": "2990f5a44189097b3de2e7e7a19caa8062a8ae7b",
"sha256": "1w2w7qfashbqimcywzvhh0z5jrlfaja04sgi6p5hp08adwad6r92",
"type": "tarball",
"url": "https://github.com/input-output-hk/daedalus/archive/478ec558705cebfc660b7b4ebba3aa20c6bfb6b6.tar.gz",
"url": "https://github.com/input-output-hk/daedalus/archive/2990f5a44189097b3de2e7e7a19caa8062a8ae7b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"iohk-nix": {
@ -68,16 +68,16 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "nixos-22.05",
"branch": "nixos-22.11",
"builtin": false,
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
"homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9a91318fffec81ad009b73fd3b640d2541d87909",
"sha256": "16j9il4a540ihz16dz8bzsxxqwiiyy1i2c1xvs5y7qm9s6v3dr4b",
"rev": "c8a17ce7abc03c50cd072e9e6c9b389c5f61836b",
"sha256": "1fn2yj5hs8jcnlqq63jnz4kqpfbi15gjgsa8grl5wpnhlhzc3dgh",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/9a91318fffec81ad009b73fd3b640d2541d87909.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/c8a17ce7abc03c50cd072e9e6c9b389c5f61836b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgsUnstable": {
@ -86,10 +86,10 @@
"homepage": "",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7b9be38c7250b22d829ab6effdee90d5e40c6e5c",
"sha256": "1jgcsgzvxnc27wby4n7jyp5w67461qm5x519xkpz2h14zbjjndm7",
"rev": "da45bf6ec7bbcc5d1e14d3795c025199f28e0de0",
"sha256": "0f4f9xh4rkgk9in2hzwm371vahppdixbdb73ki1v5dq1r2iv015h",
"type": "tarball",
"url": "https://github.com/nixos/nixpkgs/archive/7b9be38c7250b22d829ab6effdee90d5e40c6e5c.tar.gz",
"url": "https://github.com/nixos/nixpkgs/archive/da45bf6ec7bbcc5d1e14d3795c025199f28e0de0.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}

@ -16,6 +16,8 @@
caprine-bin # an elegant Facebook Messenger desktop app
gopass # password file manager
shared-mime-info # A database of common MIME types
sweethome3d.application # design and visualise homes
termonad # Terminal emulator configurable in Haskell
yt-dlp # Command-line tool to download videos
whalebird # Mastodon, Pleroma and Misskey client
];

@ -24,7 +24,7 @@
brave # Privacy-oriented browser
chromium
element-desktop # A feature-rich client for Matrix.org
firefox # install Firefox with support for plugins
librewolf # Firefox fork, focused on privacy, security and freedom
gnome.gnome-tweaks # A tool to customize advanced GNOME 3 options
google-chrome # A freeware web browser developed by Google
libreoffice-fresh

@ -1,13 +1,18 @@
# NixOps configuration for the hosts running Gitea
# NixOps configuration for the hosts running Forgejo
{
config,
pkgs,
lib,
sources,
...
}: {
}: let
sources = import ../nix/sources.nix;
unstable = import sources.nixpkgsUnstable {};
in {
services.gitea = {
enable = true; # Enable Gitea
appName = "mcwhirter.io: Gitea Service"; # Give the site a name
enable = true; # Enable Forgejo
appName = "mcwhirter.io: Forgejo Service"; # Give the site a name
database = {
type = "postgres"; # Database type
passwordFile = "/run/keys/gitea-dbpass"; # Where to find the password
@ -16,6 +21,7 @@
domain = "source.mcwhirter.io"; # Domain name
rootUrl = "https://source.mcwhirter.io/"; # Root web URL
httpPort = 3002; # Provided unique port
package = unstable.forgejo; # a soft fork of gitea
settings = let
docutils = pkgs.python37.withPackages (ps:
with ps; [
@ -36,7 +42,8 @@
IS_INPUT_FILE = false;
};
ui = {
DEFAULT_THEME = "gitea"; # Set the default theme
DEFAULT_THEME = "forgejo-auto"; # Set the default theme
THEMES = "forgejo-auto,forgejo-light,forgejo-dark,auto,arc-green,gitea";
};
};
};
@ -83,23 +90,23 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."source.mcwhirter.io" = {
# Gitea hostname
# Forgejo hostname
enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Gitea
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Forgejo
};
virtualHosts."git.mcwhirter.io" = {
# Hostname to be redirected
enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Gitea
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Forgejo
globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host
};
virtualHosts."code.mcwhirter.io" = {
# Hostname to be redirected
enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Gitea
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Forgejo
globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host
};
};

@ -7,6 +7,8 @@
environment.systemPackages = with pkgs.haskellPackages; [
cabal-install # Haskell software automation
ghc # Glasgow Haskell Compiler
haskell-language-server # LSP server for GHC
hlint # Haskell source linter
stylish-haskell # simple Haskell code prettifier
];
}

@ -66,12 +66,14 @@
dates = "weekly";
options = "--delete-older-than 90d";
};
autoOptimiseStore = true;
extraOptions = ''
show-trace = true # Enable --show-trace by default for nix
builders-use-substitutes = true # Set builders to use caches
'';
trustedUsers = ["craige"];
settings = {
trusted-users = ["craige"];
auto-optimise-store = true;
};
};
networking = {enableIPv6 = true;};
@ -89,9 +91,11 @@
bat # cat clone with syntax highlighting & Git integration
dnsutils # Bind DNS utilities
fd # A simple, fast and user-friendly alternative to find
(if config.services.xserver.enable
then gitAndTools.gitFull
else git) # Distributed version control system
(
if config.services.xserver.enable
then gitAndTools.gitFull
else git
) # Distributed version control system
htop # interactive process viewer
hwinfo # Hardware detection tool
killall # kill processes by name

@ -9,8 +9,8 @@
i18n = {
extraLocaleSettings = {
LC_COLLATE = "C"; # Ensure correct locale for postgres
LC_CTYPE = "C"; # Ensure correct locale for postgres
LC_COLLATE = "C.UTF-8"; # Ensure correct locale for postgres
LC_CTYPE = "C.UTF-8"; # Ensure correct locale for postgres
};
};
@ -141,8 +141,8 @@
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
TEMPLATE template0
LC_COLLATE = "C"
LC_CTYPE = "C";
LC_COLLATE = "C.UTF-8"
LC_CTYPE = "C.UTF-8";
'';
};
};

@ -11,6 +11,6 @@
environment.systemPackages = with pkgs; [
jre # Required by Minecraft (via polymc)
minecraft # Official launcher for Minecraft
polymc # A free, open source launcher for Minecraft
prismlauncher # A free, open source launcher for Minecraft
];
}

@ -7,7 +7,9 @@
# Install other packages that I require to be used with neomutt.
environment.systemPackages = with pkgs; [
isync # My mail fetcher
khal # CLI calendar application
khard # Console carddav client
libnotify # Notification client for my neomutt setup
lynx # My HTML email viewer
msmtp # My mail sender
neomutt # My MUA

@ -14,7 +14,7 @@
formatter-nvim # A format runner for neovim
fugitive # Vim Git wrapper
fzf-vim # Full path fuzzy file, buffer, mru, tag, finder for Vim
haskell-vim # Syntax Highlighting and Indentation for Haskell
#haskell-vim # Syntax Highlighting and Indentation for Haskell
indentLine # Display thin vertical lines at each indentation level
lualine-nvim
YouCompleteMe # A code-completion engine for Vim
@ -193,6 +193,13 @@
set shiftwidth=2
set expandtab
set textwidth=79
"let g:haskell_enable_quantification = 1 " to enable highlighting of `forall`
"let g:haskell_enable_recursivedo = 1 " to enable highlighting of `mdo` and `rec`
"let g:haskell_enable_arrowsyntax = 1 " to enable highlighting of `proc`
"let g:haskell_enable_pattern_synonyms = 1 " to enable highlighting of `pattern`
"let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles
"let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static`
"let g:haskell_backpack = 1
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.hs :call HaskellSettings()
@ -313,6 +320,7 @@
crystal = treefmt,
cue = treefmt,
go = treefmt,
haskell = treefmt,
javascript = treefmt,
lua = treefmt,
mint = treefmt,

@ -27,7 +27,8 @@
enable = true; # Run regular auto update of all apps installed
startAt = "01:00:00"; # When to run the update
};
package = pkgs.nextcloud24;
enableBrokenCiphersForSSE = false; # force upgrade to SSL v3
package = pkgs.nextcloud25;
};
systemd = {

Loading…
Cancel
Save