1
Fork 0

feat: added git-secret and stuff

This commit is contained in:
Matei Adriel 2020-04-10 14:51:37 +03:00
parent 52f50ca190
commit 1ea019bf23
9 changed files with 19 additions and 6 deletions

5
.gitignore vendored
View file

@ -1 +1,6 @@
node_modules node_modules
secrets.nix
.gitsecret/keys/random_seed
!*.secret

BIN
.gitsecret/keys/pubring.kbx Normal file

Binary file not shown.

Binary file not shown.

BIN
.gitsecret/keys/trustdb.gpg Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
secrets.nix:4bbdbaf5a1e73f35b556f2eeba1f002c99fd1314b10e7b214f79fa28a18afe04

View file

@ -1,6 +1,10 @@
{ pkgs, ... }: { { pkgs, ... }: {
home-manager.users.adrielus = { home-manager.users.adrielus = {
home.packages = with pkgs; [ gource gitAndTools.hub ]; home.packages = with pkgs; [
gource
gitAndTools.hub
gitAndTools.git-secret
];
programs.git = { programs.git = {
enable = true; enable = true;

View file

@ -1,6 +1,8 @@
{ pkgs, ... }: { { pkgs, ... }: {
home-manager.users.adrielus.home.packages = with pkgs; [ home-manager.users.adrielus.home.packages = with pkgs; [
tree
mkpasswd mkpasswd
gnupg
vscodium vscodium
google-chrome google-chrome
discord discord

View file

@ -1,11 +1,12 @@
{ ... }: { { ... }:
with import ../secrets.nix; {
users = { users = {
mutableUsers = false; mutableUsers = false;
users.adrielus = { users.adrielus = {
isNormalUser = true; inherit hashedPassword;
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" ];
hashedPassword = isNormalUser = true;
"$6$5NX9cuUbX$yjiBbroplRLanLfJ5wNjjsd9rSvN81BCNEnuF2DUgfMa/TPYdl5PUYcWF52VxNbisDPsR2Q5EhgNrgALatpT3/";
}; };
}; };
} }

BIN
secrets.nix.secret Normal file

Binary file not shown.