diff options
author | Jeschli <jeschli@gmail.com> | 2019-09-30 08:12:29 +0200 |
---|---|---|
committer | Jeschli <jeschli@gmail.com> | 2019-09-30 08:14:22 +0200 |
commit | a81eb869f823bc283a201710d142471bc4d1ef47 (patch) | |
tree | 1da3760e6fe58e14348f99eef0c442082cb88a10 /jeschli/1systems/reagenzglas/config.nix | |
parent | 215c6b5670bb14129dcd00e13b2a06077cb2cd62 (diff) |
j reagenzglas: remove own pre krops deploy skript
Diffstat (limited to 'jeschli/1systems/reagenzglas/config.nix')
-rw-r--r-- | jeschli/1systems/reagenzglas/config.nix | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/jeschli/1systems/reagenzglas/config.nix b/jeschli/1systems/reagenzglas/config.nix index 2eefb23..312bfb8 100644 --- a/jeschli/1systems/reagenzglas/config.nix +++ b/jeschli/1systems/reagenzglas/config.nix @@ -1,18 +1,5 @@ { config, pkgs, ... }: -with pkgs; -let - rebuild_script = pkgs.writeTextFile { - name="rebuild"; - text='' - #!/usr/bin/env sh - set -eu - sudo cp -r /etc/nixos ~/old-nixos - sudo cp -r $HOME/nixos /etc/ - sudo nixos-rebuild switch - ''; - executable=true; - }; -in + { imports = [ @@ -51,12 +38,6 @@ in rofi ]; - # How I rebuild the system - environment.shellAliases = { - rebuild = rebuild_script; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. users.users.ombi = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. |