adds mennos-laptop as host, adds nextcloud, adds nil and nixd for zed
language servers to work. updates setup to support 25.04
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
[workstations]
|
[workstations]
|
||||||
mennos-laptop-w ansible_connection=local
|
mennos-laptop ansible_connection=local
|
||||||
mennos-cachyos-laptop ansible_connection=local
|
|
||||||
mennos-desktop ansible_connection=local
|
mennos-desktop ansible_connection=local
|
||||||
|
|
||||||
[servers]
|
[servers]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
- name: Include workstation tasks
|
- name: Include workstation tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
|
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
|
||||||
when: inventory_hostname in ['mennos-laptop-w', 'mennos-cachyos-laptop', 'mennos-desktop']
|
when: inventory_hostname in ['mennos-laptop', 'mennos-desktop']
|
||||||
|
|
||||||
- name: Include server tasks
|
- name: Include server tasks
|
||||||
ansible.builtin.import_tasks: tasks/servers/server.yml
|
ansible.builtin.import_tasks: tasks/servers/server.yml
|
||||||
|
|||||||
@@ -34,8 +34,7 @@
|
|||||||
vars:
|
vars:
|
||||||
gitconfig_mapping:
|
gitconfig_mapping:
|
||||||
mennos-desktop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
mennos-desktop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
||||||
mennos-cachyos-laptop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
mennos-laptop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
||||||
mennos-laptop-w: "$DOTFILES_PATH/config/git/gitconfig.wsl"
|
|
||||||
mennos-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
mennos-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
||||||
mennos-vm: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
mennos-vm: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -55,5 +55,7 @@
|
|||||||
- distrobox
|
- distrobox
|
||||||
# Android Screen Mirroring
|
# Android Screen Mirroring
|
||||||
- scrcpy
|
- scrcpy
|
||||||
|
- dolphin-nextcloud
|
||||||
|
- nextcloud-desktop
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|||||||
0
config/autostart/io.github.mrvladus.List.desktop
Executable file → Normal file
0
config/autostart/io.github.mrvladus.List.desktop
Executable file → Normal file
@@ -1,43 +0,0 @@
|
|||||||
[user]
|
|
||||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
|
||||||
email = menno@vleeuwen.me
|
|
||||||
name = Menno van Leeuwen
|
|
||||||
|
|
||||||
[gpg]
|
|
||||||
format = ssh
|
|
||||||
|
|
||||||
[gpg "ssh"]
|
|
||||||
program = "/mnt/c/Users/menno/AppData/Local/1Password/app/8/op-ssh-sign-wsl"
|
|
||||||
|
|
||||||
[commit]
|
|
||||||
gpgsign = true
|
|
||||||
|
|
||||||
[color]
|
|
||||||
ui = true
|
|
||||||
|
|
||||||
[push]
|
|
||||||
autoSetupRemote = true
|
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = false
|
|
||||||
|
|
||||||
[filter "lfs"]
|
|
||||||
process = git-lfs filter-process
|
|
||||||
required = true
|
|
||||||
clean = git-lfs clean -- %f
|
|
||||||
smudge = git-lfs smudge -- %f
|
|
||||||
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
[credential "https://github.com"]
|
|
||||||
helper =
|
|
||||||
helper = !/home/menno/.nix-profile/bin/gh auth git-credential
|
|
||||||
[credential "https://gist.github.com"]
|
|
||||||
helper =
|
|
||||||
helper = !/home/menno/.nix-profile/bin/gh auth git-credential
|
|
||||||
|
|
||||||
[safe]
|
|
||||||
directory = *
|
|
||||||
|
|
||||||
[alias]
|
|
||||||
pushall = "!f() { for var in $(git remote show); do echo \"pushing to $var\"; git push $var; done; }; f"
|
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"mennos-cachyos-laptop" = home-manager.lib.homeManagerConfiguration {
|
"mennos-laptop" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./home.nix ];
|
modules = [ ./home.nix ];
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
@@ -57,49 +57,7 @@
|
|||||||
opnix
|
opnix
|
||||||
;
|
;
|
||||||
isServer = false;
|
isServer = false;
|
||||||
hostname = "mennos-cachyos-laptop";
|
hostname = "mennos-laptop";
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"mennos-server" = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
modules = [ ./home.nix ];
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit
|
|
||||||
pkgs
|
|
||||||
pkgs-unstable
|
|
||||||
opnix
|
|
||||||
;
|
|
||||||
isServer = true;
|
|
||||||
hostname = "mennos-server";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"mennos-vm" = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
modules = [ ./home.nix ];
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit
|
|
||||||
pkgs
|
|
||||||
pkgs-unstable
|
|
||||||
opnix
|
|
||||||
;
|
|
||||||
isServer = true;
|
|
||||||
hostname = "mennos-vm";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"mennos-laptop-w" = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
modules = [ ./home.nix ];
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit
|
|
||||||
pkgs
|
|
||||||
pkgs-unstable
|
|
||||||
opnix
|
|
||||||
;
|
|
||||||
isServer = false;
|
|
||||||
hostname = "mennos-laptop-w";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,14 +9,8 @@
|
|||||||
imports =
|
imports =
|
||||||
if hostname == "mennos-desktop" then
|
if hostname == "mennos-desktop" then
|
||||||
[ ./hosts/mennos-desktop.nix ]
|
[ ./hosts/mennos-desktop.nix ]
|
||||||
else if hostname == "mennos-laptop-w" then
|
else if hostname == "mennos-laptop" then
|
||||||
[ ./hosts/mennos-laptop-w.nix ]
|
[ ./hosts/mennos-laptop.nix ]
|
||||||
else if hostname == "mennos-cachyos-laptop" then
|
|
||||||
[ ./hosts/mennos-cachyos-laptop.nix ]
|
|
||||||
else if hostname == "mennos-server" then
|
|
||||||
[ ./hosts/mennos-server.nix ]
|
|
||||||
else if hostname == "mennos-vm" then
|
|
||||||
[ ./hosts/mennos-vm.nix ]
|
|
||||||
else
|
else
|
||||||
[ ./hosts/fallback.nix ];
|
[ ./hosts/fallback.nix ];
|
||||||
|
|
||||||
@@ -29,6 +23,8 @@
|
|||||||
gnupg
|
gnupg
|
||||||
gh
|
gh
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
nixd
|
||||||
|
nil
|
||||||
wget
|
wget
|
||||||
fastfetch
|
fastfetch
|
||||||
_1password-cli
|
_1password-cli
|
||||||
@@ -112,6 +108,5 @@
|
|||||||
cmatrix
|
cmatrix
|
||||||
figlet
|
figlet
|
||||||
lolcat
|
lolcat
|
||||||
]
|
];
|
||||||
++ (with pkgs-unstable; [ ]);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,4 +99,4 @@ useDownloadLimit=0
|
|||||||
useUploadLimit=0
|
useUploadLimit=0
|
||||||
|
|
||||||
[Settings]
|
[Settings]
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\x4\xe\0\0\x2\xa4\0\0\x6\x98\0\0\0\0\0\0\x4\xe\0\0\x2\xa4\0\0\x6\x98\0\0\0\x1\0\0\0\0\x14\0\0\0\0\0\0\0\x4\xe\0\0\x2\xa4\0\0\x6\x98)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\b\0\0\0\0\0\0\0\n\xa4\0\0\x2\x8a\0\0\b\0\0\0\0\0\0\0\n\xa4\0\0\x2\x8a\0\0\0\x1\0\0\0\0\x11\x64\0\0\b\0\0\0\0\0\0\0\n\xa4\0\0\x2\x8a)
|
||||||
|
|||||||
6
setup.sh
6
setup.sh
@@ -403,10 +403,10 @@ check_compatibility() {
|
|||||||
check_command_availibility "dnf"
|
check_command_availibility "dnf"
|
||||||
;;
|
;;
|
||||||
Ubuntu)
|
Ubuntu)
|
||||||
# Check if we are running either 22.04, 24.04 or 24.10
|
# Check if we are running either 22.04, 24.04, 24.10 or 25.04
|
||||||
if ! grep -q "Ubuntu 22.04" /etc/os-release && ! grep -q "Ubuntu 24.04" /etc/os-release && ! grep -q "Ubuntu 24.10" /etc/os-release; then
|
if ! grep -q "Ubuntu 22.04" /etc/os-release && ! grep -q "Ubuntu 24.04" /etc/os-release && ! grep -q "Ubuntu 24.10" /etc/os-release && ! grep -q "Ubuntu 25.04" /etc/os-release; then
|
||||||
log_warning "Unsupported Ubuntu version detected. Setup may not work as expected."
|
log_warning "Unsupported Ubuntu version detected. Setup may not work as expected."
|
||||||
log_warning "Supported versions are: Ubuntu 22.04, 24.04, 24.10"
|
log_warning "Supported versions are: Ubuntu 22.04, 24.04, 24.10, 25.04"
|
||||||
fi
|
fi
|
||||||
log_success "Detected Ubuntu. Proceeding with setup..."
|
log_success "Detected Ubuntu. Proceeding with setup..."
|
||||||
check_command_availibility "apt"
|
check_command_availibility "apt"
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
"window.confirmSaveUntitledWorkspace": false,
|
"window.confirmSaveUntitledWorkspace": false,
|
||||||
"git.openRepositoryInParentFolders": "never",
|
"git.openRepositoryInParentFolders": "never",
|
||||||
"debug.toolBarLocation": "commandCenter",
|
"debug.toolBarLocation": "commandCenter",
|
||||||
"workbench.colorTheme": "One Dark Pro Darker",
|
"workbench.colorTheme": "Catppuccin Macchiato",
|
||||||
"ansible.lightspeed.enabled": false,
|
"ansible.lightspeed.enabled": false,
|
||||||
"ansible.lightspeed.suggestions.enabled": false,
|
"ansible.lightspeed.suggestions.enabled": false,
|
||||||
"docker.extension.enableComposeLanguageServer": false,
|
"docker.extension.enableComposeLanguageServer": false,
|
||||||
@@ -85,7 +85,6 @@
|
|||||||
"git show"
|
"git show"
|
||||||
],
|
],
|
||||||
"roo-cline.deniedCommands": [],
|
"roo-cline.deniedCommands": [],
|
||||||
"dart.flutterSdkPath": "/home/menno/.flutter/flutter",
|
|
||||||
"kilo-code.allowedCommands": [
|
"kilo-code.allowedCommands": [
|
||||||
"npm test",
|
"npm test",
|
||||||
"npm install",
|
"npm install",
|
||||||
@@ -96,5 +95,5 @@
|
|||||||
],
|
],
|
||||||
"kilo-code.deniedCommands": [],
|
"kilo-code.deniedCommands": [],
|
||||||
"github.copilot.nextEditSuggestions.enabled": true,
|
"github.copilot.nextEditSuggestions.enabled": true,
|
||||||
"workbench.iconTheme": "material-icon-theme"
|
"workbench.iconTheme": "vscode-icons"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user