diff options
author | Karel Kočí <cynerd@email.cz> | 2023-01-12 13:36:44 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-01-12 13:36:44 +0100 |
commit | 2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac (patch) | |
tree | bf9fe4ee13b6a9909fa7ac82fc1ef7058872904c | |
parent | c38df5a32266029bfe6d5c1f8b4fbe9adf2532ef (diff) | |
download | nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.tar.gz nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.tar.bz2 nixos-personal-2a34a2f9ae1f60e948ce6eca3bf7a3864a0a70ac.zip |
nixos/desktop: use firefox from programs not by environment packages
-rw-r--r-- | flake.lock | 24 | ||||
-rw-r--r-- | nixos/modules/desktop.nix | 16 |
2 files changed, 22 insertions, 18 deletions
@@ -93,11 +93,11 @@ "nixpkgs-regression": "nixpkgs-regression" }, "locked": { - "lastModified": 1673254186, - "narHash": "sha256-hpPoGd5KF5rUiuCc3bPkkh4dAMk1FNl3J7VHcIXhefc=", + "lastModified": 1673443847, + "narHash": "sha256-w7+PgQmfM2y7hsoI1JJ1rWGLo1bNY3+CXE+rii9oT/8=", "owner": "NixOS", "repo": "nix", - "rev": "89ef26664d3339a89afa8dfa762326cf196d1622", + "rev": "6dd8b3b4122d9a4dccf17c00a290349a1509a7d6", "type": "github" }, "original": { @@ -126,11 +126,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1673307158, - "narHash": "sha256-d/HYBkMWqQkhSH3hPtEB+uEEwkk9vsHQJ4J7zXdE1wo=", + "lastModified": 1673440569, + "narHash": "sha256-FQ5o0yI+MH9MgfseeGDsVIIpIqv3BCgq+0NzncuZ9Zo=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "48745e081cfdcc678633c61dbf47a9bd3dfd93a7", + "rev": "88016c96c3c338aa801695cdd9f186820bcfe4d6", "type": "github" }, "original": { @@ -186,11 +186,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1673296385, - "narHash": "sha256-zlDgiHh0k1GtB8g6wrBzWBDZIBoCNYXfI5+qWE5Rrjk=", + "lastModified": 1673435251, + "narHash": "sha256-slcWQtwJBLprSvNODsH/CkpjV7Hx/ByMGkuGmBr65Bw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "92c151047e978f2e6abc809c20fb701b5b2d78b0", + "rev": "0abc5480edcab69f26e1bdd5f7ee82890cfe273f", "type": "github" }, "original": { @@ -353,11 +353,11 @@ }, "vpsadminos": { "locked": { - "lastModified": 1673173250, - "narHash": "sha256-E36o8aU6AVbOiftUxHXwRoLWlG1sSD26hg0+oF5v1U4=", + "lastModified": 1673446945, + "narHash": "sha256-cug4YVF08jucDrZn23gv/Buo4FwhAUgW1AtTwQ0Dvas=", "owner": "vpsfreecz", "repo": "vpsadminos", - "rev": "04f20af43090cfe65935ef914cbb9285700089b0", + "rev": "a500b37644ab51652087272a864eaa87e6fc3e5d", "type": "github" }, "original": { diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index e7c6ecc..bca265d 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -69,7 +69,6 @@ in { exts.pass-audit ])) - firefox chromium ferdium signal-desktop @@ -154,11 +153,16 @@ in { powertop acpi ]); - programs.vim.package = pkgs.vimHugeX; - programs.shellrc.desktop = true; - xdg.portal.enable = true; - xdg.portal.wlr.enable = true; - xdg.portal.extraPortals = with pkgs; [xdg-desktop-portal-gtk]; + programs = { + vim.package = pkgs.vimHugeX; + shellrc.desktop = true; + firefox.enable = true; + }; + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = with pkgs; [xdg-desktop-portal-gtk]; + }; xdg.mime.defaultApplications = { "text/html" = ["firefox.desktop"]; "application/pdf" = ["mupdf.desktop"]; |