Add glasgow, nix-index

This commit is contained in:
Artemis Tosini 2023-10-05 00:34:34 +00:00
parent c1af877e9d
commit 68a65ddfbc
Signed by: artemist
GPG key ID: EE5227935FE3FF18
6 changed files with 57 additions and 16 deletions

View file

@ -201,11 +201,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1696145345, "lastModified": 1696409884,
"narHash": "sha256-3dM7I/d4751SLPJah0to1WBlWiyzIiuCEUwJqwBdmr4=", "narHash": "sha256-hz3i4wFJHoTIAEI19oF1fiPn6TpV+VuTSOrSHUoJMgs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6f9b5b83ad1f470b3d11b8a9fe1d5ef68c7d0e30", "rev": "8aef005d44ee726911e9f793495bb40f2fbf5a05",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,6 +243,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1696131323,
"narHash": "sha256-Y47r8Jo+9rs+XUWHcDPZtkQs6wFeZ24L4CQTfVwE+vY=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "031d4b22505fdea47bd53bfafad517cd03c26a4f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1696161939, "lastModified": 1696161939,
@ -260,11 +280,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1696019113, "lastModified": 1696193975,
"narHash": "sha256-X3+DKYWJm93DRSdC5M6K5hLqzSya9BjibtBsuARoPco=", "narHash": "sha256-mnQjUcYgp9Guu3RNVAB2Srr1TqKcPpRXmJf4LJk6KRY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f5892ddac112a1e9b3612c39af1b72987ee5783a", "rev": "fdd898f8f79e8d2f99ed2ab6b3751811ef683242",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -318,11 +338,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1696176774, "lastModified": 1696423583,
"narHash": "sha256-v8wBRXh3Xxu21pz5KPA50w445ghGO0OSPnM/13xvNy4=", "narHash": "sha256-smU/jAx6j8ZJk5DalO2uDw+sZz40oXIQpBufClZeNnY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "47b72e41dde4bd1ca89c6852f20d2818587342d4", "rev": "73f21c063dac16340c60d99a143dd3c7c07a1e70",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -370,11 +390,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1695576016, "lastModified": 1696158581,
"narHash": "sha256-71KxwRhTfVuh7kNrg3/edNjYVg9DCyKZl2QIKbhRggg=", "narHash": "sha256-h0vY4E7Lx95lpYQbG2w4QH4yG5wCYOvPJzK93wVQbT0=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "cb770e93516a1609652fa8e945a0f310e98f10c0", "rev": "033453f85064ccac434dfd957f95d8457901ecd6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -435,6 +455,7 @@
"fonts": "fonts", "fonts": "fonts",
"home-manager": "home-manager", "home-manager": "home-manager",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixvim": "nixvim", "nixvim": "nixvim",

View file

@ -22,6 +22,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "utils"; inputs.flake-utils.follows = "utils";
}; };
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
rustybar = { rustybar = {
url = "github:mildlyfunctionalgays/rustybar"; url = "github:mildlyfunctionalgays/rustybar";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -4,12 +4,14 @@ in {
services.udev.packages = [ services.udev.packages = [
(pkgs.callPackage ../externals/rules/adafruit.nix { }) (pkgs.callPackage ../externals/rules/adafruit.nix { })
(pkgs.callPackage ../externals/rules/limesuite.nix { }) (pkgs.callPackage ../externals/rules/limesuite.nix { })
pkgs.glasgow
pkgs.libsigrok pkgs.libsigrok
pkgs.openocd pkgs.openocd
pkgs.platformio pkgs.platformio
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
glasgow
jlink jlink
kicad kicad
openocd openocd

6
sets/nix-index.nix Normal file
View file

@ -0,0 +1,6 @@
{ inputs, ... }: {
imports = [ inputs.nix-index-database.nixosModules.nix-index ];
programs.command-not-found.enable = false;
programs.nix-index-database.comma.enable = true;
}

View file

@ -20,16 +20,17 @@
mako mako
polkit_gnome polkit_gnome
slurp slurp
swayidle
swaylock
waypipe waypipe
wf-recorder wf-recorder
wl-clipboard wl-clipboard
wofi wofi
wofi-emoji wofi-emoji
wtype
xdg-user-dirs xdg-user-dirs
xdg_utils xdg_utils
xsettingsd xsettingsd
swaylock
swayidle
]; ];
hardware.opengl.enable = true; hardware.opengl.enable = true;

View file

@ -1,8 +1,15 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports = [
[ ./sway.nix ./packages.nix ./pipewire.nix ./base.nix ./nvim.nix ../home ]; ./sway.nix
./packages.nix
./pipewire.nix
./base.nix
./nvim.nix
../home
./nix-index.nix
];
i18n.defaultLocale = "de_DE.UTF-8"; i18n.defaultLocale = "de_DE.UTF-8";
i18n.supportedLocales = [ "all" ]; i18n.supportedLocales = [ "all" ];