mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
first commit from desktop
This commit is contained in:
Generated
-13
@@ -203,18 +203,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-local": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1780728942,
|
|
||||||
"narHash": "sha256-NjXPlIssFzJ8vazKaihsW773r/Kq2TTby7FKBlbWIg4=",
|
|
||||||
"path": "/home/tomasr/devel/fugit2-gpgme",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"path": "/home/tomasr/devel/fugit2-gpgme",
|
|
||||||
"type": "path"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-notifier": {
|
"nixpkgs-notifier": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": [
|
"flake-utils": [
|
||||||
@@ -325,7 +313,6 @@
|
|||||||
"microPlugins-vivify": "microPlugins-vivify",
|
"microPlugins-vivify": "microPlugins-vivify",
|
||||||
"nixos-grub-themes": "nixos-grub-themes",
|
"nixos-grub-themes": "nixos-grub-themes",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-local": "nixpkgs-local",
|
|
||||||
"nixpkgs-notifier": "nixpkgs-notifier",
|
"nixpkgs-notifier": "nixpkgs-notifier",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"notewrapper": "notewrapper"
|
"notewrapper": "notewrapper"
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ _: {
|
|||||||
flake.homeModules.git = _: {
|
flake.homeModules.git = _: {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
/*settings = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};*/
|
||||||
};
|
};
|
||||||
programs.gh = {
|
programs.gh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -33,4 +33,49 @@ _: {
|
|||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
};
|
};
|
||||||
|
flake.nixosModules.hardware-configuration-desktop = # Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
|
||||||
|
fsType = "btrfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nix" =
|
||||||
|
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=nix" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/BAB4-34F6";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/ce6f9a68-0517-4f8a-b375-66f2173efe59"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
documentation
|
documentation
|
||||||
disk # this only installs some disk utilities. disko will format the drives
|
disk # this only installs some disk utilities. disko will format the drives
|
||||||
fonts
|
fonts
|
||||||
#hardware-configuration-desktop
|
hardware-configuration-desktop
|
||||||
hyprland
|
hyprland
|
||||||
IO
|
IO
|
||||||
#kdrive-desktop # we will setup this later
|
#kdrive-desktop # we will setup this later
|
||||||
@@ -54,7 +54,6 @@
|
|||||||
development
|
development
|
||||||
eza
|
eza
|
||||||
fastfetch
|
fastfetch
|
||||||
git
|
|
||||||
gtk
|
gtk
|
||||||
hyprland
|
hyprland
|
||||||
hyprland-desktop
|
hyprland-desktop
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
gnumake
|
gnumake
|
||||||
go
|
go
|
||||||
direnv
|
direnv
|
||||||
|
git gh
|
||||||
cling # c interpreter used for coding
|
cling # c interpreter used for coding
|
||||||
# lsp
|
# lsp
|
||||||
clang-tools
|
clang-tools
|
||||||
|
|||||||
Reference in New Issue
Block a user