Watch
1
0
Fork
You've already forked chitin
0

Compare commits

..
Author SHA1 Message Date
4f2016ccd3
shared system constants 2026-10-27 09:07:00 +07:00
8 changed files with 18 additions and 86 deletions

25
flake.lock generated
View file

@ -16,21 +16,6 @@
"url": "https://git.lix.systems/lix-project/flake-compat.git"
}
},
"flake-file": {
"locked": {
"lastModified": 1792905615,
"narHash": "sha256-KdGEzlRQPHBbNPD+AChjry8eWEx0TCrGKy1Hkacj+bA=",
"owner": "denful",
"repo": "flake-file",
"rev": "7b08dbc223bb1a758a515aad9653a6bf196bc772",
"type": "github"
},
"original": {
"owner": "denful",
"repo": "flake-file",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@ -149,11 +134,11 @@
]
},
"locked": {
"lastModified": 1793047357,
"narHash": "sha256-eY8aBTGSgtx+25254i22jyjbj+JQkEIfb+JyQ2Exnuk=",
"lastModified": 1792889789,
"narHash": "sha256-xpH3z+T5NELixXRjxGJ3mx30kz63Xt2B0ZfPWl7hcUg=",
"owner": "NotAShelf",
"repo": "nvf",
"rev": "60b4593979c39e9a1227c9913bd835bb1a59054b",
"rev": "557d2eb05a76e5939e6a75351343cae5731a71f8",
"type": "github"
},
"original": {
@ -164,14 +149,10 @@
},
"root": {
"inputs": {
"flake-file": "flake-file",
"flake-parts": "flake-parts",
"home-manager": "home-manager",
"import-tree": "import-tree",
"nixpkgs": "nixpkgs",
"nixpkgs-lib": [
"nixpkgs-unstable"
],
"nixpkgs-unstable": "nixpkgs-unstable",
"nvf": "nvf"
}

View file

@ -1,22 +1,15 @@
# DO-NOT-EDIT. This file was auto-generated using github:denful/flake-file.
# Use `nix run .#write-flake` to regenerate it.
{
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
inputs = {
flake-file.url = "github:denful/flake-file";
flake-parts.url = "github:hercules-ci/flake-parts";
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
import-tree.url = "github:vic/import-tree";
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
nixpkgs-lib.follows = "nixpkgs-unstable";
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
nvf = {
url = "github:NotAShelf/nvf";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
home-manager.url = "github:nix-community/home-manager/release-26.05";
nvf.url = "github:NotAShelf/nvf";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nvf.inputs.nixpkgs.follows = "nixpkgs-unstable";
};
outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules);
}

View file

@ -1,12 +0,0 @@
{inputs, ...}: {
flake-file.inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
};
imports = [
inputs.flake-parts.flakeModules.modules
inputs.flake-parts.flakeModules.easyOverlay
];
systems = ["x86_64-linux"];
}

View file

@ -0,0 +1,8 @@
{inputs, ...}: {
imports = with inputs.flake-parts.flakeModules; [
modules
easyOverlay
];
systems = [];
}

View file

@ -0,0 +1,11 @@
{inputs, ...}: {
flake.modules.nixos.homeManagerModule = {
imports = [inputs.home-manager.nixosModules.home-manager];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
};
};
}

View file

@ -1,12 +0,0 @@
{inputs, ...}: {
imports = [
inputs.flake-file.flakeModules.default
];
flake-file.inputs = {
flake-file.url = "github:denful/flake-file";
import-tree.url = "github:vic/import-tree";
};
flake-file.outputs = "inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules)";
}

View file

@ -1,9 +1,4 @@
{inputs, ...}: {
flake-file.inputs.nvf = {
url = "github:NotAShelf/nvf";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
imports = [inputs.nvf.homeManagerModules.default];
@ -26,16 +21,6 @@
searchCase = "smart";
hideSearchHighlight = false;
terminal.toggleterm = {
enable = true;
mappings.open = "<c-t>";
lazygit = {
enable = true;
package = pkgs.unstable.lazygit;
mappings.open = "<leader>gg";
};
};
clipboard = {
enable = true;
registers = "unnamedplus";

View file

@ -6,12 +6,6 @@
allowUnfree = true;
overlays = [self.overlays.default];
in {
flake-file.inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
nixpkgs-lib.follows = "nixpkgs-unstable";
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
};
perSystem = {
pkgs,
final,