many changes
This commit is contained in:
1
hosts/nb-01.cloonar.com/channel
Normal file
1
hosts/nb-01.cloonar.com/channel
Normal file
@@ -0,0 +1 @@
|
||||
https://channels.nixos.org/nixos-24.05
|
||||
@@ -94,13 +94,6 @@ in {
|
||||
displayManager.sessionPackages = [ pkgs.sway ];
|
||||
displayManager.defaultSession = "sway";
|
||||
libinput.enable = true;
|
||||
desktopManager.gnome = {
|
||||
enable = true;
|
||||
extraGSettingsOverrides = ''
|
||||
[org.gnome.desktop.interface]
|
||||
gtk-theme='Dracula'
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
@@ -150,19 +143,6 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "dominik";
|
||||
ensurePermissions = {
|
||||
"DATABASE \"zammad\"" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
];
|
||||
ensureDatabases = [ "zammad" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "22.11"; # Did you read the comment?
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
cmp-treesitter
|
||||
cmp-vsnip
|
||||
comment-nvim
|
||||
copilot-vim
|
||||
copilot-lua
|
||||
copilot-cmp
|
||||
CopilotChat-nvim
|
||||
dracula-vim
|
||||
friendly-snippets
|
||||
gitsigns-nvim
|
||||
@@ -37,11 +41,11 @@
|
||||
nvim-colorizer-lua
|
||||
nvim-lspconfig
|
||||
nvim-tree-lua
|
||||
nvim-ts-rainbow
|
||||
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
||||
# (nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars))
|
||||
plenary-nvim
|
||||
project-nvim
|
||||
rainbow-delimiters-nvim
|
||||
telescope-fzf-native-nvim
|
||||
telescope-nvim
|
||||
todo-comments-nvim
|
||||
|
||||
@@ -308,6 +308,7 @@ exec dunst
|
||||
#exec --no-startup-id swaybg -c "#000000" -m fill -i ~/.config/wallpaper/wot.jpg
|
||||
# exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
||||
exec 'sleep 2; swaymsg workspace $ws8; swaymsg layout tabbed'
|
||||
exec mako --default-timeout=5000
|
||||
|
||||
# wallpaper
|
||||
output eDP-1 scale 1.5
|
||||
@@ -340,8 +341,8 @@ set $laptop_screen 'eDP-1'
|
||||
|
||||
# Clamshell mode or lock & sleep
|
||||
# This is a if/else statement: [ outputs_count == 1 ] && true || false
|
||||
bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
|
||||
#bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
|
||||
# bindswitch --locked lid:on exec '[ $(swaymsg -t get_outputs | grep name | wc -l) == 1 ] && ($sleep) || swaymsg output $laptop_screen disable'
|
||||
bindswitch --locked lid:on exec 'swaymsg output $laptop_screen disable'
|
||||
bindswitch --locked lid:off output $laptop_screen enable
|
||||
|
||||
# disable xwayland
|
||||
|
||||
@@ -18,6 +18,7 @@ let
|
||||
};
|
||||
|
||||
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig;
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
in {
|
||||
imports = [
|
||||
./social.nix
|
||||
@@ -40,16 +41,28 @@ in {
|
||||
hardware.sane.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = [ "dominik" ];
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
alsaUtils
|
||||
apache-directory-studio
|
||||
bitwarden
|
||||
bitwarden-cli
|
||||
rofi-rbw-wayland
|
||||
brave
|
||||
cryptomator
|
||||
dbeaver
|
||||
chromium
|
||||
|
||||
unstable.cura
|
||||
freecad
|
||||
openscad
|
||||
|
||||
dbeaver-bin
|
||||
dbus-sway-environment
|
||||
ddev
|
||||
dracula-theme
|
||||
firefox
|
||||
foot
|
||||
@@ -60,10 +73,14 @@ in {
|
||||
gnome.seahorse
|
||||
gnome3.adwaita-icon-theme
|
||||
grim
|
||||
hunspell
|
||||
hunspellDicts.de_DE
|
||||
hunspellDicts.en_US
|
||||
jmeter
|
||||
libreoffice
|
||||
librewolf
|
||||
mako
|
||||
mqttui
|
||||
networkmanagerapplet
|
||||
nextcloud-client
|
||||
onlyoffice-bin
|
||||
|
||||
Reference in New Issue
Block a user