Compare commits
8 Commits
6b5ac0c370
...
1cba6c968a
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cba6c968a | |||
| 8ae482d846 | |||
| 8c3e762a46 | |||
| 43832361ea | |||
| 166d904735 | |||
| 67d0733bbd | |||
| ae55782bf2 | |||
| e10923f74d |
@@ -136,7 +136,7 @@ map f5 goto_tab 5
|
|||||||
map f6 goto_tab 6
|
map f6 goto_tab 6
|
||||||
map f7 goto_tab 7
|
map f7 goto_tab 7
|
||||||
map f8 goto_tab 8
|
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 cmd+t
|
||||||
map kitty_mod+q
|
map kitty_mod+q
|
||||||
map cmd+w
|
map cmd+w
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
};
|
};
|
||||||
nixos-hardware = {
|
nixos-hardware = {
|
||||||
url = "github:NixOS/nixos-hardware/master";
|
url = "github:NixOS/nixos-hardware/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
};
|
||||||
disko = {
|
disko = {
|
||||||
url = "github:nix-community/disko/latest";
|
url = "github:nix-community/disko/latest";
|
||||||
|
|||||||
@@ -10,13 +10,14 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
# ../../modules/dconf.nix # TODO: Only enable when on Gnome?
|
||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
../../modules/k9s.nix
|
../../modules/k9s.nix
|
||||||
(import ../../modules/taskwarrior.nix {
|
(import ../../modules/taskwarrior.nix {
|
||||||
inherit config;
|
inherit config;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
})
|
})
|
||||||
|
(import ../../modules/keepassxc.nix { inherit pkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
@@ -54,7 +55,6 @@ in
|
|||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
keepassxc = import ../../modules/keepassxc.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = import ./packages.nix {
|
home.packages = import ./packages.nix {
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ with pkgs;
|
|||||||
pass
|
pass
|
||||||
pnpm
|
pnpm
|
||||||
ripgrep
|
ripgrep
|
||||||
|
signal-desktop
|
||||||
silver-searcher
|
silver-searcher
|
||||||
sops
|
sops
|
||||||
sshfs
|
sshfs
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ in
|
|||||||
../../modules/dconf.nix
|
../../modules/dconf.nix
|
||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
../../modules/k9s.nix
|
../../modules/k9s.nix
|
||||||
|
(import ../../modules/keepassxc.nix { inherit pkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@@ -34,7 +35,6 @@ in
|
|||||||
inherit config;
|
inherit config;
|
||||||
};
|
};
|
||||||
gh.enable = true;
|
gh.enable = true;
|
||||||
keepassxc = import ../../modules/keepassxc.nix;
|
|
||||||
kubecolor.enable = true;
|
kubecolor.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
enable = true;
|
programs.keepassxc = {
|
||||||
# TODO: https://mynixos.com/home-manager/option/programs.keepassxc.settings
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
Browser.Enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# programs.firefox.nativeMessagingHosts = [ pkgs.keepassxc ]; # FIXME: Resolve 'Access error for config file /home/h/.config/keepassxc/keepassxc.ini' error
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,12 +17,12 @@ in
|
|||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
./hard.nix
|
./hard.nix
|
||||||
../../modules/bootloader.nix
|
../../modules/bootloader.nix
|
||||||
(import ../../modules/disko.zfs-encrypted-root.nix {
|
(import ../../modules/disko/zfs-encrypted-root.nix {
|
||||||
device = "/dev/nvme1n1";
|
device = "/dev/nvme1n1";
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit config;
|
inherit config;
|
||||||
})
|
})
|
||||||
../../modules/gnome.nix
|
../../modules/desktops/niri.nix
|
||||||
../../modules/bluetooth.nix
|
../../modules/bluetooth.nix
|
||||||
../../modules/keyboard
|
../../modules/keyboard
|
||||||
(import ../../modules/networking.nix { hostName = "andromache"; })
|
(import ../../modules/networking.nix { hostName = "andromache"; })
|
||||||
@@ -104,16 +104,18 @@ in
|
|||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
folders = {
|
settings = {
|
||||||
"/home/${username}/sync" = {
|
devices = {
|
||||||
id = "sync";
|
# "device1" = {
|
||||||
devices = [ ];
|
# id = "DEVICE-ID-GOES-HERE";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
"/home/${username}/sync" = {
|
||||||
|
id = "sync";
|
||||||
|
devices = [ ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
devices = {
|
|
||||||
# "device1" = {
|
|
||||||
# id = "DEVICE-ID-GOES-HERE";
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@ in
|
|||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
./hard.nix
|
./hard.nix
|
||||||
../../modules/bootloader.nix
|
../../modules/bootloader.nix
|
||||||
(import ../../modules/disko.zfs-encrypted-root.nix {
|
(import ../../modules/disko/zfs-encrypted-root.nix {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit config;
|
inherit config;
|
||||||
device = "/dev/nvme0n1";
|
device = "/dev/nvme0n1";
|
||||||
})
|
})
|
||||||
../../modules/gnome.nix
|
../../modules/desktops/niri.nix
|
||||||
../../modules/bluetooth.nix
|
../../modules/bluetooth.nix
|
||||||
../../modules/keyboard
|
../../modules/keyboard
|
||||||
(import ../../modules/networking.nix { hostName = hostName; })
|
(import ../../modules/networking.nix { hostName = hostName; })
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
{
|
{
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
Experimental = true;
|
||||||
|
FastConnectable = true;
|
||||||
|
};
|
||||||
|
Policy = {
|
||||||
|
AutoEnable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
7
modules/desktops/niri.nix
Normal file
7
modules/desktops/niri.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.niri.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ wlsunset ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user