sisko: Various fixes. Add amalieem.

This commit is contained in:
Felix Albrigtsen 2024-12-31 12:43:46 +01:00
parent e1a252c5ee
commit 049d3d82c6
5 changed files with 60 additions and 2 deletions

View File

@ -69,7 +69,9 @@
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users."felixalb" = import ./hosts/${name}/home.nix; home-manager.users = {
"felixalb" = import ./hosts/${name}/home.nix;
} // config.home-manager-users or { };
} }
] ++ config.modules or [ ]; ] ++ config.modules or [ ];
}; };
@ -104,7 +106,9 @@
malcolm = normalSys "malcolm" { }; malcolm = normalSys "malcolm" { };
# Home desktop # Home desktop
sisko = normalSys "sisko" { }; sisko = normalSys "sisko" {
home-manager-users."amalieem" = import ./home/amalieem;
};
}; };
# Daily driver macbook # Daily driver macbook

44
home/amalieem/default.nix Normal file
View File

@ -0,0 +1,44 @@
{ pkgs, lib, ... }:
{
imports = [
./../alacritty.nix
];
home = {
packages = with pkgs; [
papers
kitty
pavucontrol
# Window Manager Extras
bibata-cursors
hyprcursor
hypridle
hyprlock
hyprpaper
hyprshot
nautilus
networkmanager
swaynotificationcenter
waybar
wl-clipboard
];
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
};
programs = {
alacritty = {
enable = true;
settings.window.opacity = 0.92;
};
firefox.enable = true;
neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ];
wofi.enable = true;
};
home.stateVersion = "24.11";
}

View File

@ -106,6 +106,8 @@ in {
autocmd VimEnter * wincmd p " Unselect nerdtree window autocmd VimEnter * wincmd p " Unselect nerdtree window
endif endif
autocmd Filetype go setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
" List and switch buffers on Ctrl+k " List and switch buffers on Ctrl+k
" nnoremap <C-k> :set nomore <Bar> :ls <Bar> :set more <CR>:b<Space> " nnoremap <C-k> :set nomore <Bar> :ls <Bar> :set more <CR>:b<Space>
nnoremap <silent> <C-k> !echo "Did you mean C-a?"<CR> nnoremap <silent> <C-k> !echo "Did you mean C-a?"<CR>

View File

@ -33,6 +33,11 @@
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
}; };
users.users."amalieem" = {
isNormalUser = true;
home = "/home/amalieem";
};
nixpkgs.config = { nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"copilot.vim" "copilot.vim"

View File

@ -21,6 +21,7 @@
prismlauncher prismlauncher
swayimg swayimg
spotify spotify
thunderbird
# Window Manager Extras # Window Manager Extras
bibata-cursors bibata-cursors
@ -43,6 +44,7 @@
catimg catimg
dante dante
dig dig
go
hunspellDicts.en_US hunspellDicts.en_US
hunspellDicts.nb_NO hunspellDicts.nb_NO
jq jq
@ -112,6 +114,7 @@
"x-scheme-handler/about" = "firefox.desktop"; "x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop"; "x-scheme-handler/unknown" = "firefox.desktop";
"inode/directory" = "org.gnome.Nautilus.desktop";
"application/pdf" = "org.gnome.Papers.desktop"; "application/pdf" = "org.gnome.Papers.desktop";
} // builtins.listToAttrs ( } // builtins.listToAttrs (