Compare commits

...

2 Commits

Author SHA1 Message Date
uttarayan21
497445c854 feat(nixos): enable GNOME, add Droidcam, and update services config
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
2025-12-08 16:58:41 +05:30
uttarayan21
b25638eb9f feat(apps): add "ida" and enable documentation in NixOS config 2025-12-06 21:41:50 +05:30
10 changed files with 33 additions and 5 deletions

View File

@@ -40,5 +40,6 @@ lib.optionalAttrs device.hasGui {
./zed.nix ./zed.nix
./zen.nix ./zen.nix
./vicinae.nix ./vicinae.nix
./ida.nix
]; ];
} }

10
home/apps/ida.nix Normal file
View File

@@ -0,0 +1,10 @@
{
pkgs,
lib,
device,
...
}: {
home.packages = lib.optionals (device.is "ryu") [
pkgs.ida-free
];
}

View File

@@ -31,6 +31,7 @@
./${device.name}/configuration.nix ./${device.name}/configuration.nix
../home/module.nix ../home/module.nix
./documentation.nix
{nixpkgs.overlays = overlays;} {nixpkgs.overlays = overlays;}
../sops.nix ../sops.nix
../stylix.nix ../stylix.nix

7
nixos/documentation.nix Normal file
View File

@@ -0,0 +1,7 @@
{...}: {
documentation.enable = true;
documentation.man.enable = true;
documentation.dev.enable = true;
documentation.doc.enable = true;
documentation.nixos.enable = true;
}

View File

@@ -28,9 +28,9 @@
}; };
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false; systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
systemd.tmpfiles.rules = [ # systemd.tmpfiles.rules = [
"L+ /run/gdm/.config/monitors.xml - - - - ${./monitors.xml}" # "L+ /etc/gdm/.config/monitors.xml - - - - ${./monitors.xml}"
]; # ];
security = { security = {
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
polkit.enable = true; polkit.enable = true;
@@ -103,7 +103,7 @@
}; };
}; };
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
# desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
pipewire = { pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
@@ -140,6 +140,7 @@
# }; # };
# services.wireplumber.configPackages = with pkgs; [ bluez ]; # services.wireplumber.configPackages = with pkgs; [ bluez ];
environment.etc."xdg/monitors.xml".source = ./monitors.xml;
# environment.etc = { # environment.etc = {
# "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = '' # "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
# bluez_monitor.properties = { # bluez_monitor.properties = {

View File

@@ -9,5 +9,6 @@
./gnome-disks.nix ./gnome-disks.nix
./nix-ld.nix ./nix-ld.nix
./gamemode.nix ./gamemode.nix
./droidcam.nix
]; ];
} }

View File

@@ -0,0 +1,5 @@
{...}: {
programs.droidcam = {
enable = true;
};
}

View File

@@ -15,6 +15,7 @@
}; };
ignoreIP = [ ignoreIP = [
"106.219.121.52" "106.219.121.52"
"106.219.122.125"
]; ];
}; };
}; };

View File

@@ -7,6 +7,7 @@
authentication_enabled = true; authentication_enabled = true;
authentication_method = "External"; authentication_method = "External";
}; };
server.port = 9696;
}; };
}; };
}; };

View File

@@ -1 +1 @@
autossh -M 0 -N -D 1080 mirai autossh -M 0 -N -D 1080 tako