Fix ssh, added home.nix for bromine, and fix docker group
This commit is contained in:
parent
af2c3219ce
commit
6c8776b68a
|
|
@ -16,7 +16,7 @@
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;e
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-e9ee8166-a569-4bfc-9ada-fb2b718d9ad5".device = "/dev/disk/by-uuid/e9ee8166-a569-4bfc-9ada-fb2b718d9ad5";
|
boot.initrd.luks.devices."luks-e9ee8166-a569-4bfc-9ada-fb2b718d9ad5".device = "/dev/disk/by-uuid/e9ee8166-a569-4bfc-9ada-fb2b718d9ad5";
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../home-manager-modules
|
||||||
|
];
|
||||||
|
|
||||||
|
firefox.enable = false;
|
||||||
|
ssh.enable = false;
|
||||||
|
vscode.enable = true;
|
||||||
|
zsh.enable = true;
|
||||||
|
|
||||||
|
home.username = "mbessette";
|
||||||
|
home.homeDirectory = "/home/mbessette";
|
||||||
|
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||||
|
|
||||||
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
# environment.
|
||||||
|
home.packages = with pkgs; [];
|
||||||
|
|
||||||
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
|
# plain files is through 'home.file'.
|
||||||
|
home.file = {
|
||||||
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||||
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||||
|
# # symlink to the Nix store copy.
|
||||||
|
# ".screenrc".source = dotfiles/screenrc;
|
||||||
|
|
||||||
|
# # You can also set the file content immediately.
|
||||||
|
# ".gradle/gradle.properties".text = ''
|
||||||
|
# org.gradle.console=verbose
|
||||||
|
# org.gradle.daemon.idletimeout=3600000
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "vim";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (pkgs.lib.getName pkg) [
|
||||||
|
"1password-gui"
|
||||||
|
"1password"
|
||||||
|
"vscode"
|
||||||
|
"vscode-extension-ms-vsliveshare-vsliveshare"
|
||||||
|
"onepassword-password-manager"
|
||||||
|
"vscode-extension-ms-vscode-remote-remote-ssh"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@ in
|
||||||
|
|
||||||
config.programs.ssh = lib.mkIf cfg.enable {
|
config.programs.ssh = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
forwardAgent = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
Host *
|
Host *
|
||||||
IdentityAgent ${agentPath}
|
IdentityAgent ${agentPath}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
users.groups.docker = {};
|
||||||
users.users.${cfg.userName} = {
|
users.users.${cfg.userName} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "12345";
|
initialPassword = "12345";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue