Skip to content

Commit

Permalink
feat: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
heraldofsolace committed Dec 8, 2023
1 parent 50d327e commit d5e812f
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 59 deletions.
8 changes: 4 additions & 4 deletions cells/nixos/hosts/andromeda/_hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd" "uinput"];
boot.extraModulePackages = [];
boot.kernelModules = ["kvm-amd" "uinput" "v4l2loopback"];
boot.extraModulePackages = [pkgs.linuxPackages.v4l2loopback];
boot.blacklistedKernelModules = ["rtl8192cu" "rtl_usb" "rtl8192c_common" "rtlwifi"];
boot.extraModprobeConfig = ''
options snd_usb_audio vid=0x1235 pid=0x8211 device_setup=1
Expand Down Expand Up @@ -78,8 +78,8 @@
hardware.logitech.wireless.enableGraphical = true;

hardware.bluetooth.enable = true;
services.udev.packages = [ pkgs.bazecor ];
services.udev.packages = [pkgs.bazecor];
services.udev.extraRules = ''
KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
'';
}
35 changes: 25 additions & 10 deletions cells/nixos/profiles/desktop/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,24 @@
users.groups.realtime = {};
users.groups.uinput = {};
security.pam.loginLimits = [
{ domain = "@realtime"; type = "-"; item = "memlock"; value = "unlimited"; }
{ domain = "@realtime"; type = "-"; item = "rtprio"; value = "95"; }
{ domain = "@realtime"; type = "-"; item = "nice"; value = "-11"; }
{
domain = "@realtime";
type = "-";
item = "memlock";
value = "unlimited";
}
{
domain = "@realtime";
type = "-";
item = "rtprio";
value = "95";
}
{
domain = "@realtime";
type = "-";
item = "nice";
value = "-11";
}
];
# Enable CUPS to print documents.
services.printing.enable = true;
Expand Down Expand Up @@ -46,13 +61,13 @@
LC_TELEPHONE = "en_IN.UTF-8";
LC_TIME = "en_IN.UTF-8";
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
fcitx5-openbangla-keyboard
];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
# fcitx5-openbangla-keyboard
];
};
environment.sessionVariables = {
XMODIFIERS = "@im=fcitx";
Expand Down
24 changes: 12 additions & 12 deletions cells/rpi/sources/generated.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"libcamera": {
"cargoLocks": null,
"date": "2023-10-05",
"date": "2023-10-20",
"extract": null,
"name": "libcamera",
"passthru": null,
Expand All @@ -13,15 +13,15 @@
"name": null,
"owner": "raspberrypi",
"repo": "libcamera",
"rev": "5ff5efbdc35dc61873b950326ca6798c44a37686",
"sha256": "sha256-lKeTKTbrUWhzrEUMDGZO94w5AKAF8x6kUTYFa3hBTFM=",
"rev": "4a23664b2d82136db4346cd6bde38eca0f43ccfb",
"sha256": "sha256-Qn+Wi/q132B+G01KZCNbkSICRQUrZlWPBv+I2oitVQ4=",
"type": "github"
},
"version": "5ff5efbdc35dc61873b950326ca6798c44a37686"
"version": "4a23664b2d82136db4346cd6bde38eca0f43ccfb"
},
"libcamera-apps": {
"cargoLocks": null,
"date": "2023-10-10",
"date": "2023-10-26",
"extract": null,
"name": "libcamera-apps",
"passthru": null,
Expand All @@ -33,15 +33,15 @@
"name": null,
"owner": "raspberrypi",
"repo": "libcamera-apps",
"rev": "7dfea8885ceebc714f9ea018d101963712ac60b9",
"sha256": "sha256-LZkGXbVxfYpe4Oom6LkVtO4SKuiK7e9dv+B1FzTr2Bs=",
"rev": "b7fab73fcbfb94495f4387b96a8b7f7101beb882",
"sha256": "sha256-5DQ7SwDDzZFPu3ff1aLf4T2x0xvzqDrjgZYOw3uHnd0=",
"type": "github"
},
"version": "7dfea8885ceebc714f9ea018d101963712ac60b9"
"version": "b7fab73fcbfb94495f4387b96a8b7f7101beb882"
},
"mediamtx": {
"cargoLocks": null,
"date": "2023-10-11",
"date": "2023-10-27",
"extract": null,
"name": "mediamtx",
"passthru": null,
Expand All @@ -53,10 +53,10 @@
"name": null,
"owner": "bluenviron",
"repo": "mediamtx",
"rev": "b220c8c02000f6074c57c4ea68f686d8498245a9",
"sha256": "sha256-5T4LF+UxMvWG07GCDmt/Jgi5gVb2pG4CjJAIkDCe6fk=",
"rev": "cde19097bdc4695c1f8b26e5f575e732fb97ab91",
"sha256": "sha256-TbntVujGlac5V+27V9QhUpxQTrBUAhus+OFD1u8jbi8=",
"type": "github"
},
"version": "b220c8c02000f6074c57c4ea68f686d8498245a9"
"version": "cde19097bdc4695c1f8b26e5f575e732fb97ab91"
}
}
24 changes: 12 additions & 12 deletions cells/rpi/sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@
{
libcamera = {
pname = "libcamera";
version = "5ff5efbdc35dc61873b950326ca6798c44a37686";
version = "4a23664b2d82136db4346cd6bde38eca0f43ccfb";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "libcamera";
rev = "5ff5efbdc35dc61873b950326ca6798c44a37686";
rev = "4a23664b2d82136db4346cd6bde38eca0f43ccfb";
fetchSubmodules = false;
sha256 = "sha256-lKeTKTbrUWhzrEUMDGZO94w5AKAF8x6kUTYFa3hBTFM=";
sha256 = "sha256-Qn+Wi/q132B+G01KZCNbkSICRQUrZlWPBv+I2oitVQ4=";
};
date = "2023-10-05";
date = "2023-10-20";
};
libcamera-apps = {
pname = "libcamera-apps";
version = "7dfea8885ceebc714f9ea018d101963712ac60b9";
version = "b7fab73fcbfb94495f4387b96a8b7f7101beb882";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "libcamera-apps";
rev = "7dfea8885ceebc714f9ea018d101963712ac60b9";
rev = "b7fab73fcbfb94495f4387b96a8b7f7101beb882";
fetchSubmodules = false;
sha256 = "sha256-LZkGXbVxfYpe4Oom6LkVtO4SKuiK7e9dv+B1FzTr2Bs=";
sha256 = "sha256-5DQ7SwDDzZFPu3ff1aLf4T2x0xvzqDrjgZYOw3uHnd0=";
};
date = "2023-10-10";
date = "2023-10-26";
};
mediamtx = {
pname = "mediamtx";
version = "b220c8c02000f6074c57c4ea68f686d8498245a9";
version = "cde19097bdc4695c1f8b26e5f575e732fb97ab91";
src = fetchFromGitHub {
owner = "bluenviron";
repo = "mediamtx";
rev = "b220c8c02000f6074c57c4ea68f686d8498245a9";
rev = "cde19097bdc4695c1f8b26e5f575e732fb97ab91";
fetchSubmodules = false;
sha256 = "sha256-5T4LF+UxMvWG07GCDmt/Jgi5gVb2pG4CjJAIkDCe6fk=";
sha256 = "sha256-TbntVujGlac5V+27V9QhUpxQTrBUAhus+OFD1u8jbi8=";
};
date = "2023-10-11";
date = "2023-10-27";
};
}
42 changes: 21 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5e812f

Please sign in to comment.