Skip to content

Commit

Permalink
Add readme and license
Browse files Browse the repository at this point in the history
  • Loading branch information
billy4479 committed Dec 27, 2023
1 parent 9f5101e commit f00d333
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2023 Giacomo Ellero

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# My nix flake

This flake contains my NixOS + home-manager configuration.
1 change: 1 addition & 0 deletions user/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
fd
ripgrep
p7zip
license-cli
];

home.file = { };
Expand Down
7 changes: 6 additions & 1 deletion user/shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
gl = "git log";
gs = "git status";

mkcd = ''mkdir -p "$1" && cd "$1"'';
license = "license text --author 'Giacomo Ellero'";
};
in
{
Expand Down Expand Up @@ -86,6 +86,11 @@ in
bindkey "^[OB" down-line-or-beginning-search
setopt rmstarsilent
# Functions
function mkcd(){
mkdir -p "$1" && cd "$1"
}
'';
};

Expand Down

0 comments on commit f00d333

Please sign in to comment.