From: Skullheadx Date: Wed, 29 Apr 2026 02:15:33 +0000 (-0400) Subject: surf X-Git-Url: http://git.skullheadx.com/index.css?a=commitdiff_plain;h=0626ae5d2d23f7a971af9c30fb8319fa422fb229;p=nixos.git surf --- diff --git a/configuration.nix b/configuration.nix index 6052f28..a41a6e9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,9 @@ -{ config, pkgs, inputs, ... }: +{ + config, + pkgs, + inputs, + ... +}: { imports = [ ./hardware-configuration.nix @@ -48,7 +53,6 @@ neovim wget git - librewolf nixfmt st dmenu @@ -61,7 +65,8 @@ xclip xdotool gcc -slstatus + slstatus + surf ]; programs.git = { diff --git a/dotfiles/surf/styles/default.css b/dotfiles/surf/styles/default.css new file mode 100644 index 0000000..e69de29 diff --git a/flake.lock b/flake.lock index e253c17..9532137 100644 --- a/flake.lock +++ b/flake.lock @@ -41,6 +41,26 @@ "type": "github" } }, + "my-surf": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1777427138, + "narHash": "sha256-dwT1yAlfT5Db1JjDkBTyppCKIJrr1ECNW+GOr3wX2iM=", + "owner": "Skullheadx", + "repo": "surf", + "rev": "c185692a87395edf7dbc181520188a26bde065e7", + "type": "github" + }, + "original": { + "owner": "Skullheadx", + "repo": "surf", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -82,6 +102,7 @@ "inputs": { "hjem": "hjem", "my-slstatus": "my-slstatus", + "my-surf": "my-surf", "nixpkgs": "nixpkgs" } } diff --git a/flake.nix b/flake.nix index 48f2a0a..2f242f2 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,11 @@ my-slstatus = { url = "github:Skullheadx/slstatus"; inputs.nixpkgs.follows = "nixpkgs"; + }; + my-surf = { + url = "github:Skullheadx/surf"; + inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -21,7 +25,7 @@ nixpkgs, hjem, my-slstatus, - + my-surf, }@inputs: { nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem { diff --git a/hjem.nix b/hjem.nix index 746114e..791ca7d 100644 --- a/hjem.nix +++ b/hjem.nix @@ -30,10 +30,15 @@ lockscreen = pkgs.lock-screen; } ); + + ".config/surf/styles/default.css".text = builtins.readFile ./dotfiles/surf/styles/default.css; + }; packages = with pkgs; [ discord lazygit + librewolf + btop ]; }; diff --git a/overlays.nix b/overlays.nix index 1c5e84a..ca90f77 100644 --- a/overlays.nix +++ b/overlays.nix @@ -5,7 +5,10 @@ lock-screen = import ./lock-screen.nix { pkgs = prev; }; }) (final: prev: { - slstatus =inputs.my-slstatus.packages.${pkgs.stdenv.hostPlatform.system}.default; + slstatus = inputs.my-slstatus.packages.${pkgs.stdenv.hostPlatform.system}.default; + }) + (final: prev: { + surf = inputs.my-surf.packages.${pkgs.stdenv.hostPlatform.system}.default; }) ]; }