proper git input
This commit is contained in:
parent
7b5c3b956c
commit
ce1d4e71ab
5 changed files with 29 additions and 14 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "fish/themes/val-cat"]
|
|
||||||
path = fish/themes/val-cat
|
|
||||||
url = https://git.zynh.me/Zynh0722/omf-theme.git
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 75549ce64044336ed14e502f1c1ab8bf98184990
|
|
17
flake.lock
17
flake.lock
|
@ -1,5 +1,21 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"fish_theme": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1702794161,
|
||||||
|
"narHash": "sha256-uGtLlPvjLfrngdByjCYp9mUuZasg3Z6mGfkD1mdRs1o=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "75549ce64044336ed14e502f1c1ab8bf98184990",
|
||||||
|
"revCount": 24,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.zynh.me/Zynh0722/omf-theme"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.zynh.me/Zynh0722/omf-theme"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -38,6 +54,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"fish_theme": "fish_theme",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,11 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fish_theme = {
|
||||||
|
url = "git+https://git.zynh.me/Zynh0722/omf-theme";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... }@inputs:
|
outputs = { self, nixpkgs, ... }@inputs:
|
||||||
|
|
17
home.nix
17
home.nix
|
@ -1,8 +1,5 @@
|
||||||
{ config, pkgs, extraSpecialArgs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
# let
|
|
||||||
#
|
|
||||||
# in
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
|
@ -42,11 +39,11 @@
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = {
|
||||||
"${config.xdg.dataHome}/omf/themes/val-cat" = {
|
# "${config.xdg.dataHome}/omf/themes/val-cat" = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
source = config.lib.file.mkOutOfStoreSymlink /. + "${config.xdg.configHome}/nixos/fish/themes/val-cat";
|
# source = config.lib.file.mkOutOfStoreSymlink /. + "${config.xdg.configHome}/nixos/fish/themes/val-cat";
|
||||||
recursive = true;
|
# recursive = true;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
@ -57,7 +54,7 @@
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit =
|
interactiveShellInit =
|
||||||
builtins.readFile ./fish/themes/val-cat/fish_prompt.fish +
|
builtins.readFile "${inputs.fish_theme}/fish_prompt.fish" +
|
||||||
''
|
''
|
||||||
set -U fish_greeting
|
set -U fish_greeting
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue