mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
123
This commit is contained in:
+9
-1
@@ -11,7 +11,9 @@ let
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
device.type = "primary";
|
xlib.device = {
|
||||||
|
type = "primary";
|
||||||
|
};
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
with inputs;
|
with inputs;
|
||||||
@@ -28,6 +30,12 @@ let
|
|||||||
]
|
]
|
||||||
++ builtins.attrValues inputs.self.nixosModules.extra.self;
|
++ builtins.attrValues inputs.self.nixosModules.extra.self;
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
xlib = config.xlib;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"${config.xlib.dirs.therima-drive}" = {
|
"${config.xlib.dirs.therima-drive}" = {
|
||||||
device = "/dev/disk/by-uuid/C0A2DDEFA2DDEA44";
|
device = "/dev/disk/by-uuid/C0A2DDEFA2DDEA44";
|
||||||
|
|||||||
+12
-3
@@ -11,15 +11,24 @@ let
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
device.type = "primary";
|
xlib.device = {
|
||||||
|
type = "primary";
|
||||||
|
hostname = "lamet";
|
||||||
|
};
|
||||||
|
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
|
self.homeConfigurations.default.nixosModule
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
|
|
||||||
nixos-hardware.nixosModules.chuwi-minibook-x
|
nixos-hardware.nixosModules.chuwi-minibook-x
|
||||||
home-manager.nixosModules.home-manager # home-manager module
|
|
||||||
self.homeConfigurations.oqyude.nixosModule # home-manager configuration module
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
xlib = config.xlib;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hardware.intel-gpu-tools.enable = true;
|
hardware.intel-gpu-tools.enable = true;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ let
|
|||||||
# self.homeConfigurations.root.nixosModule
|
# self.homeConfigurations.root.nixosModule
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
xlib = config.xlib;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ./secrets/example.yaml;
|
defaultSopsFile = ./secrets/example.yaml;
|
||||||
age.keyFile = "/var/lib/sops-nix/key.txt";
|
age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||||
|
|||||||
Reference in New Issue
Block a user