diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65fae9c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.ccls-cache/ diff --git a/hosts/darkstar/hardware-configuration.nix b/hosts/darkstar/hardware-configuration.nix index a1b11d2..9eed204 100644 --- a/hosts/darkstar/hardware-configuration.nix +++ b/hosts/darkstar/hardware-configuration.nix @@ -25,7 +25,14 @@ fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; - + fileSystems."/srv/data" = { + device = "/dev/disk/by-label/DATA"; + fsType = "ext4"; + }; + fileSystems."/srv/wd" = { + device = "/dev/disk/by-label/WD_2TB"; + fsType = "ext4"; + }; swapDevices = [ { device = "/dev/mapper/luks-9cd65807-a47b-4ffe-ac11-05680b9fffb0"; } ]; diff --git a/modules/dwm/source/dwm/config.def.h b/modules/dwm/source/dwm/config.def.h index 503dded..a048daf 100755 --- a/modules/dwm/source/dwm/config.def.h +++ b/modules/dwm/source/dwm/config.def.h @@ -46,9 +46,9 @@ static const int lockfullscreen = #include static const Layout layouts[] = { - {"><>", NULL}, - //{NULL, centeredfloatingmaster}, - //{"|M|", centeredmaster}, + //{"><>", NULL}, + {"[F]", centeredfloatingmaster}, + {"|M|", centeredmaster}, {"[]=", tile}, /* first entry is default */ {"[M]", monocle}, {"[@]", spiral}, diff --git a/modules/home/irssi.nix b/modules/home/irssi.nix index a541260..919ad7c 100644 --- a/modules/home/irssi.nix +++ b/modules/home/irssi.nix @@ -18,7 +18,7 @@ }; nick = "halbg0tt"; server = { - address = "irc.libera.chat"; + address = "palladium.libera.chat"; autoConnect = false; port = 6697; }; diff --git a/modules/irc.nix b/modules/irc.nix index 37094d7..8e84b65 100644 --- a/modules/irc.nix +++ b/modules/irc.nix @@ -5,5 +5,21 @@ weechat = { enable = true; }; + tor = { + enable = true; + controlSocket.enable = true; + client = { + enable = true; + socksListenAddress = { + addr = "127.0.0.1"; + port = 9050; + }; + }; + settings = { + MapAddress = "palladium.libera.chat libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion"; + ControlPort = [ 9051 ]; + }; + }; + }; } diff --git a/modules/networking.nix b/modules/networking.nix index 767fb19..1f62f50 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -6,10 +6,6 @@ enable = true; package = pkgs.mullvad-vpn; }; - - tor = { - enable = false; - }; }; networking = { networkmanager = {