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": {
"flake": false,
"locked": {
"lastModified": 1702824777,
"narHash": "sha256-Lsa6g03o8Qd35C9I48WZ7GFB3c8nQyHgrI7oGseMV98=",
"lastModified": 1703323989,
"narHash": "sha256-YC2itrHIVrg1TazWnsuZ51BBYD3HJMFKONgh9RWn5Qk=",
"ref": "main",
"rev": "fbe67abe5b5586d71f108a5214be28aeff49f4a3",
"revCount": 60,
"rev": "23c91088d677f3f1e7d21bb1a8afd4f729d1e030",
"revCount": 61,
"type": "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.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = true; }
{ home-manager.users.root = import ./nixos/homes/root; }
];
};
cherry = nixosConfigurationSetup {
@ -338,9 +339,9 @@
modules = [
nixos-hardware.nixosModules.framework-13th-gen-intel
homeManagerModules
# { home-manager.users.root = import ./nixos/homes/root; }
{ home-manager.users.mainUser = import ./nixos/homes/palo; }
{ home-manager.users.mainUser.gui.enable = true; }
{ home-manager.users.root = import ./nixos/homes/root; }
];
};
chungus = nixosConfigurationSetup {
@ -349,12 +350,17 @@
homeManagerModules
retiolum.nixosModules.retiolum
{ 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 {
name = "robi";
modules = [
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, ... }:
{
imports = [ ./packages.nix ];
imports = [
./packages.nix
./terminal.nix
];
options.gui.enable = lib.mkEnableOption "should GUI packages be anabled?";
}

View file

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

View file

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

View file

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

View file

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