1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add comma

This commit is contained in:
Stefan Ellmauthaler 2022-05-30 10:54:41 +02:00
parent 012acfc5d3
commit cfcec4c437
Failed to extract signature
3 changed files with 80 additions and 0 deletions

65
flake.lock generated
View File

@ -16,6 +16,32 @@
"type": "gitlab"
}
},
"comma": {
"inputs": {
"flake-compat": "flake-compat",
"naersk": "naersk",
"nixpkgs": [
"nixpkgs-unstable"
],
"utils": [
"flake-utils-plus",
"flake-utils"
]
},
"locked": {
"lastModified": 1650481854,
"narHash": "sha256-CZQLigKovJbMoTbPuWT3SBSMymjD58m72O/oy+HilQg=",
"owner": "nix-community",
"repo": "comma",
"rev": "034a9ca440370fc1eccbed43ff345fb6ea1f0d27",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "comma",
"type": "github"
}
},
"dwarffs": {
"inputs": {
"nix": [
@ -60,6 +86,22 @@
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1648199409,
"narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "64a525ee38886ab9028e6f61790de0832aa3ef03",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1653893745,
@ -145,6 +187,28 @@
"type": "github"
}
},
"naersk": {
"inputs": {
"nixpkgs": [
"comma",
"nixpkgs"
]
},
"locked": {
"lastModified": 1650101877,
"narHash": "sha256-IYxYc5Z1ZHQDTQbTWsOZ9HlZepsVjgV5oZwmbKzxSJs=",
"owner": "nix-community",
"repo": "naersk",
"rev": "8cc379478819e6a22ce7595a761fe1e17c8d7458",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "naersk",
"type": "github"
}
},
"nix": {
"inputs": {
"lowdown-src": "lowdown-src",
@ -309,6 +373,7 @@
},
"root": {
"inputs": {
"comma": "comma",
"dwarffs": "dwarffs",
"emacs-overlay": "emacs-overlay",
"flake-utils-plus": "flake-utils-plus",

View File

@ -45,6 +45,15 @@
nixpkgs.follows = "nixpkgs";
};
};
comma = {
url = "github:nix-community/comma";
# TODO: change to nixpkgs when updating to NixOS-22.05;
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
utils.follows = "flake-utils-plus/flake-utils";
};
};
};
outputs = { self, nixpkgs, flake-utils-plus, ... }@inputs:
@ -76,6 +85,7 @@
(final: prev: {
unstable = channels.nixpkgs-unstable;
})
(flake-utils-plus.lib.genPkgOverlay inputs.comma "comma")
inputs.nix.overlay
inputs.emacs-overlay.overlay
];

View File

@ -24,6 +24,11 @@
xdg = {
enable = true;
};
home.packages = with pkgs; [
comma
];
programs = {
alacritty = {
enable = true;