xdd
This commit is contained in:
parent
d0c832e426
commit
574222c251
35
flake.lock
generated
35
flake.lock
generated
@ -735,6 +735,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1647297614,
|
||||||
|
"narHash": "sha256-ulGq3W5XsrBMU/u5k9d4oPy65pQTkunR4HKKtTq0RwY=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nmd": {
|
"nmd": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -3630,12 +3646,31 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rocm": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1687959333,
|
||||||
|
"narHash": "sha256-NqM5vMtpznX/Ws4Ca7LDFKFSX6srFd82aaFIZXwssg4=",
|
||||||
|
"owner": "nixos-rocm",
|
||||||
|
"repo": "nixos-rocm",
|
||||||
|
"rev": "242305cac651e136928ddae922a4edec723ddf59",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos-rocm",
|
||||||
|
"repo": "nixos-rocm",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nvf": "nvf",
|
"nvf": "nvf",
|
||||||
|
"rocm": "rocm",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
16
flake.nix
16
flake.nix
@ -20,14 +20,12 @@
|
|||||||
url = "github:danth/stylix"; # stylix follows unstable automatically
|
url = "github:danth/stylix"; # stylix follows unstable automatically
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
rocm = {
|
||||||
|
url = "github:nixos-rocm/nixos-rocm";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {nixpkgs, ...} @ inputs: let
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
home-manager,
|
|
||||||
...
|
|
||||||
} @ inputs: let
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
@ -39,7 +37,7 @@
|
|||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
shibazaki = nixpkgs.lib.nixosSystem {
|
shibazaki = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs pkgs;
|
inherit inputs pkgs;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
@ -52,7 +50,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
twelve = nixpkgs.lib.nixosSystem {
|
twelve = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs pkgs;
|
inherit inputs pkgs;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
@ -65,7 +63,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
nine = nixpkgs.lib.nixosSystem {
|
nine = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs pkgs;
|
inherit inputs pkgs;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
|||||||
@ -8,5 +8,10 @@
|
|||||||
vulkan-validation-layers
|
vulkan-validation-layers
|
||||||
mesa
|
mesa
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
clinfo
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
rocmPackages.clr.icd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = {
|
||||||
@ -19,6 +19,11 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.initrd.kernelModules = ["amdgpu"];
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
rocmPackages.clr
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user