stuff
This commit is contained in:
parent
1f9b248c04
commit
78c6679987
7 changed files with 48 additions and 32 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -17,11 +17,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689503327,
|
"lastModified": 1689605451,
|
||||||
"narHash": "sha256-qVwzYLA8oT2oWNDXO0A3bZHOhoPOihIB9T677+Hor1E=",
|
"narHash": "sha256-u2qp2k9V1smCfk6rdUcgMKvBj3G9jVvaPHyeXinjN9E=",
|
||||||
"owner": "Nixos",
|
"owner": "Nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f64b9738da8e86195766147e9752c67fccee006c",
|
"rev": "53657afe29748b3e462f1f892287b7e254c26d77",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ lib, pkgs, modulesPath, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
appimage-run
|
appimage-run
|
||||||
bat
|
bat
|
||||||
|
|
@ -23,10 +23,10 @@
|
||||||
zstd
|
zstd
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = lib.mkDefault true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = lib.mkDefault true;
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = lib.mkDefault true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = lib.mkDefault true;
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = lib.mkDefault true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
@ -43,10 +43,10 @@
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
|
||||||
services.xserver.layout = "us";
|
services.xserver.layout = "us";
|
||||||
systemd.services.display-manager.restartIfChanged = false;
|
systemd.services.display-manager.restartIfChanged = false;
|
||||||
|
services.xserver.displayManager.sddm.enable = lib.mkDefault true;
|
||||||
|
services.xserver.desktopManager.plasma5.enable = lib.mkDefault true;
|
||||||
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
||||||
elisa
|
elisa
|
||||||
konsole
|
konsole
|
||||||
|
|
@ -65,8 +65,15 @@
|
||||||
};
|
};
|
||||||
nixpkgs.config = { allowUnfree = true; };
|
nixpkgs.config = { allowUnfree = true; };
|
||||||
|
|
||||||
|
systemd.extraConfig = ''
|
||||||
|
DefaultTimeoutStopSec=15s
|
||||||
|
'';
|
||||||
|
|
||||||
time.timeZone = "US/Pacific";
|
time.timeZone = "US/Pacific";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
7
systems/NOcamp.nix
Normal file
7
systems/NOcamp.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
qgroundcontrol
|
||||||
|
qgis-ltr
|
||||||
|
arduino
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib, pkgs, modulesPath, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
# mesa
|
||||||
openrgb
|
openrgb
|
||||||
gwe
|
gwe
|
||||||
liquidctl
|
liquidctl
|
||||||
|
|
@ -42,8 +43,8 @@
|
||||||
script = ''
|
script = ''
|
||||||
liquidctl -m nzxt set sync speed 100
|
liquidctl -m nzxt set sync speed 100
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
partOf = [ "graphical-session.target" ];
|
# partOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.openrgb ];
|
services.udev.packages = [ pkgs.openrgb ];
|
||||||
|
|
@ -52,13 +53,14 @@
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
|
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
|
||||||
|
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
driSupport = true;
|
||||||
|
driSupport32Bit = true;
|
||||||
|
};
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, modulesPath, pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -23,10 +23,6 @@
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,10 @@ in
|
||||||
gcc
|
gcc
|
||||||
gh
|
gh
|
||||||
gdb
|
gdb
|
||||||
|
# gnumake
|
||||||
|
# pkg-config
|
||||||
|
# libftdi
|
||||||
|
# libusb
|
||||||
keepassxc
|
keepassxc
|
||||||
libsForQt5.kdeconnect-kde
|
libsForQt5.kdeconnect-kde
|
||||||
lldb
|
lldb
|
||||||
|
|
|
||||||
18
uwuraid.nix
18
uwuraid.nix
|
|
@ -2,22 +2,22 @@
|
||||||
services.rpcbind.enable = true;
|
services.rpcbind.enable = true;
|
||||||
systemd.mounts = let commonMountOptions = { type = "nfs"; mountConfig = { Options = "noatime"; }; }; in
|
systemd.mounts = let commonMountOptions = { type = "nfs"; mountConfig = { Options = "noatime"; }; }; in
|
||||||
[
|
[
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/anime"; where = "/mnt/uwuraid/anime"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/anime"; where = "/mnt/uwuraid/anime"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/backup"; where = "/mnt/uwuraid/backup"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/backup"; where = "/mnt/uwuraid/backup"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/everything"; where = "/mnt/uwuraid/everything"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/everything"; where = "/mnt/uwuraid/everything"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/syncthing"; where = "/mnt/uwuraid/syncthing"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/movies"; where = "/mnt/uwuraid/syncthing"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/television"; where = "/mnt/uwuraid/television"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/photos"; where = "/mnt/uwuraid/television"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/photos"; where = "/mnt/uwuraid/photos"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/syncthing"; where = "/mnt/uwuraid/photos"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/movies"; where = "/mnt/uwuraid/movies"; })
|
(commonMountOptions // { what = "100.86.160.104:/mnt/user/television"; where = "/mnt/uwuraid/movies"; })
|
||||||
];
|
];
|
||||||
systemd.automounts = let commonAutoMountOptions = { wantedBy = [ "multi-user.target" ]; automountConfig = { TimeoutIdleSec = "60"; }; }; in
|
systemd.automounts = let commonAutoMountOptions = { wantedBy = [ "multi-user.target" ]; automountConfig = { TimeoutIdleSec = "60"; }; }; in
|
||||||
[
|
[
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/anime"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/anime"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
|
||||||
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/movies"; })
|
||||||
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
|
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/movies"; })
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue