From b5315c2108591b32e5b76bb94512612e097bc144 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 17 Jun 2020 03:03:43 +0200 Subject: [PATCH] restructure whole project --- machines/desktop.nix | 18 ++++++++++++++++++ machines/laptop.nix | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 machines/desktop.nix create mode 100644 machines/laptop.nix diff --git a/machines/desktop.nix b/machines/desktop.nix new file mode 100644 index 0000000..14b23cd --- /dev/null +++ b/machines/desktop.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: +{ + imports = [ ../profiles ]; + + machine = { + name = "DanixDesktop"; + eth = "eno1"; + }; + profiles.base.enable = true; + profiles.xsession.enable = true; + profiles.zsh.enable = true; + + + programs.home-manager = { + enable = true; + path = "https://github.com/rycee/home-manager/archive/release-20.03.tar.gz"; + }; +} diff --git a/machines/laptop.nix b/machines/laptop.nix new file mode 100644 index 0000000..f5eb85a --- /dev/null +++ b/machines/laptop.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: +{ + imports = [ ../profiles ]; + + machine = { + name = "DanixLaptop"; + eth = "enp0s25"; + }; + profiles.base.enable = true; + profiles.xsession.enable = true; + profiles.zsh.enable = true; + + + programs.home-manager = { + enable = true; + path = "https://github.com/rycee/home-manager/archive/release-20.03.tar.gz"; + }; +}