Initial commit.
This commit is contained in:
commit
67823cbed6
51 changed files with 1714 additions and 0 deletions
37
users/nolan/default.nix
Normal file
37
users/nolan/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
users.users.nolan = {
|
||||
description = "Nolan Darilek";
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPk6C4eOYzTZ8XOuUA2tErGnSTLS/l9kRDl9+5Ql+m7VtaH/KRFbu6x+C0QAIKOrRcQOjpGYUjL1aIn0HCcoEW2PSihDmOHC+W8cy8ucScy4fPI5KpFFqTZU336Fje+NS4n587gcoaa5LjKcr2KZy/ljgzl4eNSRIqy85khfH4puxsj7LwTIqsZoqDhtD/jSqaKP1C2wuYSsijLF85UnRcT9jErnL757yUv/4xb4Is+gB0zan9GiBXRca4lzb0mY8rmMXmKhc2lm/mu8ogZRdYX5R2JP1AukzYGSdOFs4iUauihgvakuou9AugD2CC+ygYIEbWkUjwKfT9nRN93Qi9 id_rsa"
|
||||
];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"pipewire"
|
||||
"pulse-access"
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.nolan = {
|
||||
home.stateVersion = "24.05";
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
userName = "Nolan Darilek";
|
||||
userEmail = "nolan@thewordnerd.info";
|
||||
extraConfig = {
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
21
users/nolan/desktop-minimal.nix
Normal file
21
users/nolan/desktop-minimal.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
|
||||
age.secrets.nolan.file = ../../secrets/nolan.age;
|
||||
|
||||
users.users.nolan = {
|
||||
hashedPasswordFile = config.age.secrets.nolan.path;
|
||||
packages = with pkgs; [ wget ];
|
||||
};
|
||||
|
||||
home-manager.users.nolan = {
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox.override { nativeMessagingHosts = [ pkgs.gnome-browser-connector ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
56
users/nolan/desktop.nix
Normal file
56
users/nolan/desktop.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./desktop-minimal.nix ];
|
||||
|
||||
users.users.nolan = {
|
||||
packages = with pkgs; [
|
||||
keepassxc
|
||||
podman-desktop
|
||||
devpod
|
||||
unstable.fractal
|
||||
element-desktop
|
||||
discord
|
||||
spotify
|
||||
thunderbird
|
||||
slack
|
||||
zoom
|
||||
nil
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox.nativeMessagingHosts.gsconnect = true;
|
||||
|
||||
programs.kdeconnect = {
|
||||
enable = true;
|
||||
package = pkgs.gnomeExtensions.gsconnect;
|
||||
};
|
||||
|
||||
home-manager.users.nolan = {
|
||||
services = {
|
||||
kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
nextcloud-client.enable = true;
|
||||
};
|
||||
programs = {
|
||||
git = {
|
||||
extraConfig = {
|
||||
credential.helper = "${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret";
|
||||
};
|
||||
};
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
vscode = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.vscode.fhs;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
7
users/root.nix
Normal file
7
users/root.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPk6C4eOYzTZ8XOuUA2tErGnSTLS/l9kRDl9+5Ql+m7VtaH/KRFbu6x+C0QAIKOrRcQOjpGYUjL1aIn0HCcoEW2PSihDmOHC+W8cy8ucScy4fPI5KpFFqTZU336Fje+NS4n587gcoaa5LjKcr2KZy/ljgzl4eNSRIqy85khfH4puxsj7LwTIqsZoqDhtD/jSqaKP1C2wuYSsijLF85UnRcT9jErnL757yUv/4xb4Is+gB0zan9GiBXRca4lzb0mY8rmMXmKhc2lm/mu8ogZRdYX5R2JP1AukzYGSdOFs4iUauihgvakuou9AugD2CC+ygYIEbWkUjwKfT9nRN93Qi9 id_rsa"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue