This commit is contained in:
Michael Thomson 2024-05-17 12:03:33 -04:00
parent acff553975
commit 327eb04d7c
5 changed files with 30 additions and 1 deletions

17
flake.lock generated
View File

@ -40,6 +40,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1715881912,
"narHash": "sha256-e4LJk5uV1wvrRkffGFZekPWvFUx29NnnOahBlLaq8Ek=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "ff1be1e3cdf884df0935ab28745ab13c3c26d828",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1715534503,
@ -60,6 +76,7 @@
"inputs": {
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
}

View File

@ -11,9 +11,10 @@
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = inputs@{ self, nixpkgs, home-manager, nix-darwin, ... }: {
outputs = inputs@{ self, nixpkgs, home-manager, nix-darwin, nixos-hardware, ... }: {
nixosConfigurations = {
desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";

View File

@ -9,6 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220
../../modules/nixos/user.nix
../../modules/nixos/i3.nix
../../modules/nixos/nm.nix

View File

@ -11,6 +11,7 @@
../../modules/home-manager/tmux
../../modules/home-manager/taskwarrior
../../modules/home-manager/zoxide
../../modules/home-manager/zathura
../../modules/home-manager/eza
../../modules/home-manager/bat
];

View File

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