diff options
Diffstat (limited to 'modules/git')
-rw-r--r-- | modules/git/cgit.nix | 4 | ||||
-rw-r--r-- | modules/git/git.nix | 9 | ||||
-rw-r--r-- | modules/git/user.nix (renamed from modules/git/compromyse.nix) | 5 |
3 files changed, 4 insertions, 14 deletions
diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index cd29b82..56a9b76 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -18,10 +18,12 @@ in { settings = { root-title = "compromyse: CGIT"; root-desc = "Compromyse's Git Repositories"; - root-readme = "README.md"; + + repository-sort = "age"; enable-commit-graph = true; enable-follow-links = true; + section-from-path = true; source-filter = "${cgit}/lib/cgit/filters/syntax-highlighting.py"; about-filter = "${cgit}/lib/cgit/filters/about-formatting.sh"; diff --git a/modules/git/git.nix b/modules/git/git.nix deleted file mode 100644 index 9888dba..0000000 --- a/modules/git/git.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ lib, ... }: - -{ - environment.etc."gitconfig".text = " - [safe] - directory = * - "; -} - diff --git a/modules/git/compromyse.nix b/modules/git/user.nix index 41596d1..797b452 100644 --- a/modules/git/compromyse.nix +++ b/modules/git/user.nix @@ -1,11 +1,8 @@ { config, ... }: { - users.users.compromyse = { - initialPassword = "testing"; + users.users.git = { isNormalUser = true; openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDljZ44cNtYqvpeGuUsMRekkjiyaCLraX7GHp2BJGyhvUnCpVz7I5K6SGQ92vnEdkbQpUEs29Cw5RTYTKDXcn1zyl7fi/jLWVLgV3Apc7dbJvhQOTfxB24D5EuOR+3nZFtR1C89VNiB55ahqoBAxGMxr9GkOaKplruT1u+UOAW7wRwCGWoC7ySuVRnEoquWsv3ZHZhxTgmM6b8wnOk9K/to0JY51fbZ56OXcUKRUNkq4QzVMWEhWEpOuSFeufOewCjUIcMQkWzjG3XiqF7gBGnNqbvPlWOB3iLbAdOGBfkAxFlzTBGzwNEGWV39AMWHA1dRBKeETo5sHACsorpIQ3IHR3uHz3YccqhzOBqERqU419ioLdHSQt7uXS54AvZ7ZAMm/RZBeFdupT2dhfOdmvY/2ZHHEuP55A3GExlthaFR+SPKc1q/MhtX/+hBhtkPH+RMP/WPgPbXBCLVdL/ul/vGk8CGCFeKAVrexmz5q+5xax/gDIKfS3ynoMCrWxoto2U= raghus2247@gmail.com" ]; - extraGroups = [ "wheel" ]; }; - security.sudo.wheelNeedsPassword = false; } |