Fix DashVim on server
This commit is contained in:
parent
78023a648c
commit
0f02a1944b
2 changed files with 5 additions and 4 deletions
|
|
@ -76,7 +76,7 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
(inputs.dashvim.nixosModules.dashvim { inherit pkgs; })
|
inputs.dashvim.nixosModules.dashvim
|
||||||
./hardware/server/configuration.nix
|
./hardware/server/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, unstable, ... }:
|
{ config, pkgs, unstable, inputs, ... }:
|
||||||
let
|
let
|
||||||
nextcloud_pw = (builtins.readFile /etc/nixos/nextcloud);
|
nextcloud_pw = (builtins.readFile /etc/nixos/nextcloud);
|
||||||
forgejo_pw = (builtins.readFile /etc/nixos/dbpw/forgejo);
|
forgejo_pw = (builtins.readFile /etc/nixos/dbpw/forgejo);
|
||||||
|
|
@ -18,7 +18,7 @@ let
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
networking.hostName = "dashie";
|
networking.hostName = "server";
|
||||||
networking.domain = "dashie.org";
|
networking.domain = "dashie.org";
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
@ -40,6 +40,7 @@ in
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
packages = [
|
packages = [
|
||||||
|
inputs.dashvim.nixosModules.packages."x86_64-linux".default
|
||||||
unstable.neovim
|
unstable.neovim
|
||||||
pkgs.fuse
|
pkgs.fuse
|
||||||
pkgs.ntfs3g
|
pkgs.ntfs3g
|
||||||
|
|
@ -338,7 +339,7 @@ in
|
||||||
home = "~/.gnupg";
|
home = "~/.gnupg";
|
||||||
sshKeyPaths = [ ];
|
sshKeyPaths = [ ];
|
||||||
};
|
};
|
||||||
defaultSopsFile = ../secrets/secrets.yaml;
|
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||||
secrets.access = { };
|
secrets.access = { };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue