1
0
Fork 0
This commit is contained in:
Malte Brandy 2018-05-30 02:19:25 +02:00
parent 347cd43d54
commit 1ba110f58b
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
10 changed files with 22 additions and 6 deletions

4
.gitmodules vendored
View file

@ -11,8 +11,8 @@
path = home-common/graphical/rofi/zzzfoo
url = https://github.com/andersju/zzzfoo.git
[submodule "modules/cdarknet/hosts"]
path = system/modules/cdarknet/hosts
path = system/cdarknet/hosts
url = git@git.darmstadt.ccc.de:cdark.net/hosts
[submodule "modules/cdarknet/nixdark"]
path = system/modules/cdarknet/nixdark
path = system/cdarknet/nixdark
url = git@git.darmstadt.ccc.de:cdark.net/nixdark

View file

@ -105,19 +105,20 @@
imports = [
./taskwarrior.nix
../modules/force-copies.nix
./force-copies.nix
];
home.packages = with pkgs; [
htop
tree
rxvt_unicode.terminfo
st.terminfo
most
socat
nmap
tcpdump
git-crypt
rcm
tmux
tig

View file

@ -3,10 +3,11 @@
# channel = 18.03
imports = [
./secret-option.nix
./laptop.nix
./admin.nix
./syncthing.nix
modules/cdarknet
./cdarknet
];
i18n = {
@ -37,6 +38,7 @@
environment = {
systemPackages = with pkgs; [
git-crypt
git
gnumake
python3

View file

@ -1,4 +1,5 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
with lib;
{
options = {
m-0.laptop.enable = mkOption {

10
system/secret-option.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, pkgs, lib, ... }:
with lib;
{
options = {
m-0.secrets = mkOption {
default = {};
type = types.attrs;
};
};
}

2
system/secret/.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
* filter=git-crypt diff=git-crypt
.gitattributes !filter !diff

BIN
system/secret/default.nix Normal file

Binary file not shown.