feat: update home-manager configuration

This commit is contained in:
Zhongheng Liu 2025-04-13 13:32:53 +03:00
commit b487953311
Signed by: steven
GPG key ID: 805A28B071DAD84B
18 changed files with 232 additions and 219 deletions

View file

@ -12,7 +12,7 @@
#./dwm
./spec.nix
./hardware-configuration.nix
./custom-hosts.nix
#./custom-hosts.nix
];
# Virtual cam settings: see https://wiki.nixos.org/wiki/OBS_Studio#Using_the_Virtual_Camera
environment.sessionVariables = {
@ -23,6 +23,10 @@
NIXOS_OZONE_WL = "1";
# GTK_IM_MODULE = lib.mkForce "";
};
/*services.jellyfin = {
enable = true;
openFirewall = true;
};*/
services.keyd = {
enable = true;
keyboards = {
@ -156,6 +160,7 @@
nixpkgs = {
overlays = [ ];
config = {
cudaSupport = true;
allowUnfree = true;
permittedInsecurePackages = [ "dotnet-core-combined" ];
};

View file

@ -15,6 +15,6 @@ in
{
networking.extraHosts = ''
# home IP mapping
100.91.33.34 ${rootDomainName} ${builtins.concatStringsSep " " (map (x: x + "." + rootDomainName) subdomains)}
192.168.1.100 ${rootDomainName} ${builtins.concatStringsSep " " (map (x: x + "." + rootDomainName) subdomains)}
'';
}