summaryrefslogtreecommitdiffstats
path: root/jeschli
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
commitb79f7715a032e3aa58c8a236ceb305b915974e9e (patch)
tree179c6dcfd45a4c013aaf25fa85ff441d3c019e4e /jeschli
parent5ac6d30dd2b86f58189d179f08cbe97ff938bf7e (diff)
j reagenzglas: remove own pre krops deploy skript
Diffstat (limited to 'jeschli')
-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 2eefb23fb..312bfb824 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.