it finally happened

This commit is contained in:
atagen 2023-04-19 16:41:56 +10:00
parent 2ea78bdd47
commit 56d55e1659
190 changed files with 843 additions and 9368 deletions

52
system/configuration.nix Executable file → Normal file
View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }:
{ inputs, outputs, lib, config, pkgs, ... }:
# let
# lemurs = callPackage ./system/syspkgs/lemurs.nix {};
@ -7,28 +7,31 @@
# in
{
imports = [
# where are we ?
#./wollomi.nix
# ./adrift.nix
./quiver.nix
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.unstable-pkgs
];
};
# home manager should exist for users
<home-manager/nixos>
./cachix.nix
nix = {
registry = lib.mapAttrs(_: value: { flake = value; }) inputs;
settings = {
experimental-features = "nix-command flakes";
};
};
# declarative cachix
(import (builtins.fetchTarball "https://github.com/jonascarpay/declarative-cachix/archive/master.tar.gz"))
# imports = [
];
# # (import (builtins.fetchTarball "https://github.com/jonascarpay/declarative-cachix/archive/master.tar.gz"))
# ];
cachix = [
"nix-community"
];
# cachix = [
# "nix-community"
# ];
nix.extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
@ -37,13 +40,11 @@
systemd.services.NetworkManager-wait-online.enable = false;
environment.pathsToLink = [ "/share/zsh" ];
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.systemd-boot.consoleMode = "max";
boot.loader.systemd-boot.consoleMode = "keep";
boot.loader.timeout = 3;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.loader.systemd-boot.enable = true;
boot.tmpOnTmpfs = true;
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
@ -133,6 +134,7 @@
nix-index
comma
cachix
];
networking.wg-quick.interfaces = {
@ -142,9 +144,9 @@
privateKey = "WD0CNYazB8D19SJvwz/TdPqoWgWCGfTwA7mim16q7UM=";
peers = [
{
publicKey = "QhE7I5TnUuc3gLqSeF9KhOr0oew5v03bpj0EHrEOR2M=";
publicKey = "pu22RCPeJCeiDIE7a1XtWvmv3BdgPp8ugF6AyntW8xU=";
allowedIPs = [ "0.0.0.0/0" ];
endpoint = "89.44.10.66:51820";
endpoint = "89.44.10.114:51820";
persistentKeepalive = 25;
}
];
@ -176,7 +178,7 @@
};
system.stateVersion = "22.05"; # Did you read the comment?
system.stateVersion = "23.05"; # Did you read the comment? # lol no
}