Updated flake and added some server imports
This commit is contained in:
parent
9b75753ae2
commit
d9538c3bcd
4 changed files with 50 additions and 23 deletions
|
|
@ -13,6 +13,9 @@
|
|||
../common/users.nix
|
||||
../common/boot.nix
|
||||
../common/nix.nix
|
||||
# Server-common imports
|
||||
./common/boot.nix
|
||||
./common/nix.nix
|
||||
];
|
||||
|
||||
users.users.user.extraGroups = [ "docker" ];
|
||||
|
|
|
|||
13
hosts/servers/common/nix.nix
Normal file
13
hosts/servers/common/nix.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
environment.etc."channels/nixpkgs".source = inputs.nixpkgs-stable.outPath;
|
||||
|
||||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs-stable;
|
||||
nixPath = [
|
||||
"nixpkgs=/etc/channels/nixpkgs"
|
||||
"/nix/var/nix/profiles/per-user/root/channels"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue