diff --git a/home/framework/default.nix b/home/framework/default.nix index fca9640..2d4cdac 100644 --- a/home/framework/default.nix +++ b/home/framework/default.nix @@ -15,6 +15,10 @@ vesktop telegram-desktop nixvim + gnuradio + rtl_433 + urh + sdrpp ]; sessionPath = ["~/.local/bin"]; sessionVariables = { diff --git a/home/framework/programs/alacritty/default.nix b/home/framework/programs/alacritty/default.nix new file mode 100644 index 0000000..2f37518 --- /dev/null +++ b/home/framework/programs/alacritty/default.nix @@ -0,0 +1,68 @@ +{...}: { + programs.alacritty = { + enable = true; + + settings = { + general.live_config_reload = true; + env.TERM = "xterm-256color"; + bell.duration = 0; + cursor.style = "Block"; + + scrolling = { + history = 10000; + multiplier = 3; + }; + + window = { + opacity = 0.9; + }; + + mouse.bindings = [ + { + mouse = "Middle"; + action = "PasteSelection"; + } + ]; + + colors = { + primary = { + background = "0x000000"; + foreground = "0xeaeaea"; + }; + + # normal = { + # black = "0x000000"; + # red = "0xd54e53"; + # green = "0xb9ca4a"; + # yellow = "0xe6c547"; + # blue = "0x7aa6da"; + # magenta = "0xc397d8"; + # cyan = "0x70c0ba"; + # white = "0xffffff"; + # }; + # + # bright = { + # black = "0x666666"; + # red = "0xff3334"; + # green = "0x9ec400"; + # yellow = "0xe7c547"; + # blue = "0x7aa6da"; + # magenta = "0xb77ee0"; + # cyan = "0x54ced6"; + # white = "0xffffff"; + # }; + # + # dim = { + # black = "0x333333"; + # red = "0xf2777a"; + # green = "0x99cc99"; + # yellow = "0xffcc66"; + # blue = "0x6699cc"; + # magenta = "0xcc99cc"; + # cyan = "0x66cccc"; + # white = "0xdddddd"; + # }; + }; + }; + }; +} diff --git a/home/framework/programs/default.nix b/home/framework/programs/default.nix index fe984d6..705f0af 100644 --- a/home/framework/programs/default.nix +++ b/home/framework/programs/default.nix @@ -1,4 +1,5 @@ [ + ./alacritty ./firefox ./hyprland { diff --git a/nixos/celestia/configuration.nix b/nixos/celestia/configuration.nix index c905072..561418f 100644 --- a/nixos/celestia/configuration.nix +++ b/nixos/celestia/configuration.nix @@ -84,6 +84,9 @@ in { zfs lm_sensors ffmpeg + rtl_433 + dump1090 + rtl-sdr ]; users.users."root".openssh.authorizedKeys.keys = [ @@ -424,6 +427,8 @@ in { }; hardware = { + rtl-sdr.enable = true; + fancontrol = { enable = true; config = '' diff --git a/nixos/celestia/hardware-configuration.nix b/nixos/celestia/hardware-configuration.nix index dc5010a..7a87c65 100644 --- a/nixos/celestia/hardware-configuration.nix +++ b/nixos/celestia/hardware-configuration.nix @@ -21,7 +21,6 @@ forceImportRoot = false; extraPools = ["tank"]; }; - boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; fileSystems."/" = { device = "/dev/disk/by-uuid/3652c231-d679-42dd-80f1-e9afccb4ca13"; @@ -34,6 +33,7 @@ allowDiscards = true; keyFileSize = 4096; keyFile = "/dev/disk/by-id/usb-Generic_Flash_Disk_D5A325A0-0:0"; + tryEmptyPassphrase = true; }; }; diff --git a/nixos/configurations.nix b/nixos/configurations.nix index 9f82ab6..af157e6 100644 --- a/nixos/configurations.nix +++ b/nixos/configurations.nix @@ -92,7 +92,7 @@ in { np = nixpkgs; system = "x86_64-linux"; ip = "192.168.1.11"; - # remoteBuild = false; + remoteBuild = false; file = ./celestia/configuration.nix; }; diff --git a/nixos/framework/configuration.nix b/nixos/framework/configuration.nix index 91067c9..5bbd97f 100644 --- a/nixos/framework/configuration.nix +++ b/nixos/framework/configuration.nix @@ -33,6 +33,8 @@ extraPackages = [pkgs.vaapiVdpau]; }; + hardware.rtl-sdr.enable = true; + hardware.bluetooth.enable = true; security.pam.services.swaylock = {}; @@ -111,7 +113,7 @@ users.users.patrick = { isNormalUser = true; - extraGroups = ["wheel"]; + extraGroups = ["wheel" "plugdev"]; }; environment.systemPackages = with pkgs; [