atuin and root

This commit is contained in:
Ingolf Wagner 2023-12-23 22:46:58 +01:00
parent 585f95a247
commit 93953d72f9
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 23 additions and 11 deletions

View file

@ -1296,11 +1296,11 @@
"secrets": { "secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1702824777, "lastModified": 1703323989,
"narHash": "sha256-Lsa6g03o8Qd35C9I48WZ7GFB3c8nQyHgrI7oGseMV98=", "narHash": "sha256-YC2itrHIVrg1TazWnsuZ51BBYD3HJMFKONgh9RWn5Qk=",
"ref": "main", "ref": "main",
"rev": "fbe67abe5b5586d71f108a5214be28aeff49f4a3", "rev": "23c91088d677f3f1e7d21bb1a8afd4f729d1e030",
"revCount": 60, "revCount": 61,
"type": "git", "type": "git",
"url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git" "url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git"
}, },

View file

@ -331,6 +331,7 @@
# { home-manager.users.root = import ./nixos/homes/root; } # { home-manager.users.root = import ./nixos/homes/root; }
{ home-manager.users.mainUser = import ./nixos/homes/palo; } { home-manager.users.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = true; } { home-manager.users.mainUser.gui.enable = true; }
{ home-manager.users.root = import ./nixos/homes/root; }
]; ];
}; };
cherry = nixosConfigurationSetup { cherry = nixosConfigurationSetup {
@ -338,9 +339,9 @@
modules = [ modules = [
nixos-hardware.nixosModules.framework-13th-gen-intel nixos-hardware.nixosModules.framework-13th-gen-intel
homeManagerModules homeManagerModules
# { home-manager.users.root = import ./nixos/homes/root; }
{ home-manager.users.mainUser = import ./nixos/homes/palo; } { home-manager.users.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = true; } { home-manager.users.mainUser.gui.enable = true; }
{ home-manager.users.root = import ./nixos/homes/root; }
]; ];
}; };
chungus = nixosConfigurationSetup { chungus = nixosConfigurationSetup {
@ -349,12 +350,17 @@
homeManagerModules homeManagerModules
retiolum.nixosModules.retiolum retiolum.nixosModules.retiolum
{ home-manager.users.mainUser = import ./nixos/homes/palo; } { home-manager.users.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = false; }
{ home-manager.users.root = import ./nixos/homes/root; }
]; ];
}; };
robi = nixosConfigurationSetup { robi = nixosConfigurationSetup {
name = "robi"; name = "robi";
modules = [ modules = [
homeManagerModules homeManagerModules
{ home-manager.users.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = false; }
{ home-manager.users.root = import ./nixos/homes/root; }
]; ];
}; };
}; };

View file

@ -1,5 +1,8 @@
{ lib, ... }: { lib, ... }:
{ {
imports = [ ./packages.nix ]; imports = [
./packages.nix
./terminal.nix
];
options.gui.enable = lib.mkEnableOption "should GUI packages be anabled?"; options.gui.enable = lib.mkEnableOption "should GUI packages be anabled?";
} }

View file

@ -1,9 +1,9 @@
{ pkgs, ... }: { lib, pkgs, ... }:
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
defaultKeymap = "viins"; defaultKeymap = lib.mkDefault "viins";
}; };
programs.bash = { programs.bash = {
@ -50,7 +50,7 @@
settings = { settings = {
auto_sync = true; auto_sync = true;
sync_frequency = "5m"; sync_frequency = "5m";
sync_address = "http://chungus.private"; sync_address = "http://chungus.private:8888";
#search_mode = "prefix"; #search_mode = "prefix";
}; };
}; };

View file

@ -5,6 +5,5 @@
./nextcloud.nix ./nextcloud.nix
./social.nix ./social.nix
./packages.nix ./packages.nix
./terminal.nix
]; ];
} }

View file

@ -0,0 +1,4 @@
{
imports = [ ../common ];
gui.enable = false;
}

View file

@ -3,6 +3,6 @@
enable = true; enable = true;
host = "${config.networking.hostName}.private"; host = "${config.networking.hostName}.private";
maxHistoryLength = 999999; maxHistoryLength = 999999;
openRegistration = true; openRegistration = false;
}; };
} }