im scared for how many files are gonna be changed in this commit
This commit is contained in:
parent
81c53777e4
commit
9c361a2c9e
6 changed files with 34 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
@ -15,6 +15,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
};
|
};
|
||||||
|
programs.adb.enable = true;
|
||||||
|
programs.envision.enable = true;
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
@ -36,6 +38,10 @@
|
||||||
systemd.packages = with pkgs; [lact];
|
systemd.packages = with pkgs; [lact];
|
||||||
systemd.services.lactd.wantedBy = ["multi-user.target"];
|
systemd.services.lactd.wantedBy = ["multi-user.target"];
|
||||||
networking.hostName = "apollo"; # Define your hostname.
|
networking.hostName = "apollo"; # Define your hostname.
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# Qualcomm EDL
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"
|
||||||
|
'';
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
|
|
@ -83,6 +89,14 @@
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xdg.portal.config.common.default = "*";
|
||||||
|
xdg.portal.wlr.enable = true;
|
||||||
|
xdg.portal.wlr.settings.screencast = {
|
||||||
|
chooser_type = "simple";
|
||||||
|
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||||
|
exec_before = "${lib.getExe' pkgs.swaynotificationcenter "swaync-client"} --dnd-on --skip-wait";
|
||||||
|
exec_after = "${lib.getExe' pkgs.swaynotificationcenter "swaync-client"} --dnd-off --skip-wait";
|
||||||
|
};
|
||||||
systemd.services.greetd.serviceConfig = {
|
systemd.services.greetd.serviceConfig = {
|
||||||
Type = "idle";
|
Type = "idle";
|
||||||
StandardInput = "tty";
|
StandardInput = "tty";
|
||||||
|
|
@ -114,6 +128,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
|
|
@ -138,7 +154,7 @@
|
||||||
users.users.maya = {
|
users.users.maya = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Maya";
|
description = "Maya";
|
||||||
extraGroups = [ "networkmanager" "wheel" "libvirtd" "camera" "input"];
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" "camera" "input" "adbusers"];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# thunderbird
|
# thunderbird
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
boot.kernelModules = [ "kvm-intel" "vfio_virqfd" "vhost-net" "v4l2loopback" ];
|
boot.kernelModules = [ "kvm-intel" "vfio_virqfd" "vhost-net" "v4l2loopback" ];
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
options vfio-pci ids=10de:2184,10de:1aeb,10de:1aec,10de:1aed,1b21:1242
|
options vfio-pci ids=1002:6fdf,1002:aaf0,1b21:1242
|
||||||
options v4l2loopback devices=2 video_nr=1,2 card_label="OBS Cam, Virt Cam" exclusive_caps=1
|
options v4l2loopback devices=2 video_nr=1,2 card_label="OBS Cam, Virt Cam" exclusive_caps=1
|
||||||
'';
|
'';
|
||||||
boot.blacklistedKernelModules = ["nouveau"];
|
boot.blacklistedKernelModules = ["nouveau"];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
{pkgs, ...}:{
|
{pkgs, ...}:{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
(envision.overrideAttrs {
|
||||||
|
buildInputs = [pkgs.mesa];
|
||||||
|
})
|
||||||
(lutris.override {
|
(lutris.override {
|
||||||
extraPkgs = pkgs: [
|
extraPkgs = pkgs: [
|
||||||
wine
|
wine
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
};
|
};
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
servers.cssls.enable = true;
|
||||||
|
servers.pylsp.enable = true;
|
||||||
|
servers.html = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
servers.nixd = {
|
servers.nixd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions.offset_encoding = "utf-8";
|
extraOptions.offset_encoding = "utf-8";
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,11 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
prismlauncher
|
prismlauncher
|
||||||
libgpod
|
libgpod
|
||||||
|
ark
|
||||||
|
qv4l2
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
blender-hip
|
blender-hip
|
||||||
|
cinny-desktop
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
mpc
|
mpc
|
||||||
strawberry
|
strawberry
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,10 @@
|
||||||
config = {
|
config = {
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "foot";
|
terminal = "foot";
|
||||||
|
output = {
|
||||||
|
"Dell Inc. DELL P2411H MGMHG1681VAU".pos = "0 1050";
|
||||||
|
"Samsung Electric Company SyncMaster HMDQ202016".pos = "75 0";
|
||||||
|
};
|
||||||
#output = {
|
#output = {
|
||||||
#eDP-1.pos = "0 1362";
|
#eDP-1.pos = "0 1362";
|
||||||
# "Hewlett Packard HP W2371d 6CM2220CSQ".pos = "1366 1050";
|
# "Hewlett Packard HP W2371d 6CM2220CSQ".pos = "1366 1050";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue