1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

update-functions updated

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-10-11 15:14:10 +02:00
parent b5dc4b5ee3
commit be36bbc537
2 changed files with 11 additions and 12 deletions

View File

@ -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";
}

View File

@ -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/.