From 010141fe0b7b6d866f46dd9721653d8ee0521a6b Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 1 Jul 2021 03:38:35 +0100 Subject: [PATCH] added easyalign and nerdtree --- home/default.nix | 52 ++++++++++++++++++++++++++++++ home/home.nix | 82 ------------------------------------------------ 2 files changed, 52 insertions(+), 82 deletions(-) create mode 100644 home/default.nix delete mode 100644 home/home.nix diff --git a/home/default.nix b/home/default.nix new file mode 100644 index 0000000..e893dc8 --- /dev/null +++ b/home/default.nix @@ -0,0 +1,52 @@ +{ config, pkgs, ... }: + +let + albert_autostart = (pkgs.makeAutostartItem { + name = "albert"; + package = pkgs.albert; + }); + guake_autostart = (pkgs.makeAutostartItem { + name = "guake"; + package = pkgs.guake; + }); +in { + nixpkgs.config = { allowUnfree = true; }; + + imports = [ ./git.nix ./zsh.nix ./gnome.nix ./code.nix ]; + + home.stateVersion = "21.05"; + + home.packages = with pkgs; [ + albert + guake + + firefox + chromium + + # reversing + rizin + + nmap + + slack + signal-desktop + teams + discord + element-desktop + + spotify + + bind + gparted + sshfs + + # autostart + albert_autostart + guake_autostart + ]; + + home.sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; +} diff --git a/home/home.nix b/home/home.nix deleted file mode 100644 index 3f2d441..0000000 --- a/home/home.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ config, pkgs, ... }: - -let - albert_autostart = (pkgs.makeAutostartItem { - name = "albert"; - package = pkgs.albert; - }); - guake_autostart = (pkgs.makeAutostartItem { - name = "guake"; - package = pkgs.guake; - }); -in { - nixpkgs.config = { allowUnfree = true; }; - - # - # imports - # - - imports = [ ./git.nix ./gnome.nix ./zsh.nix ./code.nix ]; - - # Home Manager needs a bit of information about you and the - # paths it should manage. - home.username = "giulio"; - home.homeDirectory = "/home/giulio"; - - # This value determines the Home Manager release that your - # configuration is compatible with. This helps avoid breakage - # when a new Home Manager release introduces backwards - # incompatible changes. - # - # You can update Home Manager without changing this value. See - # the Home Manager release notes for a list of state version - # changes in each release. - home.stateVersion = "21.05"; - - home.packages = with pkgs; [ - # essentials - albert - guake - - # browsers - firefox - brave - chromium - - # reversing - rizin - - # networking - nmap - - # development - clang - - # social - slack - signal-desktop - teams - discord - element-desktop - - # music - spotify - - # misc - bind - - # system - gparted - sshfs - nixops - - # autostart - albert_autostart - guake_autostart - ]; - - home.sessionVariables = { - EDITOR = "nvim"; - VISUAL = "nvim"; - }; -}