diff options
| author | Leonardo <noreply@leoflo.me> | 2026-02-28 16:27:59 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2026-02-28 19:02:07 +0100 |
| commit | bb11479130b0988e93408aa917cfc872d427d95f (patch) | |
| tree | 58d37004d9529f927fcab0a5672bc6697d9b3c24 /odino/home-manager/leo | |
| parent | 1507e4e369bd73b85f191fef20a7509283a418aa (diff) | |
| download | nixos-bb11479130b0988e93408aa917cfc872d427d95f.tar.gz nixos-bb11479130b0988e93408aa917cfc872d427d95f.zip | |
nuovo layout
Diffstat (limited to 'odino/home-manager/leo')
| -rw-r--r-- | odino/home-manager/leo/home.nix | 13 | ||||
| -rw-r--r-- | odino/home-manager/leo/programs/default.nix | 9 | ||||
| -rw-r--r-- | odino/home-manager/leo/programs/fastfetch.nix | 57 | ||||
| -rw-r--r-- | odino/home-manager/leo/programs/zsh.nix | 44 |
4 files changed, 0 insertions, 123 deletions
diff --git a/odino/home-manager/leo/home.nix b/odino/home-manager/leo/home.nix deleted file mode 100644 index 332cb6e..0000000 --- a/odino/home-manager/leo/home.nix +++ /dev/null @@ -1,13 +0,0 @@ -{...}: { - imports = [ - ./programs - ]; - - home = { - username = "leo"; - homeDirectory = "/home/leo"; - }; - - # Version - home.stateVersion = "25.05"; -} diff --git a/odino/home-manager/leo/programs/default.nix b/odino/home-manager/leo/programs/default.nix deleted file mode 100644 index 711109e..0000000 --- a/odino/home-manager/leo/programs/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{...}: { - imports = [ - ./zsh.nix - ./fastfetch.nix - ]; - - zsh.enable = true; - fastfetch.enable = true; -} diff --git a/odino/home-manager/leo/programs/fastfetch.nix b/odino/home-manager/leo/programs/fastfetch.nix deleted file mode 100644 index 94eccab..0000000 --- a/odino/home-manager/leo/programs/fastfetch.nix +++ /dev/null @@ -1,57 +0,0 @@ -{lib, config, ...}: { - options.fastfetch.enable = lib.mkEnableOption "fastfetch config"; - - config = lib.mkIf config.fastfetch.enable { - programs.fastfetch = { - enable = true; - - settings = { - display = { - size = { - maxPrefix = "MB"; - ndigits = 0; - spaceBeforeUnit = "never"; - }; - freq = { - ndigits = 3; - spaceBeforeUnit = "never"; - }; - }; - modules = [ - "title" - "separator" - "os" - { - type = "kernel"; - format = "{release}"; - } - { - type = "packages"; - combined = true; - } - "shell" - { - type = "display"; - compactType = "original"; - key = "Resolution"; - } - "de" - "wm" - "terminal" - "cpu" - { - type = "gpu"; - key = "GPU"; - format = "{name}"; - } - { - type = "memory"; - format = "{used} / {total}"; - } - "break" - "colors" - ]; - }; - }; - }; -} diff --git a/odino/home-manager/leo/programs/zsh.nix b/odino/home-manager/leo/programs/zsh.nix deleted file mode 100644 index c42d1a5..0000000 --- a/odino/home-manager/leo/programs/zsh.nix +++ /dev/null @@ -1,44 +0,0 @@ -{lib, config, ...}: { - options.zsh.enable = lib.mkEnableOption "zsh config"; - - config = lib.mkIf config.zsh.enable { - programs.zsh = { - enable = true; - enableCompletion = true; - enableVteIntegration = true; - syntaxHighlighting.enable = true; - - history.size = 10000; - - oh-my-zsh = { - enable = true; - theme = "fishy"; - plugins = [ "git" "ssh" ]; - }; - - shellAliases = { - ls = "ls -lh --color=auto"; - l = "ls"; - ll = "ls -a"; - ssh = "TERM=xterm-256color ssh"; - - update-boot = "sudo nixos-rebuild boot --flake ~/nixos#odino"; - update-system = "sudo nixos-rebuild switch --flake ~/nixos#odino"; - update-home = "home-manager switch --flake ~/nixos#odino"; - }; - - initContent = '' - # Ctrl + arrow keys - bindkey '^[Oc' forward-word - bindkey '^[Od' backward-word - bindkey '^[[1;5D' backward-word - bindkey '^[[1;5C' forward-word - bindkey '^H' backward-kill-word - - # Theme - autoload -U colors - colors - ''; - }; - }; -} |
