split release.nix

auto-flake-update
Yorick van Pelt 2017-02-01 19:25:05 +01:00
parent d1e083cf3f
commit 67dad13a0b
4 changed files with 16 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env nix-shell
#!/usr/bin/env bash
#!nix-shell -i bash -p stow
stow -d `dirname $0` -t ~ nix git x pentadactyl i3 gtk gpg mutt misc bash
$(nix-build '<nixpkgs>' -A stow --no-out-link)/bin/stow -d `dirname $0` -t ~ nix git x pentadactyl i3 gtk gpg mutt misc bash
nix-build -A $(hostname -s)

7
release-stable.nix Normal file
View File

@ -0,0 +1,7 @@
let pkgs = import <nixpkgs> {config = import ./nix/.nixpkgs/config.nix;};
in
with pkgs;
{
dotfiles = with (import ./default.nix pkgs); [woodhouse pennyworth frumar];
userspace = with (pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts); [woodhouse pennyworth frumar];
}

7
release-unstable.nix Normal file
View File

@ -0,0 +1,7 @@
let pkgs = import <nixpkgs> {config = import ./nix/.nixpkgs/config.nix;};
in
with pkgs;
{
dotfiles = with (import ./default.nix pkgs); [ascanius jarvis];
userspace = with (pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts); [ascanius jarvis];
}

View File

@ -1,7 +0,0 @@
let pkgs = import <nixpkgs> {config = import ./nix/.nixpkgs/config.nix;};
in
with pkgs;
{
dotfiles = import ./default.nix pkgs;
userspace = pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts;
}