From 89c992c0d9c608c2507b3ddfde245e77949c7fbf Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 10 Jan 2023 11:31:33 +0100 Subject: [PATCH] formatting and updates --- flake.lock | 6 +++--- flake.nix | 5 +++-- hosts/thinkpad/default.nix | 4 ++-- hosts/thinkpad/modules/networks/uni.nix | 5 +++-- users/rouven/modules/alacritty/default.nix | 24 +++++++++++----------- users/rouven/modules/packages.nix | 4 ++-- 6 files changed, 25 insertions(+), 23 deletions(-) diff --git a/flake.lock b/flake.lock index ede7369..39818d6 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1673211936, - "narHash": "sha256-ba7jhl5BhLtpSooDHllgC0Y29vc0AiYWWsxQVtjlc7o=", + "lastModified": 1673343300, + "narHash": "sha256-5Xdj6kpXYMie0MlnGwqK5FaMdsedxvyuakWtyKB3zaQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "684bdb386cec7d4f16e0da9f694c8ab50ad2cf2a", + "rev": "176e455371a8371586e8a3ff0d56ee9f3ca2324e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index e9032fe..306140b 100644 --- a/flake.nix +++ b/flake.nix @@ -6,11 +6,12 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.url = github:Mic92/sops-nix; sops-nix.inputs.nixpkgs.follows = "nixpkgs"; - awesome-config.url=github:therealr5/awesome-config; - nix-colors.url=github:Misterio77/nix-colors; + awesome-config.url = github:therealr5/awesome-config; + nix-colors.url = github:Misterio77/nix-colors; }; outputs = { self, nixpkgs, home-manager, sops-nix, awesome-config, nix-colors }: { + formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt; nixosConfigurations = { thinkpad = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 64c7b36..93e7e5f 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -74,9 +74,9 @@ source = config.virtualisation.libvirtd.qemu.package + "/share/qemu/edk2-i386-vars.fd"; mode = "0644"; user = "libvirtd"; - }; + }; }; - + environment.systemPackages = with pkgs; [ # essentials diff --git a/hosts/thinkpad/modules/networks/uni.nix b/hosts/thinkpad/modules/networks/uni.nix index 700cfa1..0ee732d 100644 --- a/hosts/thinkpad/modules/networks/uni.nix +++ b/hosts/thinkpad/modules/networks/uni.nix @@ -34,7 +34,8 @@ }; }; openconnect.interfaces = { - TUD-A-Tunnel = { # apparently device names have a character limit + TUD-A-Tunnel = { + # apparently device names have a character limit protocol = "anyconnect"; gateway = "vpn2.zih.tu-dresden.de"; user = "rose159e@tu-dresden.de"; @@ -45,7 +46,7 @@ compression = "stateless"; }; }; - TUD-C-Tunnel= { + TUD-C-Tunnel = { protocol = "anyconnect"; gateway = "vpn2.zih.tu-dresden.de"; user = "rose159e@tu-dresden.de"; diff --git a/users/rouven/modules/alacritty/default.nix b/users/rouven/modules/alacritty/default.nix index c06f452..c613752 100644 --- a/users/rouven/modules/alacritty/default.nix +++ b/users/rouven/modules/alacritty/default.nix @@ -26,18 +26,18 @@ cursor = "CellForeground"; }; #search = { - #matches = { - #foreground = "#44475a"; - #background = "#50fa7b"; - #}; - #focused_match = { - #foreground = "#44475a"; - #background = "#ffb86c"; - #}; - #footer_bar = { - #background = "#282a36"; - #foreground = "#f8f8f2"; - #}; + #matches = { + #foreground = "#44475a"; + #background = "#50fa7b"; + #}; + #focused_match = { + #foreground = "#44475a"; + #background = "#ffb86c"; + #}; + #footer_bar = { + #background = "#282a36"; + #foreground = "#f8f8f2"; + #}; #}; selection = { text = "CellForeground"; diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index b1f27a7..f49c1b2 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -32,7 +32,7 @@ # games minecraft - prismlauncher + prismlauncher # minecraft, but it actually works superTuxKart extremetuxracer @@ -40,6 +40,7 @@ yubikey-manager yubikey-manager-qt yubioath-desktop + #yubioath-flutter # do as soon as thing is done pass # misc @@ -48,7 +49,6 @@ spotify nixpkgs-fmt virt-manager - remmina powerline-fonts # libs