This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-11-24 09:31:15 +00:00
parent f49d802bc2
commit ff91701431
3 changed files with 6 additions and 6 deletions

View File

@@ -21,10 +21,10 @@
};
extraConfig = {
credential = {
"https://git.da.dicos.de".username = lib.mkIf (hyper.host =="NxDCS") "lkurzweg";
"https://git.da.dicos.de".password = lib.mkIf (hyper.host =="NxDCS") "Test";
"https://git.da.dicos.de".username = lib.mkIf (hyper.host == "NxDCS") "lkurzweg";
"https://git.da.dicos.de".password = lib.mkIf (hyper.host == "NxDCS") "Test";
};
url."ssh://git@git.da.dicos.de/".insteadOf = lib.mkIf (hyper.host =="NxDCS") "https://git.da.dicos.de/";
url."ssh://git@git.da.dicos.de/".insteadOf = lib.mkIf (hyper.host == "NxDCS") "https://git.da.dicos.de/";
url."ssh://git@github.com/".insteadOf = "https://github.com/";
pull.rebase = false; # true
};

View File

@@ -30,7 +30,7 @@
home = {
username = hyper.user;
homeDirectory = hyper.home;
stateVersion = pkgs.version;
stateVersion = hyper.pkgs-version;
};
xdg = {
enable = true;

View File

@@ -1,7 +1,6 @@
{ pkgs, ... }@all: with all; {
imports = [
inputs.nixos-wsl.nixosModules.default
./system-modules/base-packages.nix
./system-modules/docker.nix
./system-modules/gc.nix
./system-modules/gpg.nix
@@ -9,7 +8,8 @@
./system-modules/nixd.nix
./system-modules/users.nix
];
system.stateVersion = pkgs.version;
environment.systemPackages = import ./system-modules/base-packages.nix pkgs;
system.stateVersion = hypr.pkgs-version;
wsl = {
defaultUser = hyper.user;
enable = true;