hopefully the last complete restructure of this repo
This commit is contained in:
65
home-manager/flake.nix
Normal file
65
home-manager/flake.nix
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
description = "Nathan user settings";
|
||||
|
||||
inputs = {
|
||||
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
prgms.url = "./programs";
|
||||
|
||||
packages.url = "./packages";
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, ... }@inputs: {
|
||||
|
||||
homeManagerModule = { config, lib, pkgs, ... }: {
|
||||
|
||||
imports = [
|
||||
inputs.prgms.hmModule
|
||||
./services
|
||||
inputs.packages.hmModule
|
||||
# ./dotfiles
|
||||
./impermanence
|
||||
];
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.file = {
|
||||
".config/ags" = { source = ./dotfiles/ags; recursive = true; };
|
||||
".config/hypr" = { source = ./dotfiles/hypr; recursive = true; };
|
||||
".config/swaylock" = { source = ./dotfiles/swaylock; recursive = true; };
|
||||
".config/wal/templates" = { source = ./dotfiles/wal/templates; recursive = true; };
|
||||
".config/wayvnc" = { source = ./dotfiles/wayvnc; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./dotfiles/Wallpaper; recursive = true; };
|
||||
};
|
||||
home.username = "nathan";
|
||||
|
||||
home.homeDirectory = "/home/nathan";
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme.name = "Tokyonight-Dark-B";
|
||||
theme.package = pkgs.tokyonight-gtk-theme;
|
||||
iconTheme.name = "Tokyonight-Dark";
|
||||
};
|
||||
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
programs.ssh.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user