Possible fix for source not found issue
This commit is contained in:
parent
34c8e866f4
commit
2b83831179
4 changed files with 39 additions and 25 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -99,11 +99,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1669749637,
|
"lastModified": 1669758617,
|
||||||
"narHash": "sha256-QAJt9dov1gJTNFaWbEwaHV1IDtVrsM18E7LsLsvsHIA=",
|
"narHash": "sha256-aOucvlsBl2c6YXXw+byes7kLUILBbFp2/e3VSJYDs2U=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nur",
|
"repo": "nur",
|
||||||
"rev": "f7b4e636b872255bf3ea0712d93ce9dc934d4076",
|
"rev": "0517f9ff4814db2a25b994b089157e38b036af96",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -24,15 +24,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, nur, kmonad, nixpkgs-stable, home-manager-stable, ... }: {
|
outputs = inputs @ { nixpkgs, home-manager, nur, kmonad, nixpkgs-stable, home-manager-stable, ... }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
io = nixpkgs.lib.nixosSystem {
|
io = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/desktops/io.nix
|
./hosts/desktops/io.nix
|
||||||
kmonad.nixosModules.default
|
kmonad.nixosModules.default
|
||||||
{ nixpkgs.overlays = [ nur.overlay ]; }
|
{ nixpkgs.overlays = [ nur.overlay ]; }
|
||||||
# ( {...}: { nix.registry.nixpkgs.flake = nixpkgs; } )
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|
|
||||||
12
hosts/desktops/common/nix.nix
Normal file
12
hosts/desktops/common/nix.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ inputs, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nix = {
|
||||||
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
nixPath = [
|
||||||
|
"nixpkgs=/etc/channels/nixpkgs"
|
||||||
|
"nixos-config=/etc/nixos/configuration.nix"
|
||||||
|
"/nix/var/nix/profiles/per-user/root/channels"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -5,30 +5,30 @@
|
||||||
# Host-specific imports
|
# Host-specific imports
|
||||||
./io/hardware-configuration.nix
|
./io/hardware-configuration.nix
|
||||||
# Host-common imports
|
# Host-common imports
|
||||||
../../common/networking.nix
|
../common/networking.nix
|
||||||
../../common/services.nix
|
|
||||||
../../common/packages.nix
|
|
||||||
../../common/locale.nix
|
|
||||||
../../common/users.nix
|
|
||||||
../../common/boot.nix
|
|
||||||
../../common/nix.nix
|
|
||||||
# Desktop-common imports
|
|
||||||
../common/virtualisation.nix
|
|
||||||
../common/hardware.nix
|
|
||||||
../common/services.nix
|
../common/services.nix
|
||||||
../common/packages.nix
|
../common/packages.nix
|
||||||
|
../common/locale.nix
|
||||||
../common/users.nix
|
../common/users.nix
|
||||||
../common/boot.nix
|
../common/boot.nix
|
||||||
|
../common/nix.nix
|
||||||
|
# Desktop-common imports
|
||||||
|
./common/virtualisation.nix
|
||||||
|
./common/hardware.nix
|
||||||
|
./common/services.nix
|
||||||
|
./common/packages.nix
|
||||||
|
./common/users.nix
|
||||||
|
./common/boot.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "io";
|
networking.hostName = "io";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
nix.nixPath = [ "nixos-config=/home/user/Projects/nix-config/hosts/desktops/io.nix" ];
|
||||||
gnome-network-displays
|
|
||||||
maliit-keyboard
|
zramSwap = {
|
||||||
rnote
|
enable = true;
|
||||||
write_stylus
|
memoryPercent = 100;
|
||||||
];
|
};
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"nosgx"
|
"nosgx"
|
||||||
|
|
@ -36,10 +36,12 @@
|
||||||
"mem_sleep_default=deep"
|
"mem_sleep_default=deep"
|
||||||
];
|
];
|
||||||
|
|
||||||
zramSwap = {
|
environment.systemPackages = with pkgs; [
|
||||||
enable = true;
|
gnome-network-displays
|
||||||
memoryPercent = 100;
|
maliit-keyboard
|
||||||
};
|
rnote
|
||||||
|
write_stylus
|
||||||
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
kmonad = {
|
kmonad = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue