Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
teutat3s 2023-03-27 10:45:49 +02:00
commit b3711c5ec2
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
8 changed files with 62 additions and 73 deletions

View file

@ -125,7 +125,7 @@ steps:
from_secret: iso_web_ssh_port
key:
from_secret: iso_web_ssh_key
target: /srv/www/os/download
target: /data/srv/www/os/download
source:
- /var/nix/iso-cache/*.iso
- /var/nix/iso-cache/*.iso.sha256
@ -147,6 +147,6 @@ volumes:
---
kind: signature
hmac: d6187b243c1939eaf2803830e784aa89dd20edda9ba205940cf6caa2c615b6c6
hmac: 6aee0ffe22111bb629c0a79940bfbc3fa75f68c5ed5c4bba68abf6797b87a7ab
...

View file

@ -461,18 +461,6 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 0,
"narHash": "sha256-koC6DBYmLCrgXA+AMHVaODf1uHYPmvcFygHfy3eg6vI=",
"path": "/nix/store/6mfkswqi67m35qwv0vh7kpk8rypbl2rq-source",
"type": "path"
},
"original": {
"id": "nur",
"type": "indirect"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -487,7 +475,6 @@
"nixos": "nixos",
"nixos-22-05": "nixos-22-05",
"nixos-hardware": "nixos-hardware",
"nur": "nur",
"triton-vmtools": "triton-vmtools",
"tritonshell": "tritonshell"
}

View file

@ -56,7 +56,6 @@
nixos,
home,
nixos-hardware,
nur,
agenix,
deploy,
tritonshell,
@ -92,7 +91,6 @@
our = self.lib;
});
})
nur.overlay
agenix.overlays.default
(import ./pkgs)

View file

@ -33,10 +33,10 @@ in {
};
};
loader.systemd-boot.enable = true;
loader.systemd-boot.enable = lib.mkDefault true;
# Use latest LTS linux kernel by default
kernelPackages = pkgs.linuxPackages_6_2;
# Use latest linux kernel by default
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_2;
# Support ntfs drives
supportedFilesystems = ["ntfs"];

View file

@ -15,8 +15,8 @@ in {
};
resumeDevice = mkOption {
type = types.str;
default = "/dev/sda1";
type = types.nullOr types.str;
default = null;
description = "The location of the hibernation resume swap file.";
};
@ -29,7 +29,7 @@ in {
config = {
boot = mkIf cfg.enable {
resumeDevice = cfg.resumeDevice;
resumeDevice = mkIf (cfg.resumeDevice != null) cfg.resumeDevice;
kernelParams = mkIf (cfg.resumeOffset != null) ["resume_offset=${builtins.toString cfg.resumeOffset}"];
};
};

View file

@ -10,7 +10,7 @@
# If you don't want the host to have SSH actually opened up to the net,
# set `services.openssh.openFirewall` to false in your config.
openFirewall = lib.mkDefault true;
passwordAuthentication = false;
passwordAuthentication = lib.mkDefault false;
};
# Service that makes Out of Memory Killer more effective

View file

@ -72,6 +72,7 @@ in {
programs.neovim = import ./nvim {
inherit config;
inherit pkgs;
inherit lib;
};
};
};

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: let
psCfg = config.pub-solar;
@ -42,7 +43,9 @@ in {
universal-ctags
];
plugins = with pkgs.vimPlugins; [
plugins = with pkgs.vimPlugins;
[]
++ lib.optionals (!cfg.lite) [
nvim-cmp
cmp-nvim-lsp
cmp_luasnip