From 32fa59f0540031b4b14a22f878f5766eac723651 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 15 Aug 2024 13:46:28 +0200 Subject: [PATCH] update --- flake.lock | 12 ++++++------ home/newsboat/default.nix | 3 +-- hosts/laptop/hardware.nix | 4 +++- modules/gdm/default.nix | 2 +- modules/misc/default.nix | 1 + 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index dd8fae7..bb6e122 100644 --- a/flake.lock +++ b/flake.lock @@ -142,11 +142,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1723435406, - "narHash": "sha256-K4jgaRjQ0tfTn9qdSIq2/lzqXSP5Syy5vP0wpOwUlI0=", + "lastModified": 1723694590, + "narHash": "sha256-7cufibbD4mf84wPBOTq0bNYjtUz5/Aq1azv9Nil5bzk=", "owner": "rycee", "repo": "nur-expressions", - "rev": "4be5365e06d9e8aa20901bdf11d4384870dbecd6", + "rev": "bc49bde3aa2e9408a22bf62d2faf4358508ce4b6", "type": "gitlab" }, "original": { @@ -279,11 +279,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1723175592, - "narHash": "sha256-M0xJ3FbDUc4fRZ84dPGx5VvgFsOzds77KiBMW/mMTnI=", + "lastModified": 1723637854, + "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5e0ca22929f3342b19569b21b2f3462f053e497b", + "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "type": "github" }, "original": { diff --git a/home/newsboat/default.nix b/home/newsboat/default.nix index 1fd7571..05f752d 100644 --- a/home/newsboat/default.nix +++ b/home/newsboat/default.nix @@ -119,7 +119,6 @@ bind-key gg home bind-key l open bind-key h quit - macro y set browser "mpv %u" ; open-in-browser ; set browser "elinks %u" - ''; + macro c set browser "setsid -f mpv %u &" ; open-in-browser ; set browser "elinks %u" ''; }; } diff --git a/hosts/laptop/hardware.nix b/hosts/laptop/hardware.nix index 356fca9..83d4aff 100644 --- a/hosts/laptop/hardware.nix +++ b/hosts/laptop/hardware.nix @@ -24,7 +24,9 @@ options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = [ ]; + swapDevices = [ + { device = "/swapfile"; } + ]; # 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 diff --git a/modules/gdm/default.nix b/modules/gdm/default.nix index a4ddaaf..4be9b07 100644 --- a/modules/gdm/default.nix +++ b/modules/gdm/default.nix @@ -4,7 +4,7 @@ services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; + # services.xserver.desktopManager.gnome.enable = true; services.displayManager.autoLogin.enable = true; services.displayManager.autoLogin.user = "joy"; diff --git a/modules/misc/default.nix b/modules/misc/default.nix index af325ce..4a987aa 100644 --- a/modules/misc/default.nix +++ b/modules/misc/default.nix @@ -22,6 +22,7 @@ users.defaultUserShell = pkgs.zsh; nix.settings.experimental-features = [ "nix-command" "flakes"]; programs.nix-ld.enable = true; + services.printing.enable = true; time.timeZone = "Europe/Zurich"; system.stateVersion = "23.11"; }