forked from aylac.top/nixcfg
this repo has no description

update flake and remove onebar

aylac.top d901569f c253a447

verified
Changed files
+69 -82
modules
home
programs
firefox
+44 -57
flake.lock
···
"systems": "systems"
},
"locked": {
-
"lastModified": 1754433428,
-
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=",
+
"lastModified": 1760836749,
+
"narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
"owner": "ryantm",
"repo": "agenix",
-
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d",
+
"rev": "2f0f812f69f3eb4140157fe15e12739adf82e32a",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1760835675,
-
"narHash": "sha256-t2h82WsGC08c+epqCa1t+PtyMVALpnjct9zP/9EAxrk=",
+
"lastModified": 1761093804,
+
"narHash": "sha256-kNedZpd+hw5RkoiemebZFT2R0eZ9BzQUcV8kembvK70=",
"owner": "ayla6",
"repo": "pkgs",
-
"rev": "51d6a5e6686e2bbe7dd8713f6ebe5542c6940fda",
+
"rev": "ec43e9fe923a38450f6f34cebca45fe96348be90",
"type": "github"
},
"original": {
···
"rust-overlay": "rust-overlay"
},
"locked": {
-
"lastModified": 1760747305,
-
"narHash": "sha256-SsuuyaFp4TbJ+ofti9EXot9gIOk4vZqccat/zERVQN4=",
+
"lastModified": 1760986121,
+
"narHash": "sha256-ilwuwZDPh0pNPTUYKUQQarAnwJwsggr60lQyae5R1vc=",
"owner": "chaotic-cx",
"repo": "nyx",
-
"rev": "9838e14b30857ac0a50dbe98a5ba2233d6ccb2de",
+
"rev": "45286364d2570149037013a4fa098709776bdb41",
"type": "github"
},
"original": {
···
"nixpkgs": "nixpkgs_2"
},
"locked": {
-
"lastModified": 1760743230,
-
"narHash": "sha256-Iyr3MGL6pYkU4F+OQ5GMjyzMDSw663hPZKNSNypDXUs=",
+
"lastModified": 1760897985,
+
"narHash": "sha256-omBsQXwVWw+QmXo9T4Nazv2xcMEQ9VjB/61tnV3xKQQ=",
"owner": "9001",
"repo": "copyparty",
-
"rev": "81881a449b5b5c0e5ae5926b294acb07510ef898",
+
"rev": "547a7ab1cc7777f3452f441628339850511c8563",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"firefox-onebar": {
-
"flake": false,
-
"locked": {
-
"narHash": "sha256-kkg+wplvJvOmO2FseZuF/P2HBh+r/uSEEb9TD6RSA54=",
-
"type": "file",
-
"url": "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css"
-
},
-
"original": {
-
"type": "file",
-
"url": "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css"
-
}
-
},
"flake-compat": {
"flake": false,
"locked": {
···
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
-
"lastModified": 1760813311,
-
"narHash": "sha256-lbHQ7FXGzt6/IygWvJ1lCq+Txcut3xYYd6VIpF1ojkg=",
+
"lastModified": 1760948891,
+
"narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=",
"owner": "hercules-ci",
"repo": "flake-parts",
-
"rev": "4e627ac2e1b8f1de7f5090064242de9a259dbbc8",
+
"rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1760662441,
-
"narHash": "sha256-mlDqR1Ntgs9uYYEAUR1IhamKBO0lxoNS4zGLzEZaY0A=",
+
"lastModified": 1760929667,
+
"narHash": "sha256-nZh6uvc71nVNaf/y+wesnjwsmJ6IZZUnP2EzpZe48To=",
"owner": "nix-community",
"repo": "home-manager",
-
"rev": "722792af097dff5790f1a66d271a47759f477755",
+
"rev": "189c21cf879669008ccf06e78a553f17e88d8ef0",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1760809591,
-
"narHash": "sha256-OxGcFcQdfOK8veZkPdQuqXIotFYiy4sBQB58dMNLeHY=",
+
"lastModified": 1761081701,
+
"narHash": "sha256-IwpfaKg5c/WWQiy8b5QGaVPMvoEQ2J6kpwRFdpVpBNQ=",
"owner": "nix-community",
"repo": "home-manager",
-
"rev": "870883ba11ba1c84f756c0c1f9fa74cdb2a16c1e",
+
"rev": "9b4a2a7c4fbd75b422f00794af02d6edb4d9d315",
"type": "github"
},
"original": {
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1760703608,
-
"narHash": "sha256-MMIIShabm9KnYTmm0WbJ2h+jxI86gfE7NcByVOaBNNU=",
-
"owner": "PedroHLC",
+
"lastModified": 1760878510,
+
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
+
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "95d8e5f411dc2fcc7f73a72766aaabfab1a1c456",
+
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
···
},
"nixpkgs_4": {
"locked": {
-
"lastModified": 1760524057,
-
"narHash": "sha256-EVAqOteLBFmd7pKkb0+FIUyzTF61VKi7YmvP1tw4nEw=",
+
"lastModified": 1760878510,
+
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5",
+
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
···
},
"nixpkgs_5": {
"locked": {
-
"lastModified": 1760524057,
-
"narHash": "sha256-EVAqOteLBFmd7pKkb0+FIUyzTF61VKi7YmvP1tw4nEw=",
+
"lastModified": 1760878510,
+
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5",
+
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
···
"nixpkgs": "nixpkgs_5"
},
"locked": {
-
"lastModified": 1760819995,
-
"narHash": "sha256-tprUspTjWVKvax8FTsP9bpD8hV28mI62LCYffUbuor8=",
+
"lastModified": 1761146101,
+
"narHash": "sha256-2koiFnocRF4ZJhh9wi++KcY5lTgOcq8DRWQd14jPyYs=",
"owner": "nix-community",
"repo": "NUR",
-
"rev": "71cbdecf1e9e3d17caed86dfe8e531f597897d58",
+
"rev": "d854d7d8821c0961e3af5a6f8bb1054da0cd851a",
"type": "github"
},
"original": {
···
"copyparty": "copyparty",
"disko": "disko",
"files": "files",
-
"firefox-onebar": "firefox-onebar",
"flake-parts": "flake-parts_2",
"fontix": "fontix",
"git-hooks-nix": "git-hooks-nix_2",
···
},
"locked": {
-
"lastModified": 1760668505,
-
"narHash": "sha256-Ed0cGwPZtLRiSvMx4KgPx8bhLYzn5jiJ7s5o5vj4oG0=",
+
"lastModified": 1760927964,
+
"narHash": "sha256-+TjujgwBpeN0aaQ/lZQ8UPsWl9oEaihgbt6FvxTlpZk=",
"owner": "oxalica",
"repo": "rust-overlay",
-
"rev": "18234d2c11b10eaec9ccc3a1089a5ea872ec8858",
+
"rev": "6b1e691089a62d0852f9d3fd6693ee027bc98ac3",
"type": "github"
},
"original": {
···
"sqlite-lib-src": "sqlite-lib-src"
},
"locked": {
-
"lastModified": 1760688372,
-
"narHash": "sha256-DTP2e2GpOR8cP2FgXyHas9+vkDQ2HhgrlBAtwU3AU1Q=",
+
"lastModified": 1761149054,
+
"narHash": "sha256-TSs/xKMsxs7zMUEE3vXrw86blZvJS9+mzTKjK1YRtNQ=",
"ref": "refs/heads/master",
-
"rev": "d845e13cd33961eb659dc100b471a67b67f8acff",
-
"revCount": 1540,
+
"rev": "064099941697fb46eb9be52d0c6b3628ac5c7dd7",
+
"revCount": 1550,
"type": "git",
"url": "https://tangled.sh/@tangled.sh/core"
},
···
},
"locked": {
-
"lastModified": 1760835072,
-
"narHash": "sha256-Rb6Q/CxfgO9qqoTKfSYYzoKUm0Bvqze9j7g+8GkIVnk=",
+
"lastModified": 1761093977,
+
"narHash": "sha256-hGON7EcudqQiq0lWD7JOCUyLcbG0XHLGUlguUf8MSXA=",
"owner": "tgirlcloud",
"repo": "pkgs",
-
"rev": "cfcdf26556ceb0d7c7e26904941231befce8489f",
+
"rev": "b9642e7e77beaf962e1931ac634d65a9c3aaaa7a",
"type": "github"
},
"original": {
+4 -4
flake.nix
···
inputs.nixpkgs.follows = "nixpkgs";
};
-
firefox-onebar = {
-
url = "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css";
-
flake = false;
-
};
+
#firefox-onebar = {
+
# url = "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css";
+
# flake = false;
+
#};
secrets = {
url = "github:ayla6/secrets";
+21 -21
modules/home/programs/firefox/default.nix
···
{
lib,
config,
-
pkgs,
-
self,
+
#pkgs,
+
#self,
...
}: {
options.myHome.programs.firefox = {
enable = lib.mkEnableOption "firefox web browser";
mode = lib.mkOption {
-
type = lib.types.enum ["onebar" "sidebar" "default"];
-
default = "onebar";
+
type = lib.types.enum ["sidebar" "default"];
+
default = "sidebar";
description = "Firefox UI mode";
};
};
···
config.mySnippets.firefox-based.userConfig
)
-
(lib.mkIf
-
(config.myHome.programs.firefox.mode == "onebar")
-
{
-
profiles.default = {
-
settings = {
-
"onebar.collapse-URLbar" = true;
-
"onebar.conditional-navigation-buttons" = false;
-
"onebar.hide-all-URLbar-icons" = true;
-
};
-
-
userChrome = builtins.readFile self.inputs.firefox-onebar;
-
-
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
-
adaptive-tab-bar-colour
-
];
-
};
-
})
+
#(lib.mkIf
+
# (config.myHome.programs.firefox.mode == "onebar")
+
# {
+
# profiles.default = {
+
# settings = {
+
# "onebar.collapse-URLbar" = true;
+
# "onebar.conditional-navigation-buttons" = false;
+
# "onebar.hide-all-URLbar-icons" = true;
+
# };
+
#
+
# userChrome = builtins.readFile self.inputs.firefox-onebar;
+
#
+
# extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
+
# adaptive-tab-bar-colour
+
# ];
+
# };
+
# })
(
if (config.myHome.programs.firefox.mode == "sidebar")