forward
This commit is contained in:
parent
63c50cfa2a
commit
a83e3592b2
6 changed files with 52 additions and 49 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -23,11 +23,11 @@
|
|||
},
|
||||
"nix-flatpak": {
|
||||
"locked": {
|
||||
"lastModified": 1721549352,
|
||||
"narHash": "sha256-nlXJa8RSOX0kykrIYW33ukoHYq+FOSNztHLLgqKwOp8=",
|
||||
"lastModified": 1728416205,
|
||||
"narHash": "sha256-t30gsrwiBc2oBsd89DwdsVZuEbMT5ed81PYY57CIOJE=",
|
||||
"owner": "gmodena",
|
||||
"repo": "nix-flatpak",
|
||||
"rev": "dbce39ea8664820ba9037caaf1e2fad365ed6b4b",
|
||||
"rev": "d65dbf59900de4beaaaba8b42a15994f8433c1bc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1727437159,
|
||||
"narHash": "sha256-v4qLwEw5OmprgQZTT7KZMNU7JjXJzRypw8+Cw6++fWk=",
|
||||
"lastModified": 1728729581,
|
||||
"narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "d830ad47cc992b4a46b342bbc79694cbd0e980b2",
|
||||
"rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -54,11 +54,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1727264057,
|
||||
"narHash": "sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao=",
|
||||
"lastModified": 1728740863,
|
||||
"narHash": "sha256-u+rxA79a0lyhG+u+oPBRtTDtzz8kvkc9a6SWSt9ekVc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "759537f06e6999e141588ff1c9be7f3a5c060106",
|
||||
"rev": "a3f9ad65a0bf298ed5847629a57808b97e6e8077",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -70,11 +70,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1727348695,
|
||||
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
|
||||
"lastModified": 1728888510,
|
||||
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
|
||||
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
19
flake.nix
19
flake.nix
|
@ -46,6 +46,15 @@
|
|||
# This is a function that generates an attribute by calling a function you
|
||||
# pass to it, with each system as an argument
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
host_helper = hostname: {
|
||||
${hostname} = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./hosts/${hostname}/${hostname}.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
in {
|
||||
# Your custom packages
|
||||
# Accessible through 'nix build', 'nix shell', etc
|
||||
|
@ -65,15 +74,7 @@
|
|||
|
||||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
crocoite = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
# > Our main nixos configuration file <
|
||||
./hosts/crocoite.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
nixosConfigurations = host_helper "crocoite"; # // (host_helper example);
|
||||
|
||||
## Standalone home-manager configuration entrypoint
|
||||
## Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
|
|
|
@ -30,38 +30,38 @@
|
|||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
#nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
|
||||
../hardware-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
../modules/basic_system_config.nix
|
||||
../modules/networking.nix
|
||||
../modules/boot_theming.nix
|
||||
../../modules/basic_system_config.nix
|
||||
../../modules/networking.nix
|
||||
../../modules/boot_theming.nix
|
||||
|
||||
../modules/specific_hardware/scan_and_print.nix
|
||||
../modules/specific_hardware/fwupd.nix
|
||||
../modules/specific_hardware/bluetooth.nix
|
||||
../../modules/specific_hardware/scan_and_print.nix
|
||||
../../modules/specific_hardware/fwupd.nix
|
||||
../../modules/specific_hardware/bluetooth.nix
|
||||
|
||||
../modules/sec_auth/firejail.nix
|
||||
../modules/sec_auth/login-manager.nix
|
||||
../modules/sec_auth/users_and_permissions.nix
|
||||
../modules/sec_auth/ssh.nix
|
||||
../../modules/sec_auth/firejail.nix
|
||||
../../modules/sec_auth/login-manager.nix
|
||||
../../modules/sec_auth/users_and_permissions.nix
|
||||
../../modules/sec_auth/ssh.nix
|
||||
|
||||
../modules/software/software.nix
|
||||
../modules/software/virt.nix
|
||||
../modules/software/game.nix
|
||||
../modules/software/audio_video.nix
|
||||
../modules/software/obs-studio.nix
|
||||
../../modules/software/software.nix
|
||||
../../modules/software/virt.nix
|
||||
../../modules/software/game.nix
|
||||
../../modules/software/audio_video.nix
|
||||
../../modules/software/obs-studio.nix
|
||||
|
||||
../modules/wm_and_de/hyprland.nix
|
||||
../../modules/wm_and_de/hyprland.nix
|
||||
|
||||
../modules/pkg_mgrmnt/flatpak.nix
|
||||
../modules/pkg_mgrmnt/podman.nix
|
||||
../modules/pkg_mgrmnt/store_pkg_file.nix
|
||||
../../modules/pkg_mgrmnt/flatpak.nix
|
||||
../../modules/pkg_mgrmnt/podman.nix
|
||||
../../modules/pkg_mgrmnt/store_pkg_file.nix
|
||||
|
||||
../modules/software/nix-helper/index.nix
|
||||
../modules/software/nix-helper/doc.nix
|
||||
../modules/software/nix-helper/nix-ld.nix
|
||||
../../modules/software/nix-helper/index.nix
|
||||
../../modules/software/nix-helper/doc.nix
|
||||
../../modules/software/nix-helper/nix-ld.nix
|
||||
|
||||
../modules/software/browser/firefox.nix
|
||||
../modules/software/browser/brave.nix
|
||||
../../modules/software/browser/firefox.nix
|
||||
../../modules/software/browser/brave.nix
|
||||
];
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
# Enable sound with pipewire.
|
||||
# Enable sound with pipewire
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
|
@ -50,6 +50,7 @@
|
|||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
helvum
|
||||
qpwgraph
|
||||
easyeffects
|
||||
pwvucontrol
|
||||
lxqt.pavucontrol-qt
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
unstable_list = [inputs.nixpkgs-unstable.legacyPackages."x86_64-linux".neovim];
|
||||
unstable_list = [
|
||||
inputs.nixpkgs-unstable.legacyPackages."x86_64-linux".neovim
|
||||
];
|
||||
in {
|
||||
# also opens the TCP and UDP port from 1714 to 1764
|
||||
programs.kdeconnect.enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue