From 3a1ede30b8609ec54fbfe8ce77af197929104066 Mon Sep 17 00:00:00 2001 From: KSPAtlas Date: Mon, 18 Nov 2024 22:28:42 +0000 Subject: [PATCH] update, various changes, enable swap --- flake.lock | 58 ++++++++++++++++---------------- hm/dotfiles/config.nu | 2 +- hm/dotfiles/sway_config | 2 +- hm/ksp.nix | 7 ++++ nixos/hardware-configuration.nix | 5 ++- 5 files changed, 42 insertions(+), 32 deletions(-) diff --git a/flake.lock b/flake.lock index 755db27..d5a4d21 100644 --- a/flake.lock +++ b/flake.lock @@ -74,11 +74,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1731549423, - "narHash": "sha256-856g6/DYtrC+O9yRlksrKaEWP3jDgJQ9UMmQx/twxBc=", + "lastModified": 1731866540, + "narHash": "sha256-wAz/S5GLm+9Vp0kmUPsva3Mxp+VUnbEUZ8aBM1aEhhY=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "c37212a15dd0dc472d75df4c21c092d1cc9df897", + "rev": "0857914b69d90ba758e614298452636c6fdc9c7c", "type": "github" }, "original": { @@ -200,11 +200,11 @@ ] }, "locked": { - "lastModified": 1731604581, - "narHash": "sha256-Qq2YZZaDTB3FZLWU/Hgh1uuWlUBl3cMLGB99bm7rFUM=", + "lastModified": 1731964590, + "narHash": "sha256-NBqbPdUHFaIQILooq+a//vg18gHDgELIeru4L24hDX4=", "owner": "nix-community", "repo": "home-manager", - "rev": "1d0862ee2d7c6f6cd720d6f32213fa425004be10", + "rev": "705cf3763a6d6074c1b7edb3ff0bb44efa7f091b", "type": "github" }, "original": { @@ -221,11 +221,11 @@ ] }, "locked": { - "lastModified": 1724435763, - "narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=", + "lastModified": 1730837930, + "narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=", "owner": "nix-community", "repo": "home-manager", - "rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be", + "rev": "2f607e07f3ac7e53541120536708e824acccfaa8", "type": "github" }, "original": { @@ -281,11 +281,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1731139594, - "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=", + "lastModified": 1731676054, + "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2", + "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", "type": "github" }, "original": { @@ -297,11 +297,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1731319897, - "narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=", + "lastModified": 1731676054, + "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "dc460ec76cbff0e66e269457d7b728432263166c", + "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", "type": "github" }, "original": { @@ -313,11 +313,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1725194671, - "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", + "lastModified": 1731531548, + "narHash": "sha256-sz8/v17enkYmfpgeeuyzniGJU0QQBfmAjlemAUYhfy8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c", + "rev": "24f0d4acd634792badd6470134c387a3b039dace", "type": "github" }, "original": { @@ -329,15 +329,15 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1731139594, - "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=", - "owner": "nixos", + "lastModified": 1731319897, + "narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2", + "rev": "dc460ec76cbff0e66e269457d7b728432263166c", "type": "github" }, "original": { - "owner": "nixos", + "owner": "NixOS", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -369,11 +369,11 @@ "tinted-tmux": "tinted-tmux" }, "locked": { - "lastModified": 1731577695, - "narHash": "sha256-ohxX2gG7zDWIA3slEbiSyAVSiO98clCoL+CmiEiYwVU=", + "lastModified": 1731920923, + "narHash": "sha256-Pqe38TdvfyywhlhpR1WLJlD7uTOGXRRuzpHIh2edOz0=", "owner": "danth", "repo": "stylix", - "rev": "e0a278871b63b1800ccdda568861b5324dd93797", + "rev": "f8699483e46972f64b0dee5d5e41bf4bb142629b", "type": "github" }, "original": { @@ -452,11 +452,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1731411879, - "narHash": "sha256-bSvczDRlTAZtjJeGTfglDjopCuvogwGkZlI/pxDiWkU=", + "lastModified": 1731689384, + "narHash": "sha256-L1Aabt+k92BvxH1h/B6SwVwDtglPtQ0yBbSNm3wfUGw=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "b4c2f1c5e125f6300205f917e173aeabcb095bdd", + "rev": "9808c80cb90626f0b3f6a58b36892c44daaf24bd", "type": "github" }, "original": { diff --git a/hm/dotfiles/config.nu b/hm/dotfiles/config.nu index fe0ffe4..fb303d6 100644 --- a/hm/dotfiles/config.nu +++ b/hm/dotfiles/config.nu @@ -61,7 +61,7 @@ $env.config = { history: { max_size: 100_000 # Session has to be reloaded for this to take effect sync_on_enter: true # Enable to share history between multiple sessions, else you have to close the session to write history to file - file_format: "plaintext" # "sqlite" or "plaintext" + file_format: "sqlite" # "sqlite" or "plaintext" isolation: false # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions. } diff --git a/hm/dotfiles/sway_config b/hm/dotfiles/sway_config index a6385f8..f04bddc 100644 --- a/hm/dotfiles/sway_config +++ b/hm/dotfiles/sway_config @@ -216,7 +216,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %X'; do sleep 1; done + status_command while date +'%Y-%m-%d %T'; do sleep 1; done colors { statusline #ffffff diff --git a/hm/ksp.nix b/hm/ksp.nix index 5ef17aa..4f23689 100644 --- a/hm/ksp.nix +++ b/hm/ksp.nix @@ -110,6 +110,12 @@ name = "kora"; package = pkgs.kora-icon-theme; }; + + qt = { + enable = true; + style.name = "adwaita-dark"; + }; + # The home.packages option allows you to install Nix packages into your # environment. home.packages = with pkgs; [ @@ -142,6 +148,7 @@ libsixel xfce.thunar qbittorrent + imv zls zig diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 6340fa1..2b160cd 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -37,7 +37,10 @@ options = [ "subvol=home00" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/swap/swapfile"; + size = 16*1024; + }]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's