mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
changed up
This commit is contained in:
parent
1d170da221
commit
6a06793716
3 changed files with 11 additions and 17 deletions
|
|
@ -22,10 +22,10 @@
|
|||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
config = import ./user.config.nix;
|
||||
|
||||
in
|
||||
{
|
||||
import = ./user.configs.nix;
|
||||
nixosConfigurations = {
|
||||
desktop = nixpkgs.lib.nixosSystem {
|
||||
inherit system pkgs;
|
||||
|
|
@ -56,6 +56,9 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
homeConfigurations = import ./src/system/machines/nix-less;
|
||||
homeConfigurations."bryan" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./src/system/machines/nix-less ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{ config, pkgs, home-manager, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ../../../user ];
|
||||
"${config.user.name}" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
};
|
||||
imports = [
|
||||
./home.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
homeDirectory = "/home/${config.user.name}";
|
||||
|
||||
file.".config/home-manager" = {
|
||||
source = ../../../../../nixos;
|
||||
source = ../../../..;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.bash.shellAliases = {
|
||||
nixup = "home-manager switch";
|
||||
nixup = "home-manager switch --flake";
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
@ -26,11 +26,6 @@
|
|||
auto-optimise-store = true;
|
||||
trusted-users = [ "${config.user.name}" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
modules = {
|
||||
user = {
|
||||
|
|
@ -42,8 +37,6 @@
|
|||
alacritty.enable = true;
|
||||
browsers.enable = true;
|
||||
neovim.enable = true;
|
||||
|
||||
|
||||
};
|
||||
utils = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue