This commit is contained in:
Michael Thomson 2025-03-07 11:27:13 -05:00
parent 2f0a3767a7
commit 2e63f39697
19 changed files with 102 additions and 54 deletions

31
flake.lock generated
View File

@ -415,6 +415,36 @@
"type": "github" "type": "github"
} }
}, },
"hyprland-plugins": {
"inputs": {
"hyprland": [
"hyprland"
],
"nixpkgs": [
"hyprland-plugins",
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland-plugins",
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1738966025,
"narHash": "sha256-MzgrF0jKlTNnNS33D8PwI5z2MJ1Tzf5MQVf/oms2pdw=",
"owner": "hyprwm",
"repo": "hyprland-plugins",
"rev": "4f48dbe12f3cbbeb4d31c91c67b21edbc5b4b451",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-plugins",
"type": "github"
}
},
"hyprland-protocols": { "hyprland-protocols": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -981,6 +1011,7 @@
"ghostty": "ghostty", "ghostty": "ghostty",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-on-droid": "nix-on-droid", "nix-on-droid": "nix-on-droid",

View File

@ -18,6 +18,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
ghostty = { ghostty = {
url = "github:ghostty-org/ghostty"; url = "github:ghostty-org/ghostty";
}; };

View File

@ -17,7 +17,6 @@
../../modules/nixos/sound.nix ../../modules/nixos/sound.nix
../../modules/nixos/steam.nix ../../modules/nixos/steam.nix
../../modules/nixos/env.nix ../../modules/nixos/env.nix
../../modules/nixos/1password.nix
../../modules/nixos/docker.nix ../../modules/nixos/docker.nix
]; ];

View File

@ -5,60 +5,27 @@
}: { }: {
imports = [ imports = [
../../modules/home-manager/hyprland.nix ../../modules/home-manager/hyprland.nix
../../modules/home-manager/git ../../modules/home-manager/git.nix
../../modules/home-manager/nixvim ../../modules/home-manager/nixvim.nix
../../modules/home-manager/kitty ../../modules/home-manager/kitty.nix
../../modules/home-manager/zsh ../../modules/home-manager/zsh.nix
../../modules/home-manager/tmux ../../modules/home-manager/tmux.nix
../../modules/home-manager/taskwarrior ../../modules/home-manager/taskwarrior.nix
../../modules/home-manager/email ../../modules/home-manager/email.nix
../../modules/home-manager/syncthing.nix ../../modules/home-manager/syncthing.nix
../../modules/home-manager/bitwarden.nix ../../modules/home-manager/bitwarden.nix
../../modules/home-manager/kubernetes.nix ../../modules/home-manager/kubernetes.nix
../../modules/home-manager/nix-index.nix ../../modules/home-manager/nix-index.nix
../../modules/home-manager/bitwarden.nix ../../modules/home-manager/bitwarden.nix
../../modules/home-manager/network-manager-applet.nix ../../modules/home-manager/direnv.nix
../../modules/home-manager/pasystray.nix ../../modules/home-manager/jq.nix
../../modules/home-manager/lazygit.nix
../../modules/home-manager/man.nix
]; ];
home.username = "mthomson"; home.username = "mthomson";
home.homeDirectory = "/home/mthomson"; home.homeDirectory = "/home/mthomson";
home.stateVersion = "23.11"; home.stateVersion = "23.11";
home.sessionVariables = {
ZK_NOTEBOOK_DIR = "\${HOME}/zk";
};
programs = {
direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
jq = {
enable = true;
};
lazygit = {
enable = true;
};
man = {
enable = true;
};
tealdeer = {
enable = true;
settings.updates.auto_update = true;
};
helix = {
enable = true;
};
neovide = {
enable = true;
settings = {};
};
};
services.blueman-applet.enable = true;
services.dunst.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
firefox firefox
gcc gcc

View File

@ -4,16 +4,15 @@
... ...
}: { }: {
imports = [ imports = [
../../modules/home-manager/git ../../modules/home-manager/git.nix
../../modules/home-manager/nixvim ../../modules/home-manager/nixvim.nix
../../modules/home-manager/emacs ../../modules/home-manager/emacs
../../modules/home-manager/kitty ../../modules/home-manager/kitty.nix
../../modules/home-manager/zsh ../../modules/home-manager/zsh.nix
../../modules/home-manager/tmux ../../modules/home-manager/tmux.nix
../../modules/home-manager/email ../../modules/home-manager/email.nix
../../modules/home-manager/password-store ../../modules/home-manager/password-store
../../modules/home-manager/taskwarrior ../../modules/home-manager/taskwarrior.nix
#../../modules/home-manager/sketchybar
../../modules/home-manager/kubernetes.nix ../../modules/home-manager/kubernetes.nix
../../modules/home-manager/nix-index.nix ../../modules/home-manager/nix-index.nix
../../modules/home-manager/bitwarden.nix ../../modules/home-manager/bitwarden.nix

View File

@ -0,0 +1,13 @@
{
pkgs,
config,
...
}: {
programs = {
direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
};
}

View File

@ -7,6 +7,7 @@ inputs,
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
settings = { settings = {
monitor = [ monitor = [
"DP-1,1920x1080,0x0,1" "DP-1,1920x1080,0x0,1"

View File

@ -0,0 +1,11 @@
{
pkgs,
config,
...
}: {
programs = {
jq = {
enable = true;
};
};
}

View File

@ -0,0 +1,11 @@
{
pkgs,
config,
...
}: {
programs = {
lazygit = {
enable = true;
};
};
}

View File

@ -0,0 +1,11 @@
{
pkgs,
config,
...
}: {
programs = {
man = {
enable = true;
};
};
}

View File

@ -6,4 +6,5 @@
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
}; };
environment.sessionVariables.NIXOS_OZONE_WL = "1";
} }

View File

@ -3,7 +3,7 @@
config, config,
... ...
}: { }: {
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
}; };