user/comma: init

This commit is contained in:
Cilly Leang 2026-03-15 21:06:20 +11:00
parent 54fd3373d0
commit 2f4cbd382c
Signed by: cilly
GPG key ID: 6500251E087653C9
8 changed files with 33 additions and 2 deletions

21
flake.lock generated
View file

@ -474,6 +474,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1773552174,
"narHash": "sha256-mHSRNrT1rjeYBgkAlj07dW3+1nFEgAd8Gu6lgyfT9DU=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "8faeb68130df077450451b6734a221ba0d6cde42",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1764242076,
@ -728,6 +748,7 @@
"linux-tkg": "linux-tkg",
"neovim-nightly": "neovim-nightly",
"nix-gaming": "nix-gaming",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_6",
"nvim-treesitter": "nvim-treesitter",
"pastel": "pastel",

View file

@ -14,6 +14,8 @@
neovim-nightly.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = "github:fufexan/nix-gaming";
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
spicetify-nix.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -54,6 +54,7 @@ in {
];
user = mkAttrsFromPaths [
./user/catppuccin.nix
./user/comma.nix
./user/direnv.nix
./user/dunst.nix
./user/eww.nix

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: {
imports = [ ./packages-gui.nix ];
environment.systemPackages = with pkgs; [
comma
# ecryptfs
efibootmgr
fd

7
modules/user/comma.nix Normal file
View file

@ -0,0 +1,7 @@
{ inputs, ... }: {
imports = [
inputs.nix-index-database.homeModules.default
];
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
}

View file

@ -102,7 +102,6 @@ let
bindkey -a -r ':'
'';
in {
programs.command-not-found.enable = true;
programs.zsh = {
enable = true;
dotDir = "${config.xdg.configHome}/zsh";

View file

@ -21,6 +21,7 @@
};
imports = with modules.user; [
comma
direnv
git
neovim-minimal

View file

@ -21,6 +21,7 @@
sessionVariables
catppuccin
comma
direnv
git
gpg