Compare commits
3 commits
03fa106aec
...
5e6330d3ea
Author | SHA1 | Date | |
---|---|---|---|
|
5e6330d3ea | ||
|
1c709b5c3b | ||
|
a4ad7810ae |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ result-*
|
|||
|
||||
#ignore vm images
|
||||
*.qcow2
|
||||
.gcroots
|
||||
|
|
|
@ -8,9 +8,11 @@ in {
|
|||
|
||||
settings = {
|
||||
base-url = "https://${host}";
|
||||
enable-login = true;
|
||||
behind-proxy = true;
|
||||
manager-interval = "1h";
|
||||
auth-default-access = "deny-all";
|
||||
enable-signup = true;
|
||||
enable-login = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkIf;
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.dgn-console;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
options.dgn-console = {
|
||||
enable = mkEnableOption "DGNum console setup." // { default = true; };
|
||||
};
|
||||
|
@ -16,21 +13,32 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
console = {
|
||||
keyMap = "fr";
|
||||
};
|
||||
console = { keyMap = "fr"; };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
wget
|
||||
kitty.terminfo
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ neovim wget kitty.terminfo ];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
programs.neovim.vimAlias = true;
|
||||
|
||||
services.nscd.enableNsncd = false;
|
||||
# services.nscd.enableNsncd = false;
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
nsncd = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "nsncd";
|
||||
version = "unstable-2023-10-26";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "nsncd";
|
||||
rev = "47755a26ab3a45a47e55785eb112c817ba1e6bed";
|
||||
hash = "sha256-CSIFbCwXj33t7QW7PTqOXRcOYP/ivTWmK+s/xBZd0VQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-cUM7rYXWpJ0aMiurXBp15IlxAmf/x5uiodxEqBPCQT0=";
|
||||
};
|
||||
})
|
||||
];
|
||||
programs.bash.promptInit = ''
|
||||
FQDN="$(hostname).$(domainname)"
|
||||
# Provide a nice prompt if the terminal supports it.
|
||||
|
|
Loading…
Reference in a new issue