Compare commits

..

8 Commits

13 changed files with 49 additions and 21 deletions

View File

@@ -136,7 +136,7 @@ map f5 goto_tab 5
map f6 goto_tab 6
map f7 goto_tab 7
map f8 goto_tab 8
map kitty_mod+c new_tab
# map kitty_mod+c new_tab # FIXME: conflict with 'copy'
map cmd+t
map kitty_mod+q
map cmd+w

View File

@@ -5,7 +5,6 @@
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko/latest";

View File

@@ -10,13 +10,14 @@ let
in
{
imports = [
../../modules/dconf.nix # TODO: Only enable when on Gnome?
# ../../modules/dconf.nix # TODO: Only enable when on Gnome?
../../modules/git.nix
../../modules/k9s.nix
(import ../../modules/taskwarrior.nix {
inherit config;
inherit pkgs;
})
(import ../../modules/keepassxc.nix { inherit pkgs; })
];
home.stateVersion = "25.05";
@@ -54,7 +55,6 @@ in
enableBashIntegration = true;
};
home-manager.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
};
home.packages = import ./packages.nix {

View File

@@ -29,6 +29,7 @@ with pkgs;
pass
pnpm
ripgrep
signal-desktop
silver-searcher
sops
sshfs

View File

@@ -13,6 +13,7 @@ in
../../modules/dconf.nix
../../modules/git.nix
../../modules/k9s.nix
(import ../../modules/keepassxc.nix { inherit pkgs; })
];
nixpkgs.config.allowUnfree = true;
@@ -34,7 +35,6 @@ in
inherit config;
};
gh.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
kubecolor.enable = true;
};

View File

@@ -1,4 +1,11 @@
{ pkgs, ... }:
{
programs.keepassxc = {
enable = true;
# TODO: https://mynixos.com/home-manager/option/programs.keepassxc.settings
settings = {
Browser.Enabled = true;
};
};
# programs.firefox.nativeMessagingHosts = [ pkgs.keepassxc ]; # FIXME: Resolve 'Access error for config file /home/h/.config/keepassxc/keepassxc.ini' error
}

View File

@@ -17,12 +17,12 @@ in
inputs.home-manager.nixosModules.default
./hard.nix
../../modules/bootloader.nix
(import ../../modules/disko.zfs-encrypted-root.nix {
(import ../../modules/disko/zfs-encrypted-root.nix {
device = "/dev/nvme1n1";
inherit lib;
inherit config;
})
../../modules/gnome.nix
../../modules/desktops/niri.nix
../../modules/bluetooth.nix
../../modules/keyboard
(import ../../modules/networking.nix { hostName = "andromache"; })
@@ -104,16 +104,18 @@ in
services.syncthing = {
enable = true;
openDefaultPorts = true;
settings = {
devices = {
# "device1" = {
# id = "DEVICE-ID-GOES-HERE";
# };
};
folders = {
"/home/${username}/sync" = {
id = "sync";
devices = [ ];
};
};
devices = {
# "device1" = {
# id = "DEVICE-ID-GOES-HERE";
# };
};
};

View File

@@ -19,12 +19,12 @@ in
inputs.home-manager.nixosModules.default
./hard.nix
../../modules/bootloader.nix
(import ../../modules/disko.zfs-encrypted-root.nix {
(import ../../modules/disko/zfs-encrypted-root.nix {
inherit lib;
inherit config;
device = "/dev/nvme0n1";
})
../../modules/gnome.nix
../../modules/desktops/niri.nix
../../modules/bluetooth.nix
../../modules/keyboard
(import ../../modules/networking.nix { hostName = hostName; })

View File

@@ -1,3 +1,15 @@
{
hardware.bluetooth.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
FastConnectable = true;
};
Policy = {
AutoEnable = true;
};
};
};
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
programs.niri.enable = true;
environment.systemPackages = with pkgs; [ wlsunset ];
}