summaryrefslogtreecommitdiffstats
path: root/jeschli/1systems/reagenzglas
diff options
context:
space:
mode:
authorJeschli <jeschli@gmail.com>2019-09-30 08:12:29 +0200
committerJeschli <jeschli@gmail.com>2019-09-30 08:14:22 +0200
commita81eb869f823bc283a201710d142471bc4d1ef47 (patch)
tree1da3760e6fe58e14348f99eef0c442082cb88a10 /jeschli/1systems/reagenzglas
parent215c6b5670bb14129dcd00e13b2a06077cb2cd62 (diff)
j reagenzglas: remove own pre krops deploy skript
Diffstat (limited to 'jeschli/1systems/reagenzglas')
-rw-r--r--jeschli/1systems/reagenzglas/config.nix21
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.