Squashed commit of the following:
commit b56a956345dbe9cc152097b540436a74fee3a844
Author: langedev <public@daltonlange.com>
Date: Wed Feb 21 14:31:11 2024 -0800
Fix typo
commit 38aadf56730fb7d7a9ddbf704d024061c43983b3
Author: langedev <public@daltonlange.com>
Date: Wed Feb 21 14:24:49 2024 -0800
testing refactoring
This commit is contained in:
parent
a79d9a678d
commit
5f2b93e522
8 changed files with 89 additions and 40 deletions
48
flake.lock
generated
48
flake.lock
generated
|
|
@ -3,17 +3,18 @@
|
||||||
"hyprland": {
|
"hyprland": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
"hyprland-protocols": "hyprland-protocols",
|
||||||
|
"hyprlang": "hyprlang",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"systems": "systems",
|
"systems": "systems",
|
||||||
"wlroots": "wlroots",
|
"wlroots": "wlroots",
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708215223,
|
"lastModified": 1708543581,
|
||||||
"narHash": "sha256-5z+NPNoiWKoaz3M4LZJ2fP+N7Vl9XGwr4QAV8rh4l4o=",
|
"narHash": "sha256-wvhsh4J+Q9ED8oAWG+iz5uNOw70nagF+aeetlGpLkqs=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "683a4b07c514fa3c13cdf09e475283a69fcc7653",
|
"rev": "ea3fd13e24d7d3a74cf803bef3e6133b5d708d1b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -48,6 +49,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprlang": {
|
"hyprlang": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprland",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1708005943,
|
||||||
|
"narHash": "sha256-9TT3xk++LI5/SPYgjYX34xZ4ebR93c1uerIq+SE/ues=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprlang",
|
||||||
|
"rev": "aeb3e012adc7b3235335c540b214b82267c2b983",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprlang",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hyprlang_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
"hyprland",
|
||||||
|
|
@ -86,6 +108,21 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1708475490,
|
||||||
|
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"personalpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701902328,
|
"lastModified": 1701902328,
|
||||||
"narHash": "sha256-3tiiSEgQRPps0aV40belvLk1k4Max7oRh/+hZGLtfGc=",
|
"narHash": "sha256-3tiiSEgQRPps0aV40belvLk1k4Max7oRh/+hZGLtfGc=",
|
||||||
|
|
@ -104,7 +141,8 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"personalpkgs": "personalpkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
|
@ -147,7 +185,7 @@
|
||||||
"hyprland",
|
"hyprland",
|
||||||
"hyprland-protocols"
|
"hyprland-protocols"
|
||||||
],
|
],
|
||||||
"hyprlang": "hyprlang",
|
"hyprlang": "hyprlang_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
"hyprland",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
|
||||||
26
flake.nix
26
flake.nix
|
|
@ -1,16 +1,36 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:langedev/nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
|
personalpkgs.url = "github:langedev/nixpkgs/nixos-unstable";
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, hyprland, ... }: {
|
outputs = { self, nixpkgs, personalpkgs, hyprland, ... }:
|
||||||
|
# let
|
||||||
|
# personal-overlay = final: prev: {
|
||||||
|
# personal = personalpkgs.legacyPackages.${prev.system};
|
||||||
|
# };
|
||||||
|
# in {
|
||||||
|
{
|
||||||
nixosConfigurations.onizuka = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.onizuka = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
# ({ config, pkgs, ... }: { nixpkgs.overlays = [ personal-overlay ]; })
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
{ programs.hyprland.enable = true; }
|
{ programs.hyprland.enable = true; }
|
||||||
|
./systems/shared
|
||||||
|
./systems/onizuka
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixosConfigurations.jibril = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
# ({ config, pkgs, ... }: { nixpkgs.overlays = [ personal-overlay ]; })
|
||||||
|
hyprland.nixosModules.default
|
||||||
|
{ programs.hyprland.enable = true; }
|
||||||
|
./systems/shared
|
||||||
|
./systems/jibril
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
11
laptop.nix
11
laptop.nix
|
|
@ -1,11 +0,0 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
networking.hostName = "jibril";
|
|
||||||
imports = [
|
|
||||||
./hardware/laptop.nix
|
|
||||||
|
|
||||||
./modules/network/networking
|
|
||||||
./modules/network/bluetooth
|
|
||||||
];
|
|
||||||
}
|
|
||||||
11
systems/jibril/default.nix
Normal file
11
systems/jibril/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
networking.hostName = "jibril";
|
||||||
|
imports = [
|
||||||
|
./hardware.nix
|
||||||
|
|
||||||
|
../../modules/network/bluetooth
|
||||||
|
../../modules/network/networking
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -3,8 +3,7 @@
|
||||||
{
|
{
|
||||||
networking.hostName = "onizuka";
|
networking.hostName = "onizuka";
|
||||||
imports = [
|
imports = [
|
||||||
./hardware/desktop.nix
|
./hardware.nix
|
||||||
|
../../modules/graphics/nvidia
|
||||||
./modules/graphics/nvidia
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
@ -3,32 +3,24 @@
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
let
|
|
||||||
#systemType = "laptop";
|
|
||||||
systemType = "desktop";
|
|
||||||
in {
|
|
||||||
nix.package = pkgs.nixUnstable;
|
nix.package = pkgs.nixUnstable;
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
# Hardware Specific Configuration
|
|
||||||
./${systemType}.nix
|
|
||||||
|
|
||||||
# System essentials (boot, lang, hostname, ...)
|
# System essentials (boot, lang, hostname, ...)
|
||||||
./modules/system
|
../../modules/system
|
||||||
|
|
||||||
./modules/user
|
../../modules/user
|
||||||
|
|
||||||
./modules/themeing
|
../../modules/themeing
|
||||||
|
|
||||||
./modules/audio/pipewire
|
../../modules/audio/pipewire
|
||||||
|
|
||||||
#./modules/shell/fish
|
../../modules/shell/xonsh
|
||||||
./modules/shell/xonsh
|
../../modules/network/browsers/librewolf
|
||||||
./modules/network/browsers/librewolf
|
../../modules/network/syncthing
|
||||||
./modules/network/syncthing
|
|
||||||
|
|
||||||
./modules/login/greetd
|
../../modules/login/greetd
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue