Nettoyage et mise à jour
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ import-tree, ... }:
|
||||
{ pkgs, import-tree, ... }:
|
||||
{
|
||||
home-manager.users.alistreaza = {
|
||||
imports = [
|
||||
@@ -11,7 +11,9 @@
|
||||
homeDirectory = "/home/alistreaza";
|
||||
};
|
||||
|
||||
# Gnome
|
||||
home.xdg.enable = true;
|
||||
home.shells.gnome.enable = true;
|
||||
|
||||
# Shell apps
|
||||
home.shell.nh.enable = true;
|
||||
@@ -22,11 +24,19 @@
|
||||
# Code editor
|
||||
home.env.nix.enable = true;
|
||||
|
||||
# Terminal app
|
||||
# Terminal Apps
|
||||
home.ghostty.enable = true;
|
||||
|
||||
# Firefox app
|
||||
home.firefox.enable = true;
|
||||
home.firefox.privacy = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
zed-editor
|
||||
];
|
||||
|
||||
# The state version is required and should stay at the version you
|
||||
# originally installed.
|
||||
home.stateVersion = "25.11";
|
||||
home.stateVersion = "26.05";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,32 +1,45 @@
|
||||
# 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, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "uas" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/6002ba98-6ce8-49d5-a501-9c2500343b2a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/eb35b14e-3473-40f4-96ad-284204b9d615";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/E9B0-43BF";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/b442da0b-8a3e-4f05-b13f-aec8a89917be"; }
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/5D52-D5CA";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0022"
|
||||
"dmask=0022"
|
||||
];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
# System services
|
||||
@@ -30,15 +30,6 @@
|
||||
# Terminal
|
||||
programs.ssh.enableAskPassword = false; # No-window git push fix
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pods
|
||||
zed-editor
|
||||
];
|
||||
|
||||
services.flatpak.packages = [
|
||||
"io.github.flattool.Warehouse"
|
||||
];
|
||||
|
||||
# System version
|
||||
system.stateVersion = "25.11";
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user