all repos — dotfiles @ 95da48066c0076861612780a17e0abac8cff6cef

my *nix dotfiles

nix: update flake, switch to plasma6
Anirudh Oppiliappan x@icyphox.sh
Sun, 03 Mar 2024 09:00:30 +0200
commit

95da48066c0076861612780a17e0abac8cff6cef

parent

60918b45c88d056c700b7f8d95ec5a58518c3b3c

6 files changed, 27 insertions(+), 44 deletions(-)

jump to
M bin/default.nixbin/default.nix

@@ -11,10 +11,10 @@ # create new repo on git.icyphox.sh

git-new-repo = pkgs.writeScriptBin "git-new-repo" '' repo="$1" [[ "$1" == "" ]] && repo="$(basename "$PWD")" - ssh git@jade git init --bare "$repo" + ssh git@denna git init --bare "$repo" read -p "descripton: " desc printf '%s' "$desc" > .git/description - rsync .git/description git@jade:"$repo" + rsync .git/description git@denna:"$repo" ''; # adds a new push-only remote
M flake.lockflake.lock

@@ -7,11 +7,11 @@ "nixpkgs"

] }, "locked": { - "lastModified": 1704277720, - "narHash": "sha256-meAKNgmh3goankLGWqqpw73pm9IvXjEENJloF0coskE=", + "lastModified": 1709348262, + "narHash": "sha256-eYTA1uZtYGFKrDOKiAz1wlE6aIC9WSdBNF8bSS818zM=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "0dd382b70c351f528561f71a0a7df82c9d2be9a4", + "rev": "8a15cb36fffa0b5fbe31ef16ede0a479bef4b365", "type": "github" }, "original": {

@@ -28,11 +28,11 @@ "nixpkgs"

] }, "locked": { - "lastModified": 1704383912, - "narHash": "sha256-Be7O73qoOj/z+4ZCgizdLlu+5BkVvO2KO299goZ9cW8=", + "lastModified": 1709204054, + "narHash": "sha256-U1idK0JHs1XOfSI1APYuXi4AEADf+B+ZU4Wifc0pBHk=", "owner": "nix-community", "repo": "home-manager", - "rev": "26b8adb300e50efceb51fff6859a1a6ba1ade4f7", + "rev": "2f3367769a93b226c467551315e9e270c3f78b15", "type": "github" }, "original": {

@@ -43,11 +43,11 @@ }

}, "nixos-hardware": { "locked": { - "lastModified": 1704266875, - "narHash": "sha256-luA5SGmeIRZlgLfSLUuR3eacS63q2bJ0Yywqak5lj3E=", + "lastModified": 1709410583, + "narHash": "sha256-esOSUoQ7mblwcsSea0K17McZuwAIjoS6dq/4b83+lvw=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "8e34f33464d77bea2d5cf7dc1066647b1ad2b324", + "rev": "59e37017b9ed31dee303dbbd4531c594df95cfbc", "type": "github" }, "original": {

@@ -58,16 +58,16 @@ }

}, "nixpkgs": { "locked": { - "lastModified": 1704295289, - "narHash": "sha256-9WZDRfpMqCYL6g/HNWVvXF0hxdaAgwgIGeLYiOhmes8=", + "lastModified": 1709237383, + "narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b0b2c5445c64191fd8d0b31f2b1a34e45a64547d", + "rev": "1536926ef5621b09bba54035ae2bb6d806d72ac8", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-23.11", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" }
M flake.nixflake.nix

@@ -2,7 +2,7 @@ {

description = "icy's nixos config"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixos-hardware.url = "github:nixos/nixos-hardware";
M hosts/wyndle/configuration.nixhosts/wyndle/configuration.nix

@@ -8,6 +8,7 @@ ];

boot = { loader.systemd-boot.enable = true; + loader.systemd-boot.consoleMode = "max"; loader.efi.canTouchEfiVariables = true; kernel.sysctl."net.ipv4.ip_forward" = 1; resumeDevice = "/dev/nvme0n1p2";

@@ -17,21 +18,6 @@

networking = { nameservers = [ "8.8.8.8" "8.8.4.4" ]; networkmanager.enable = true; - # wireless = { - # enable = true; - # interfaces = [ "wlp6s0" ]; - # environmentFile = "/home/icy/secrets/wireless.env"; - # networks = { - # Sanic.psk = "@PSK_SANI@"; - # Gopalan5G.psk = "@PSK_GOPA@"; - # denim.psk = "@PSK_DENI@"; - # }; - # extraConfig = '' - # ctrl_interface=/run/wpa_supplicant - # ctrl_interface_group=wheel - # ''; - # }; - # dhcpcd.enable = true; hostName = "wyndle"; useDHCP = false; interfaces.wlp6s0.useDHCP = true;

@@ -87,7 +73,7 @@ };

variables = { MOZ_USE_XINPUT2 = "1"; GDK_SCALE = "2"; - GDK_DPI_SCALE = "0.5"; + GDK_DPI_SCALE = "2"; }; systemPackages = with pkgs; [ man-pages

@@ -95,16 +81,6 @@ git

man-pages-posix (lib.hiPrio pkgs.bashInteractive_5) ]; - etc = { - "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = '' - bluez_monitor.properties = { - ["bluez5.enable-sbc-xq"] = true, - ["bluez5.enable-msbc"] = true, - ["bluez5.enable-hw-volume"] = true, - ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]" - } - ''; - }; }; documentation = {

@@ -144,6 +120,7 @@ };

}; services = { + pipewire.wireplumber.enable = true; asusd = { enable = true; enableUserService = true;

@@ -160,7 +137,7 @@ };

xserver = { enable = true; layout = "us"; - desktopManager.plasma5.enable = true; + desktopManager.plasma6.enable = true; displayManager.sddm = { enable = true; enableHidpi = true;

@@ -216,7 +193,6 @@ '';

doas.extraRules = [{ users = [ "icy" ]; }]; - pki.certificateFiles = [ "/home/icy/.local/share/caddy/pki/authorities/local/root.crt" ]; }; powerManagement = {
M programs/neovim.nixprograms/neovim.nix

@@ -17,6 +17,7 @@ gotools

gopls go sumneko-lua-language-server + pyright tree-sitter-grammars.tree-sitter-bash tree-sitter-grammars.tree-sitter-yaml

@@ -27,6 +28,7 @@ tree-sitter-grammars.tree-sitter-lua

tree-sitter-grammars.tree-sitter-html tree-sitter-grammars.tree-sitter-vim tree-sitter-grammars.tree-sitter-nix + tree-sitter-grammars.tree-sitter-python zf delve
M programs/ssh.nixprograms/ssh.nix

@@ -39,6 +39,11 @@ user = "ubuntu";

hostname = "jade"; identityFile = "~/.ssh/id_rsa"; }; + "lapis2" = { + user = "icy"; + hostname = "150.230.131.193"; + identityFile = "~/.ssh/id_rsa"; + }; }; }; }