diff --git a/machine/stel-xps/default.nix b/machine/stel-xps/default.nix index 09cf771..0e8c8b0 100644 --- a/machine/stel-xps/default.nix +++ b/machine/stel-xps/default.nix @@ -1,14 +1,14 @@ { config, pkgs, ...}: { - imports = [ - ./dell-specific.nix - ]; - networking.hostName = "stel-xps"; # define the hostname + imports = [ + "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/dell/xps/13-7390" + ]; + networking.hostName = "stel-xps"; # define the hostname - environment.systemPackages = with pkgs; [ - brightnessctl - ]; + environment.systemPackages = with pkgs; [ + brightnessctl + ]; - services.autorandr.enable = true; - services.xserver.desktopManager.wallpaper.mode = "fill"; + services.autorandr.enable = true; + services.xserver.desktopManager.wallpaper.mode = "fill"; } diff --git a/to_system.sh b/to_system.sh index e86269b..061e953 100755 --- a/to_system.sh +++ b/to_system.sh @@ -5,8 +5,7 @@ cp configuration.nix /etc/nixos/. cp -r programs /etc/nixos/. mkdir -p /etc/nixos/machine -for machine in `ls -al machine | grep "^d" | rev | cut -d" " -f1 | rev`; do - cp -r machine/${machine} /etc/nixos/machine/ -done +cp -r machine/stel-xps /etc/nixos/machine/. +cp -r machine/nucturne /etc/nixos/machine/. cp -r ./home/config/* /home/ellmau/.config/.