error fixes

This commit is contained in:
foglar 2024-10-29 21:02:24 +01:00
parent 52f92afb9c
commit a39ed5d107
7 changed files with 54 additions and 9 deletions

View File

@ -493,6 +493,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": {
"locked": {
"lastModified": 1727348695,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -523,7 +539,8 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"stylix": "stylix" "stylix": "stylix",
"zen-browser": "zen-browser"
} }
}, },
"stylix": { "stylix": {
@ -690,6 +707,24 @@
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"type": "github" "type": "github"
} }
},
"zen-browser": {
"inputs": {
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1727721329,
"narHash": "sha256-QYlWZwUSwrM7BuO+dXclZIwoPvBIuJr6GpFKv9XKFPI=",
"owner": "MarceColl",
"repo": "zen-browser-flake",
"rev": "e6ab73f405e9a2896cce5956c549a9cc359e5fcc",
"type": "github"
},
"original": {
"owner": "MarceColl",
"repo": "zen-browser-flake",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@ -23,6 +23,7 @@
}; };
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
zen-browser.url = "github:MarceColl/zen-browser-flake";
}; };
outputs = { outputs = {

View File

@ -248,6 +248,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
inputs.zen-browser.packages."${system}".default
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View File

@ -34,8 +34,6 @@
openrocket openrocket
spotify spotify
ranger
#zed-editor #zed-editor
#gtk3 #gtk3
#(python3.withPackages (subpkgs: with subpkgs; [ #(python3.withPackages (subpkgs: with subpkgs; [

View File

@ -1,4 +1,9 @@
{...}: {
pkgs,
lib,
config,
...
}:
{ {
options = { options = {
git.enable = lib.mkEnableOption "enable git"; git.enable = lib.mkEnableOption "enable git";
@ -16,4 +21,5 @@
github-cli github-cli
gitkraken gitkraken
]; ];
};
} }

View File

@ -4,16 +4,17 @@
config, config,
... ...
}: { }: {
imports = [
./code.nix
./git.nix
];
options = { options = {
programming.enable = programming.enable =
lib.mkEnableOption "enable programming toolset"; lib.mkEnableOption "enable programming toolset";
}; };
imports = [
./code.nix
./git.nix
];
config = lib.mkIf config.programming.enable { config = lib.mkIf config.programming.enable {
vscode.enable = lib.mkDefault true; vscode.enable = lib.mkDefault true;

View File

@ -1,5 +1,7 @@
{ {
pkgs,
lib, lib,
config,
... ...
}: }:
{ {
@ -70,6 +72,7 @@
curl curl
fzf fzf
tldr tldr
ranger
]; ];
}; };
} }