Browse Source

update for new usecase

master
Yorick van Pelt 1 year ago
parent
commit
e6419467f9
3 changed files with 16 additions and 4 deletions
  1. 15
    2
      logical/ascanius.nix
  2. 0
    1
      roles/default.nix
  3. 1
    1
      servers.json

+ 15
- 2
logical/ascanius.nix View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:

{
imports =
@@ -8,5 +8,18 @@

system.stateVersion = "17.09";


nix = {
binaryCaches = [
"https://cache.nixos.org"
"https://disciplina.cachix.org"
];
binaryCachePublicKeys = [
"serokell:ic/49yTkeFIk4EBX1CZ/Wlt5fQfV7yCifaJyoM+S3Ss="
"disciplina.cachix.org-1:zDeIFV5cu22v04EUuRITz/rYxpBCGKY82x0mIyEYjxE="
];
};
users.users.lars = {
isNormalUser = true;
openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBze0fBV/Fpz9bz1WKkbPlj8h526ZfduOcQVlA+7j0+yzlT+jX6nLNjXNmIi6JZoERj8lG4/avkagldj+wwqWrKM2xOMgIUx34i+br5+U4Y7DedljfPV9k8eE55SI4BjfO697V7BhHP4eooRUjNVmqSmRAld06hJzMj7irGWHK+RPrK0M1BvGgSV5pL50jzQGd2unxvNuxSk1rWBNfNEGt6ok0G8/ud0Gw5QbcYWzbbnKBB8JsgBct22txtcgVbRyqftD+vpFl0Oyq4tiQbSHqa8qpFyV/wTf4Cs1Zz7WrqH+2xfx+oUsCOfMKuvCI8FKtriAWEmfOM42bBi50v2kj" ];
};
}

+ 0
- 1
roles/default.nix View File

@@ -115,7 +115,6 @@ in
lftp wget rsync

git
nix-repl
rxvt_unicode.terminfo
];
nix.gc.automatic = true;

+ 1
- 1
servers.json View File

@@ -9,7 +9,7 @@
},
"ascanius": {
"pkgs": "channel",
"host": "192.168.1.6"
"host": "localhost"
},
"woodhouse": {
"pkgs": "channel",

Loading…
Cancel
Save