feat: added git-secret and stuff
This commit is contained in:
parent
52f50ca190
commit
1ea019bf23
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1 +1,6 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
secrets.nix
|
||||||
|
|
||||||
|
.gitsecret/keys/random_seed
|
||||||
|
!*.secret
|
BIN
.gitsecret/keys/pubring.kbx
Normal file
BIN
.gitsecret/keys/pubring.kbx
Normal file
Binary file not shown.
BIN
.gitsecret/keys/pubring.kbx~
Normal file
BIN
.gitsecret/keys/pubring.kbx~
Normal file
Binary file not shown.
BIN
.gitsecret/keys/trustdb.gpg
Normal file
BIN
.gitsecret/keys/trustdb.gpg
Normal file
Binary file not shown.
1
.gitsecret/paths/mapping.cfg
Normal file
1
.gitsecret/paths/mapping.cfg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
secrets.nix:4bbdbaf5a1e73f35b556f2eeba1f002c99fd1314b10e7b214f79fa28a18afe04
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
BIN
secrets.nix.secret
Normal file
Binary file not shown.
Loading…
Reference in a new issue