no home-managing for servers

This commit is contained in:
Adithya 2023-05-27 19:55:24 +05:30
parent a1aa950daf
commit 3cc4888ec1
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
46 changed files with 30 additions and 53 deletions

View file

@ -64,8 +64,7 @@
imports = [
impermanence.nixosModules.home-manager.impermanence
nixneovim.nixosModules.default
./home/common
./home/desktop
./home
];
};
};
@ -80,24 +79,8 @@
nixpkgs.hostPlatform = nixpkgs.lib.mkDefault "aarch64-linux";
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
home-manager.nixosModules.home-manager
./common
./hosts/rico2
{
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
users.${user.primary.userName} = {pkgs, ...}: {
imports = [
./home/common
./home/server
];
};
};
}
];
};
};

View file

@ -1,4 +0,0 @@
{...}: {
imports = [./programs ./services];
home.stateVersion = "23.05";
}

View file

@ -1,23 +0,0 @@
{pkgs, ...}: {
imports = [
./bat.nix
./btop.nix
./direnv.nix
./exa.nix
./git.nix
./starship.nix
./zsh.nix
];
home.packages = with pkgs; [
lazydocker
ripgrep
];
programs = {
fzf.enable = true;
lazygit.enable = true;
ssh.enable = true;
zoxide.enable = true;
};
}

View file

@ -1 +0,0 @@
{...}: {}

View file

@ -1,6 +1,11 @@
{pkgs, ...}: {
imports = [
./aria2.nix
./bat.nix
./btop.nix
./direnv.nix
./exa.nix
./git.nix
./files.nix
./firefox.nix
./github-cli.nix
@ -8,11 +13,15 @@
./kitty.nix
./mpv.nix
./neovim.nix
./starship.nix
./tmux.nix
./virt-manager.nix
./yt-dlp.nix
./zsh.nix
];
home.stateVersion = "23.05";
home.packages = with pkgs; [
_1password-gui
discord
@ -21,14 +30,23 @@
gnome.eog
gnome.gnome-system-monitor
gnome3.gnome-disk-utility
lazydocker
pavucontrol
ripgrep
spotify-tui
wl-clipboard
xdg-utils
# yubioath-flutter
yubioath-flutter
yubikey-manager
yubikey-manager-qt
yubikey-personalization
yubikey-personalization-gui
];
programs = {
fzf.enable = true;
lazygit.enable = true;
ssh.enable = true;
zoxide.enable = true;
};
}

View file

@ -1,5 +1,5 @@
{...}: let
user = (import ../../../secrets.nix).users;
user = (import ../../secrets.nix).users;
in {
programs.git = {
enable = true;

View file

@ -1,3 +0,0 @@
{...}: {
imports = [./programs ./services];
}

View file

@ -1 +0,0 @@
{...}: {}

View file

@ -1 +0,0 @@
{...}: {}

View file

@ -1,6 +1,7 @@
{...}: {
imports = [
./neovim.nix
./starship.nix
];
programs = {

View file

@ -0,0 +1,8 @@
{ ... }: {
programs.starship = {
enable = true;
settings = {
add_newline = false;
};
};
}