From 73a7fbb649ffedcdb9b14a6a6c4d3119f0fc9eae Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Fri, 24 Jan 2025 10:33:21 -0500 Subject: [PATCH] got working --- src/system/machines/workstation/hardware.nix | 12 ++++++------ .../workstation/modules/home-manager/home.nix | 1 - src/system/machines/workstation/system.nix | 5 ++++- src/user/config/keys/ssh/ccur.pub.key | 1 + src/user/modules/bash/config/bashrc.nix | 2 ++ src/user/modules/gui/modules/writing/default.nix | 1 + src/user/modules/gui/wm/sway/default.nix | 10 ++++++++++ 7 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 src/user/config/keys/ssh/ccur.pub.key diff --git a/src/system/machines/workstation/hardware.nix b/src/system/machines/workstation/hardware.nix index 5362c9f..200250e 100644 --- a/src/system/machines/workstation/hardware.nix +++ b/src/system/machines/workstation/hardware.nix @@ -17,12 +17,12 @@ environment.systemPackages = with pkgs; [ linuxHeaders -# vulkan-headers -# vulkan-loader -# vulkan-tools -# vulkan-extension-layer -# glxinfo -# mesa + vulkan-headers + vulkan-loader + vulkan-tools + vulkan-extension-layer + glxinfo + mesa #cudaPackages.cudatoolkit #cudaPackages.cudnn diff --git a/src/system/machines/workstation/modules/home-manager/home.nix b/src/system/machines/workstation/modules/home-manager/home.nix index 8a737a1..b0af087 100644 --- a/src/system/machines/workstation/modules/home-manager/home.nix +++ b/src/system/machines/workstation/modules/home-manager/home.nix @@ -43,7 +43,6 @@ }; alacritty.enable = true; - corn.enable = true; fun.enable = true; utils.enable = true; writing.enable = true; diff --git a/src/system/machines/workstation/system.nix b/src/system/machines/workstation/system.nix index 9811041..3706c50 100644 --- a/src/system/machines/workstation/system.nix +++ b/src/system/machines/workstation/system.nix @@ -7,7 +7,10 @@ isNormalUser = true; extraGroups = config.user.groups ++ [ "video" "audio" "kvm" "libvirtd" "dialout" ]; - openssh.authorizedKeys.keys = [ "${config.user.keys.ssh.android}" ]; + openssh.authorizedKeys.keys = [ + "${config.user.keys.ssh.primary}" + "${config.user.keys.ssh.ccur}" + ]; }; }; diff --git a/src/user/config/keys/ssh/ccur.pub.key b/src/user/config/keys/ssh/ccur.pub.key new file mode 100644 index 0000000..c4b3a55 --- /dev/null +++ b/src/user/config/keys/ssh/ccur.pub.key @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXYU5c7AUD5tQQdpzQ73yy3ti3R7dArZ+f/wETN7L2Z2Hw6zo6hDid9/Q4yxdgM/FlTj/Ok2DHBWqxJsEe3S4shwsT9l2qJatjdcUK6zH3/0nFPxGYIaByj87aZ+5dwMoWNGlioPWciUdKeovvau1PwvdBxPabHHap6nwC9yPaSIVbZi4GgYv/zEvOB4LVYLuxLqr0pPdMNz1ddjmjsQCq5alC33jSZWkABERw3GlF02dNHbUq6cZlFq9BudbNWBQ8zFgj/C8amK4DHUSeU8w+ckTmO5PjDjINOnFr8kytDap+/5AQ6kr618evJ2JCwnBj6txb3SVGhcvn3/DJjf2H7flVhZEWIMEMu7452SXfz9mxp3Vu3UMJkjHUj6Lxl302M318k9j+w1fa8EHO7OQHQZajNKrEP5/UK2CDfpP2KIybX5HnEqBcEqoSKhRt7ytNX6VGzURk3/mmk9L+An5z7ve+zqlgNOA8uaIoebB4476+n5pGiNIedO3FRjPofEidYjf5NTZ9YDpqFc5KbfbhduuP63G/kqmgTxXMuTsWINY2xKEc0BPnlEGfezMN+eQpwWINOUxW1ZEk3OYMvC91EndbVwxVbm3aze9894T3+wVTipJ88xARCQeQpu1eaWDSaNduD+8LAouQiTA4whM+jBEeQoWZe6Wf6W4tBeCZ6Q== diff --git a/src/user/modules/bash/config/bashrc.nix b/src/user/modules/bash/config/bashrc.nix index 09dfa49..ee90a14 100644 --- a/src/user/modules/bash/config/bashrc.nix +++ b/src/user/modules/bash/config/bashrc.nix @@ -3,4 +3,6 @@ set -o vi bind 'set completion-ignore-case on' bind 'set completion-map-case on' + +export TERM=linux '' diff --git a/src/user/modules/gui/modules/writing/default.nix b/src/user/modules/gui/modules/writing/default.nix index 96de412..c5da843 100644 --- a/src/user/modules/gui/modules/writing/default.nix +++ b/src/user/modules/gui/modules/writing/default.nix @@ -12,6 +12,7 @@ in texlive.combined.scheme-tetex pandoc asciidoctor + evince ]; }; } diff --git a/src/user/modules/gui/wm/sway/default.nix b/src/user/modules/gui/wm/sway/default.nix index ad23982..8935834 100644 --- a/src/user/modules/gui/wm/sway/default.nix +++ b/src/user/modules/gui/wm/sway/default.nix @@ -112,6 +112,16 @@ in source = ./config/rofi/config; recursive = true; }; + + xdg = { + portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + ]; + config.common.default = "*"; + }; + }; #gtk = { # enable = true;