Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
4f2016ccd3 |
8 changed files with 18 additions and 86 deletions
25
flake.lock
generated
25
flake.lock
generated
|
|
@ -16,21 +16,6 @@
|
||||||
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
"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": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
|
@ -149,11 +134,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793047357,
|
"lastModified": 1792889789,
|
||||||
"narHash": "sha256-eY8aBTGSgtx+25254i22jyjbj+JQkEIfb+JyQ2Exnuk=",
|
"narHash": "sha256-xpH3z+T5NELixXRjxGJ3mx30kz63Xt2B0ZfPWl7hcUg=",
|
||||||
"owner": "NotAShelf",
|
"owner": "NotAShelf",
|
||||||
"repo": "nvf",
|
"repo": "nvf",
|
||||||
"rev": "60b4593979c39e9a1227c9913bd835bb1a59054b",
|
"rev": "557d2eb05a76e5939e6a75351343cae5731a71f8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -164,14 +149,10 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-file": "flake-file",
|
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"import-tree": "import-tree",
|
"import-tree": "import-tree",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
],
|
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nvf": "nvf"
|
"nvf": "nvf"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
21
flake.nix
21
flake.nix
|
|
@ -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 = {
|
inputs = {
|
||||||
flake-file.url = "github:denful/flake-file";
|
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
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";
|
import-tree.url = "github:vic/import-tree";
|
||||||
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
|
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";
|
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
|
||||||
nvf = {
|
home-manager.url = "github:nix-community/home-manager/release-26.05";
|
||||||
url = "github:NotAShelf/nvf";
|
nvf.url = "github:NotAShelf/nvf";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
|
||||||
};
|
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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"];
|
|
||||||
}
|
|
||||||
8
modules/flake/flake-parts.nix
Normal file
8
modules/flake/flake-parts.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{inputs, ...}: {
|
||||||
|
imports = with inputs.flake-parts.flakeModules; [
|
||||||
|
modules
|
||||||
|
easyOverlay
|
||||||
|
];
|
||||||
|
|
||||||
|
systems = [];
|
||||||
|
}
|
||||||
11
modules/flake/hm-nixos-module.nix
Normal file
11
modules/flake/hm-nixos-module.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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)";
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +1,4 @@
|
||||||
{inputs, ...}: {
|
{inputs, ...}: {
|
||||||
flake-file.inputs.nvf = {
|
|
||||||
url = "github:NotAShelf/nvf";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
||||||
imports = [inputs.nvf.homeManagerModules.default];
|
imports = [inputs.nvf.homeManagerModules.default];
|
||||||
|
|
||||||
|
|
@ -26,16 +21,6 @@
|
||||||
searchCase = "smart";
|
searchCase = "smart";
|
||||||
hideSearchHighlight = false;
|
hideSearchHighlight = false;
|
||||||
|
|
||||||
terminal.toggleterm = {
|
|
||||||
enable = true;
|
|
||||||
mappings.open = "<c-t>";
|
|
||||||
lazygit = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.unstable.lazygit;
|
|
||||||
mappings.open = "<leader>gg";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
clipboard = {
|
clipboard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
registers = "unnamedplus";
|
registers = "unnamedplus";
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,6 @@
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
overlays = [self.overlays.default];
|
overlays = [self.overlays.default];
|
||||||
in {
|
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 = {
|
perSystem = {
|
||||||
pkgs,
|
pkgs,
|
||||||
final,
|
final,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue