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

View file

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

View file

@ -4,12 +4,14 @@ in {
services.udev.packages = [
(pkgs.callPackage ../externals/rules/adafruit.nix { })
(pkgs.callPackage ../externals/rules/limesuite.nix { })
pkgs.glasgow
pkgs.libsigrok
pkgs.openocd
pkgs.platformio
];
environment.systemPackages = with pkgs; [
glasgow
jlink
kicad
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
polkit_gnome
slurp
swayidle
swaylock
waypipe
wf-recorder
wl-clipboard
wofi
wofi-emoji
wtype
xdg-user-dirs
xdg_utils
xsettingsd
swaylock
swayidle
];
hardware.opengl.enable = true;

View file

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