dregil: Update home-manager config
This commit is contained in:
parent
fcc7e04c7d
commit
43a6e0ef78
4 changed files with 48 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
result*
|
||||||
|
|
@ -19,6 +19,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# simplex-chat = {
|
||||||
|
# url = "github:simplex-chat/simplex-chat";
|
||||||
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
# };
|
||||||
|
|
||||||
# age for nix to store encrypted passwords conveniently
|
# age for nix to store encrypted passwords conveniently
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
|
|
@ -26,7 +31,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, home-manager, nixpkgs, agenix, snm, ... }@inputs: {
|
outputs = { home-manager, nixpkgs, agenix, snm, ... }@inputs: {
|
||||||
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
|
@ -50,5 +55,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations."dregil" = import ./hosts/dregil { inherit inputs; };
|
nixosConfigurations."dregil" = import ./hosts/dregil { inherit inputs; };
|
||||||
|
homeConfigurations = import ./outputs/homeConfigurations inputs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ in
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultFonts = true;
|
enableDefaultFonts = true;
|
||||||
fonts = with pkgs; [
|
fonts = with pkgs; [
|
||||||
|
corefonts
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
fira-code
|
fira-code
|
||||||
|
|
@ -110,7 +111,8 @@ in
|
||||||
uhk-agent
|
uhk-agent
|
||||||
|
|
||||||
# gaming support
|
# gaming support
|
||||||
bottles
|
lutris
|
||||||
|
#inputs.simplex-chat.packages."x86_64-linux"."exe:simplex-chat"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -123,6 +125,12 @@ in
|
||||||
nvidia-offload
|
nvidia-offload
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# adjust channels to nixpkgs used on this system via this flake
|
||||||
|
environment.etc."nix/inputs/nixpkgs".source = inputs.nixpkgs-unstable.outPath;
|
||||||
|
nix.nixPath = [
|
||||||
|
"nixpkgs=${inputs.nixpkgs-unstable}"
|
||||||
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
|
||||||
31
outputs/homeConfigurations/default.nix
Normal file
31
outputs/homeConfigurations/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
inputs: with inputs;
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs-unstable {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config.allowUnfree = true;
|
||||||
|
overlays = [];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"alex@dregil" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
home = {
|
||||||
|
username = "alex";
|
||||||
|
homeDirectory = "/home/alex";
|
||||||
|
stateVersion = "22.11";
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
lutris
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# do not show home-manager notifications
|
||||||
|
news.display = "silent";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue