From 721317da4ca331853d81423698a2822cebc3c653 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sat, 11 Apr 2020 22:48:54 +0300 Subject: [PATCH] feat: some randome meme clis and planner --- modules/applications/misc.nix | 23 +++++++++++++++---- .../applications/shells/sessionVariables.nix | 7 +----- modules/overlay.nix | 7 +++++- nix/sources.json | 12 ++++++++++ 4 files changed, 38 insertions(+), 11 deletions(-) diff --git a/modules/applications/misc.nix b/modules/applications/misc.nix index d6115fc..64b5a8d 100644 --- a/modules/applications/misc.nix +++ b/modules/applications/misc.nix @@ -1,12 +1,27 @@ { pkgs, ... }: { home-manager.users.adrielus.home.packages = with pkgs; [ - tree - mkpasswd + # cmd stuff + tree # print a file structure + exa # ls replacement + mkpasswd # hash passwords gnupg + + # editors vscodium - google-chrome + + # chat apps discord slack - spectacle + + # gui studf + google-chrome + spectacle # take screenshots + unstable.elementary-planner # project planner + + # for the memes + fortune + cowsay + lolcat + figlet ]; } diff --git a/modules/applications/shells/sessionVariables.nix b/modules/applications/shells/sessionVariables.nix index 32589b7..0c617fe 100644 --- a/modules/applications/shells/sessionVariables.nix +++ b/modules/applications/shells/sessionVariables.nix @@ -5,9 +5,4 @@ let GITHUB_USERNAME = "Mateiadrielrafael"; inherit GITHUB_TOKEN; }; -in { - home-manager.users.adrielus = { - home.sessionVariables = variables; - # programs.zsh.sessionVariables = variables; - }; -} +in { home-manager.users.adrielus = { home.sessionVariables = variables; }; } diff --git a/modules/overlay.nix b/modules/overlay.nix index 4c8dee0..08e1d96 100644 --- a/modules/overlay.nix +++ b/modules/overlay.nix @@ -1,12 +1,17 @@ { ... }: -let imports = import ../nix/sources.nix; +let + imports = import ../nix/sources.nix; + unstable = import imports.nixpkgs-unstable { config.allowUnfree = true; }; in { nixpkgs.overlays = [ (self: super: with self; rec { inherit imports; + inherit unstable; + cached-nix-shell = callPackage imports.cached-nix-shell { }; easy-purescript-nix = callPackage imports.easy-purescript-nix { }; + inherit (import imports.niv { }) niv; inherit (import imports.all-hies { }) all-hies; }) diff --git a/nix/sources.json b/nix/sources.json index 41df02d..5ada23f 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -82,5 +82,17 @@ "type": "tarball", "url": "https://github.com/NixOS/nixpkgs-channels/archive/e10c65cdb35b6a66491e47e5a85f5d456b4f4eea.tar.gz", "url_template": "https://github.com///archive/.tar.gz" + }, + "nixpkgs-unstable": { + "branch": "nixos-unstable", + "description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to", + "homepage": "https://github.com/NixOS/nixpkgs", + "owner": "nixos", + "repo": "nixpkgs-channels", + "rev": "9b0d2f3fd153167b0c8ce84bb71e766a39ed4c9d", + "sha256": "0yyr83zdaa04v8dsla28pk0nqnihxzkgfr8j0m3prgj2w4gd9ajz", + "type": "tarball", + "url": "https://github.com/nixos/nixpkgs-channels/archive/9b0d2f3fd153167b0c8ce84bb71e766a39ed4c9d.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" } }